HS.HC.Util.OIDMap

abstract class HS.HC.Util.OIDMap

Map OID to facility / endpoint

Method Inventory (Including Private)

Methods

classmethod GetCodeForOID(pOID As %String = "", pDefault As %String = pOID) as %String [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
Given a URL, return the Code if there is one row matching the URL
classmethod GetOIDForCode(pIdentityCode As %String = "", pDefault As %String = "") as %String [ Language = objectscript ]
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 [ Language = objectscript ]
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 [ Language = objectscript ]
either returns the entry for the IdentityCode or returns pDefault which is blank if a pDefault is not defined.

Subclasses

Feedback