Skip to main content


persistent class HS.Registry.Patient.OldHistory extends %Library.Persistent

SQL Table Name: HS_Registry_Patient.OldHistory

Record of a patient's old MRN history

Property Inventory

Method Inventory


property MRN as HS.HC.DataType.MRN [ Required ];
Old history MRN for current patient
Property methods: MRNDisplayToLogical(), MRNGet(), MRNIsValid(), MRNLogicalToDisplay(), MRNLogicalToOdbc(), MRNNormalize(), MRNSet()
property Streamlet as %String);
Streamlet of the MRN change record
Property methods: StreamletDisplayToLogical(), StreamletGet(), StreamletIsValid(), StreamletLogicalToDisplay(), StreamletLogicalToOdbc(), StreamletNormalize(), StreamletSet()
property Timestamp as %String (MAXLEN = 128) [ Required ];
Timestamp of the MRN change record
Property methods: TimestampDisplayToLogical(), TimestampGet(), TimestampIsValid(), TimestampLogicalToDisplay(), TimestampLogicalToOdbc(), TimestampNormalize(), TimestampSet()


classmethod DisableMRNHistory()
Disable write to ^HS.Registry.Patient.OldHistory
classmethod EnableMRNHistory()
Enable write to ^HS.Registry.Patient.OldHistory


index (IdKey on MRN,Timestamp) [IdKey, Type = key];
Index methods: IdKeyCheck(), IdKeyDelete(), IdKeyExists(), IdKeyOpen(), IdKeySQLCheckUnique(), IdKeySQLExists(), IdKeySQLFindPKeyByConstraint(), IdKeySQLFindRowIDByConstraint()

Inherited Members

Inherited Methods


Storage Model: SQLStorage

Maps: 1

  • Map number 1 is named Map1

    thismap.Global: ^HS.Registry.Patient.OldHistory

  • ^HS.Registry.Patient.OldHistory({MRN},{Timestamp})
    Node Delimiter Piece Name
    "^" 1 Streamlet
FeedbackOpens in a new tab