Skip to main content

HS.Message.Crawler.Patient

persistent class HS.Message.Crawler.Patient extends HS.Message.Crawler.AbstractDataTransport

SQL Table Name: HS_Message_Crawler.Patient

Over-the-wire and persistent class used by DSTIME crawler for HS.Registry.Patient.

Property Inventory

Method Inventory

Properties

property AssigningAuthority as %String);
Assigning Authority for the MRN
Property methods: AssigningAuthorityDisplayToLogical(), AssigningAuthorityGet(), AssigningAuthorityGetStored(), AssigningAuthorityIsValid(), AssigningAuthorityLogicalToDisplay(), AssigningAuthorityLogicalToOdbc(), AssigningAuthorityNormalize(), AssigningAuthoritySet()
property CreatedOn as %TimeStamp;
This is based on external input, coming from the patient's SDA CreatedOn
Property methods: CreatedOnDisplayToLogical(), CreatedOnGet(), CreatedOnGetStored(), CreatedOnIsValid(), CreatedOnLogicalToDisplay(), CreatedOnLogicalToXSD(), CreatedOnNormalize(), CreatedOnOdbcToLogical(), CreatedOnSet(), CreatedOnXSDToLogical()
property DSTIME as %Integer;
DSTIME from %SYSTEM.DSTIME
Property methods: DSTIMEDisplayToLogical(), DSTIMEGet(), DSTIMEGetStored(), DSTIMEIsValid(), DSTIMELogicalToDisplay(), DSTIMENormalize(), DSTIMESet(), DSTIMEXSDToLogical()
property EventDate as %String [ Calculated ];
Property methods: EventDateCompute(), EventDateDisplayToLogical(), EventDateGet(), EventDateIsValid(), EventDateLogicalToDisplay(), EventDateLogicalToOdbc(), EventDateNormalize(), EventDateSQLCompute()
property EventDateMonth as %Integer [ Calculated ];
Property methods: EventDateMonthCompute(), EventDateMonthDisplayToLogical(), EventDateMonthGet(), EventDateMonthIsValid(), EventDateMonthLogicalToDisplay(), EventDateMonthNormalize(), EventDateMonthSQLCompute(), EventDateMonthXSDToLogical()
property EventDateWeek as %Integer [ Calculated ];
Property methods: EventDateWeekCompute(), EventDateWeekDisplayToLogical(), EventDateWeekGet(), EventDateWeekIsValid(), EventDateWeekLogicalToDisplay(), EventDateWeekNormalize(), EventDateWeekSQLCompute(), EventDateWeekXSDToLogical()
property EventDateYear as %Integer [ Calculated ];
Property methods: EventDateYearCompute(), EventDateYearDisplayToLogical(), EventDateYearGet(), EventDateYearIsValid(), EventDateYearLogicalToDisplay(), EventDateYearNormalize(), EventDateYearSQLCompute(), EventDateYearXSDToLogical()
property FacilityCode as %String);
Facility for this patient
Property methods: FacilityCodeDisplayToLogical(), FacilityCodeGet(), FacilityCodeGetStored(), FacilityCodeIsValid(), FacilityCodeLogicalToDisplay(), FacilityCodeLogicalToOdbc(), FacilityCodeNormalize(), FacilityCodeSet()
property FacilityName as %String (MAXLEN = 256) [ Calculated ];
Calculated Value of Facility Name for query display
Property methods: FacilityNameCompute(), FacilityNameDisplayToLogical(), FacilityNameGet(), FacilityNameIsValid(), FacilityNameLogicalToDisplay(), FacilityNameLogicalToOdbc(), FacilityNameNormalize(), FacilityNameSQLCompute()
property FilingOp as %Integer;
FilingOp from %SYSTEM.DSTIME
Property methods: FilingOpDisplayToLogical(), FilingOpGet(), FilingOpGetStored(), FilingOpIsValid(), FilingOpLogicalToDisplay(), FilingOpNormalize(), FilingOpSet(), FilingOpXSDToLogical()
property MPIID as %String);
Master patient index identifier
Property methods: MPIIDDisplayToLogical(), MPIIDGet(), MPIIDGetStored(), MPIIDIsValid(), MPIIDLogicalToDisplay(), MPIIDLogicalToOdbc(), MPIIDNormalize(), MPIIDSet()
property MRN as %String);
This patient's MRN (from the above assigning authority)
Property methods: MRNDisplayToLogical(), MRNGet(), MRNGetStored(), MRNIsValid(), MRNLogicalToDisplay(), MRNLogicalToOdbc(), MRNNormalize(), MRNSet()
property ObjectId as %BigInt;
ObjectId from %SYSTEM.DSTIME
Property methods: ObjectIdDisplayToLogical(), ObjectIdGet(), ObjectIdGetStored(), ObjectIdIsValid(), ObjectIdLogicalToDisplay(), ObjectIdNormalize(), ObjectIdSet(), ObjectIdXSDToLogical()
property PatientID as %BigInt (MINVAL = 1) [ Required ];
Property methods: PatientIDDisplayToLogical(), PatientIDGet(), PatientIDGetStored(), PatientIDIsValid(), PatientIDLogicalToDisplay(), PatientIDNormalize(), PatientIDSet(), PatientIDXSDToLogical()

Methods

classmethod GetFacilityName(pFacilityCode As %String = "") as %String

Indexes

index ($Patient on ) [Extent, Type = bitmap];
index (CreatedOnIndex on CreatedOn);
Index methods: CreatedOnIndexExists()
index (FacilityCodeIndex on FacilityCode) [Type = bitmap];
index (IndexEventDate on EventDate);
Index methods: IndexEventDateExists(), IndexEventDateMonthExists(), IndexEventDateWeekExists(), IndexEventDateYearExists()
index (IndexEventDateMonth on EventDateMonth);
Index methods: IndexEventDateMonthExists()
index (IndexEventDateWeek on EventDateWeek);
Index methods: IndexEventDateWeekExists()
index (IndexEventDateYear on EventDateYear);
Index methods: IndexEventDateYearExists()
index (PatientIDIndex on PatientID) [IdKey, Type = key];
Index methods: PatientIDIndexCheck(), PatientIDIndexDelete(), PatientIDIndexExists(), PatientIDIndexOpen(), PatientIDIndexSQLCheckUnique(), PatientIDIndexSQLExists(), PatientIDIndexSQLFindPKeyByConstraint(), PatientIDIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (HS.Message.Crawler.Patient)

^HS.Message.Crawler.PatientD(ID)
=
%%CLASSNAME
MPIID
FacilityCode
AssigningAuthority
MRN
CreatedOn
FilingOp
DSTIME
ObjectId
FeedbackOpens in a new tab