Skip to main content

HS.FHIR.DTL.Util.API.HC.Transform

class HS.FHIR.DTL.Util.API.HC.Transform

Method Inventory

Methods

classmethod SDA3ToSTU3Helper(container, Output bundleObject As HS.FHIR.DTL.vSTU3.Model.Resource.Bundle, Output bundleStream As %Stream.Object, bundleType As %String, format As %String, callbackObject As HS.FHIR.DTL.Util.API.HC.Callback.Abstract.SDA3ToSTU3 = "", Output validationErrors As HS.Types.FHIR.Errors) as %Status
Common processing for the SDA3 to STU3 methods
classmethod SDA3ToSTU3Object(container, Output bundle As HS.FHIR.DTL.vSTU3.Model.Resource.Bundle, bundleType As %String, format As %String, callbackObject As HS.FHIR.DTL.Util.API.HC.Callback.Abstract.SDA3ToSTU3 = "", Output validationErrors As HS.Types.FHIR.Errors) as %Status
API Method Transform an HS.SDA3.Container object or stream into a STU3 Bundle object using the SDA3->STU3 transformations. container - Either a stream with an XML representation of a Container, or an object of type HS.SDA3.Container bundle - Output of the method. A Bundle stored in HS.FHIR.DTL.vSTU3.Model.Resource.Bundle format. bundleType - "transaction" or "batch". See https://www.hl7.org/fhir/http.html#transaction format - "json" or "xml" callbackObject - An instance of a callback class that extends HS.FHIR.DTL.Util.API.HC.Callback.Abstract.SDA3ToSTU3 that can be used to customize certain aspects of the transformation. Leaving this parameter blank will result in the default implementations being used. Documentation for available customizations can be found in the abstract class definition. validationErrors - List of any errors encountered when performing validation on the Bundle.
classmethod SDA3ToSTU3Stream(container, Output bundle As %Stream.Object, bundleType As %String, format As %String, callbackObject As HS.FHIR.DTL.Util.API.HC.Callback.Abstract.SDA3ToSTU3 = "", Output validationErrors As HS.Types.FHIR.Errors) as %Status
API Method Transform an HS.SDA3.Container object or stream into a STU3 Bundle stream using the SDA3->STU3 transformations. container - Either a stream with an XML representation of a Container, or an object of type HS.SDA3.Container bundle - Output of the method. A Bundle stored in a stream. bundleType - "transaction" or "batch". See https://www.hl7.org/fhir/http.html#transaction format - "json" or "xml". Note - json performance will always be better than xml. callbackObject - An instance of a callback class that extends HS.FHIR.DTL.Util.API.HC.Callback.Abstract.SDA3ToSTU3 that can be used to customize certain aspects of the transformation. Leaving this parameter blank will result in the default implementations being used. Documentation for available customizations can be found in the abstract class definition. validationErrors - List of any errors encountered when performing validation on the Bundle.
classmethod STU3ToSDA3Object(bundle, Output container As HS.SDA3.Container, callbackObject As HS.FHIR.DTL.Util.API.HC.Callback.Abstract.STU3ToSDA3 = "") as %Status
API Method Transform an Bundle object or stream into a Container object using the STU3->SDA3 transformations. bundle - Either a stream with a json or xml serialized representation of the bundle, or an object of type HS.FHIR.DTL.vSTU3.Model.Resource.Bundle container - Output of the method. A Container stored in an HS.SDA3.Container object. callbackObject - An instance of a callback class that extends HS.FHIR.DTL.Util.API.HC.Callback.Abstract.STU3ToSDA3 that can be used to customize certain aspects of the transformation. Leaving this parameter blank will result in the default implementations being used. Documentation for available customizations can be found in the abstract class definition.
classmethod STU3ToSDA3Stream(bundle, Output container As %Stream.Object, callbackObject As HS.FHIR.DTL.Util.API.HC.Callback.Abstract.STU3ToSDA3 = "") as %Status
API Method Transform an Bundle object or stream into a Container stream using the STU3->SDA3 transformations. bundle - Either a stream with a json or xml serialized representation of the bundle, or an object of type HS.FHIR.DTL.vSTU3.Model.Resource.Bundle. Note - json performance will always be better than xml. container - Output of the method. A Container stored in a stream. callbackObject - An instance of a callback class that extends HS.FHIR.DTL.Util.API.HC.Callback.Abstract.STU3ToSDA3 that can be used to customize certain aspects of the transformation. Leaving this parameter blank will result in the default implementations being used. Documentation for available customizations can be found in the abstract class definition.
FeedbackOpens in a new tab