Skip to main content

HS.FHIR.DTL.Util.API.HC.Callback.Default.STU3ToSDA3

class HS.FHIR.DTL.Util.API.HC.Callback.Default.STU3ToSDA3 extends HS.FHIR.DTL.Util.API.HC.Callback.Abstract.STU3ToSDA3

Property Inventory

Method Inventory

Properties

property encounterNumber as %String;
Property methods: encounterNumberDisplayToLogical(), encounterNumberGet(), encounterNumberIsValid(), encounterNumberLogicalToDisplay(), encounterNumberLogicalToOdbc(), encounterNumberNormalize(), encounterNumberSet()
property externalId as %String [ MultiDimensional ];
Property methods: externalIdDisplayToLogical(), externalIdGet(), externalIdIsValid(), externalIdLogicalToDisplay(), externalIdLogicalToOdbc(), externalIdNormalize(), externalIdSet()

Methods

method AssignEncounterNumber() as %String
Increment for each unique Encounter, starting at 1. Values are saved in the encounterNumber class property.
method AssignExternalId(streamletType As %String) as %String
Increment for each unique streamlet, starting at 1. Values are saved in the externalId class property, indexed by streamletType.
method GetSendingFacility(bundle As HS.FHIR.DTL.vSTU3.Model.Resource.Bundle, ByRef aux) as %String
Use the code for the Patient managingOrganization if the reference exists and the Organization is in the Bundle. Otherwise, parse through the Patient identifiers looking for an MRN. If one can be found that has an assigner included in the bundle, use that assigner's code. If none can be found, the string "FHIR" will be used.
classmethod GetSendingFacilityFromReference(reference As HS.FHIR.DTL.vSTU3.Model.Base.Reference, currentResource As HS.FHIR.DTL.vSTU3.Model.Base.Resource, ByRef aux) as %String

Inherited Members

Inherited Methods

FeedbackOpens in a new tab