HS.AssignAuth.IdentifierType
persistent class HS.AssignAuth.IdentifierType extends %Library.Persistent, HS.Sync.BaseClass, %Library.GlobalIdentifier
SQL Table Name: HS_AssignAuth.IdentifierType
Property Inventory
Parameters
parameter SYNCORDER = 150;
Properties
property Active as %Boolean [ InitialExpression = 1 ];
Property methods: ActiveDisplayToLogical(), ActiveGet(), ActiveGetStored(), ActiveIsValid(), ActiveLogicalToDisplay(), ActiveNormalize(), ActiveSet()
property ExactMatch as %Boolean [ InitialExpression = 0 ];
Whether to be use for a deterministic or probablistic search
Property methods: ExactMatchDisplayToLogical(), ExactMatchGet(), ExactMatchGetStored(), ExactMatchIsValid(), ExactMatchLogicalToDisplay(), ExactMatchNormalize(), ExactMatchSet()
property InSearchList as %Boolean [ InitialExpression = 0 ];
Controls whether the Identifier type appears in a list of identifiers in the Patient Search UI,
and if we're not operating in legacy identifier restrict mode, then also controls what additional
identifiers are allowed.
Property methods: InSearchListDisplayToLogical(), InSearchListGet(), InSearchListGetStored(), InSearchListIsValid(), InSearchListLogicalToDisplay(), InSearchListNormalize(), InSearchListSet()
property Name as %String;
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
property Type as %String [ Required ];
legacy list, no longer used
Property Type As %String(DISPLAYLIST = ",Driver's license number,Doctor number,License number,Medical record number,Patient internal identifier,Passport number,Patient external identifier,Subscriber Number,Social Security number,Organization identifier", VALUELIST = ",DL,DN,LN,MR,PI,PPN,PT,SN,SS,XX");
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()
Queries
query ListIdentifierTypes(pActiveOnly As %Boolean = 1)
SQL Query:
SELECT %Internal(ID) As ID,Name,Type,ExactMatch,InSearchList,Active FROM IdentifierType WHERE (Active = 1 OR :pActiveOnly = 0) ORDER BY Name
SELECT %Internal(ID) As ID,Name,Type,ExactMatch,InSearchList,Active FROM IdentifierType WHERE (Active = 1 OR :pActiveOnly = 0) ORDER BY Name
query ListTypesForSearch(pExactMatch As %Integer = -1)
SQL Query:
SELECT %Internal(ID) As ID,Name FROM IdentifierType WHERE Active = 1 AND InSearchList = 1 AND ((ExactMatch = :pExactMatch) OR (:pExactMatch= -1)) ORDER BY Name
SELECT %Internal(ID) As ID,Name FROM IdentifierType WHERE Active = 1 AND InSearchList = 1 AND ((ExactMatch = :pExactMatch) OR (:pExactMatch= -1)) ORDER BY Name
the default case is that we ignore ExactMatch, but we have kept it in the
query for backwards compatibility
Indexes
index (TypeIndex on Type) [IdKey, Type = key, Unique];
Index methods: TypeIndexCheck(), TypeIndexDelete(), TypeIndexExists(), TypeIndexOpen(), TypeIndexSQLCheckUnique(), TypeIndexSQLExists(), TypeIndexSQLFindPKeyByConstraint(), TypeIndexSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %OverrideGuidAssignment()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- GetGlobalInfo()
- GetSQLTableName()
- SyncTables()
Storage
Storage Model: Storage (HS.AssignAuth.IdentifierType)
^HS.AssignAuth.IdentifierTypeD(ID) |
= | %%CLASSNAME
Name
ExactMatch
Active
InSearchList
|