Skip to main content

HS.HC.Util.OIDMap

abstract class HS.HC.Util.OIDMap

Map OID to facility / endpoint

Method Inventory

Methods

classmethod GetCodeForOID(pOID As %String = "", pDefault As %String = pOID) as %String
Given an oid, return the Code if there is one row matching the oid
classmethod GetCodeForURI(pURI As %String = "", pDefault As %String = pURI) as %String
Given a URI, figure out whether it is a OID, URL, or UUID, and then lookup the Code, if applicable.
classmethod GetCodeForURL(pURL As %String = "", pDefault As %String = pURL) as %String
Given a URL, return the Code if there is one row matching the URL
classmethod GetOIDForCode(pIdentityCode As %String = "", pDefault As %String = "") as %String
either returns the entry for the IdentityCode or returns pDefault which is blank if a pDefault is not defined.
Use this method instead of OIDForType()
classmethod GetURIForCode(pIdentityCode As %String = "", pDefault As %String = "") as %String
returns the first found of URL, OID or the default. Default is blank if not defined.
classmethod GetURLForCode(pIdentityCode As %String = "", pDefault As %String = "") as %String
either returns the entry for the IdentityCode or returns pDefault which is blank if a pDefault is not defined.

Subclasses

FeedbackOpens in a new tab