Skip to main content

HS.FHIR.DTL.Util.API.Transform.FHIRToSDA3

class HS.FHIR.DTL.Util.API.Transform.FHIRToSDA3 extends %Library.RegisteredObject

Property Inventory

Method Inventory

Properties

property container as HS.SDA3.Container [ Calculated ];
All SDA objects this transformer instance creates will be stored here, unless Reset() is called.
Property methods: containerGet()
property fhirVersion as %String [ Calculated ];
Property methods: fhirVersionDisplayToLogical(), fhirVersionGet(), fhirVersionIsValid(), fhirVersionLogicalToDisplay(), fhirVersionLogicalToOdbc(), fhirVersionNormalize()
property object as HS.SDA3.SuperClass [ Calculated ];
The most recent SDA object this transformer instance created will be stored here, unless Reset() is called.
Property methods: objectGet()

Methods

Specifies the DTL class to use for a given FHIR object. A preferred DTL will be specified in subtransformations, but will not be specified for top level transformations. Default logic for top level transformations can be viewed in the FHIR annotations, under the Bundle:entry mappings. This can be overriden if different logic is desired. @API.Overrideable
method GetIdentifier(resourceType As %String, id As %String) as %String
Given a resource type and id, will return a unique (to this transformer) identifier that will be used for EncounterNumbers and in some cases ExternalId. @API.Overrideable
method Reset()
Resets this transformer object to its initial state. @API.Method
Transforms a FHIR resource into SDA. The FHIR resource can be either a Bundle or a Patient specific resource, but references will only be able to be honored when transforming a Bundle. Returns an instance of this class which has an "object" property containing the result of the most recent Transform and a "container" property containing the result of all Transforms using this transformer.
@API.Method @Argument source %DynamicObject containing a FHIR resource
classmethod TransformObject(source As %DynamicObject, fhirVersion As %String) as HS.FHIR.DTL.Util.API.Transform.FHIRToSDA3
ClassMethod which transforms a FHIR resource into SDA. The FHIR resource can be either a Bundle or a Patient specific resource, but references will only be able to be honored when transforming a Bundle. Returns an instance of this class which has an "object" property containing the result of the Transform.
@API.Method @Argument source %DynamicObject containing a FHIR resource @Argument fhirVersion Version of FHIR used by the resource, eg. "STU3", "R4"
classmethod TransformStream(stream As %Stream.Object, fhirVersion As %String, fhirFormat As %String) as HS.FHIR.DTL.Util.API.Transform.FHIRToSDA3
ClassMethod which transforms a FHIR resource stream into SDA. The FHIR resource can be either a Bundle or a Patient specific resource, but references will only be able to be honored when transforming a Bundle. Returns an instance of this class which has an "object" property containing the result of the Transform.
@API.Method @Argument stream %Stream representation of a FHIR resource @Argument fhirVersion Version of FHIR used by the resource, eg. "STU3", "R4"

Inherited Members

Inherited Methods

FeedbackOpens in a new tab