Skip to main content

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

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

Property Inventory

Method Inventory

Properties

property resourceHash as %String [ MultiDimensional ];
Property methods: resourceHashDisplayToLogical(), resourceHashGet(), resourceHashIsValid(), resourceHashLogicalToDisplay(), resourceHashLogicalToOdbc(), resourceHashNormalize(), resourceHashSet()
property resourceIds as %String [ MultiDimensional ];
Property methods: resourceIdsDisplayToLogical(), resourceIdsGet(), resourceIdsIsValid(), resourceIdsLogicalToDisplay(), resourceIdsLogicalToOdbc(), resourceIdsNormalize(), resourceIdsSet()

Methods

method AssignResourceId(resourceType As %String, identifier As %String = "") as %String
Ids will be assigned using a random UUID per FHIR convention when a temporary id is needed. If an additional identifier is passed in in identifier, the newly created id will be saved in the class property resourceIds so that a lookup can be done on that identifier in GetIdByIdentifier or GetPatientId
method GetIdByIdentifier(resourceType As %String, identifier As %String) as %String
Perform a lookup in the resourceIds object property, specifying resource type and identifier.
method GetPatientId() as %String
Perform a lookup in the resourceIds object property, specifying a resource type of "Patient" (there will be only one).
method GetURLPrefix() as %String
Default is no prefix
method IsDuplicate(resource As HS.FHIR.DTL.vSTU3.Model.Base.Resource, Output id As %String) as %Boolean
Check to see if the resource is a duplicate by hashing up to the first 32KB of the resource stream and searching for a direct match. Only then will the resources be marked as duplicates. This is also only applied to "shared" resources such as Organization, Practitioner, Medication, etc...

Inherited Members

Inherited Methods

FeedbackOpens in a new tab