Skip to main content

HS.XML.AdaptorFHIR

deprecated abstract class HS.XML.AdaptorFHIR

THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.

Method Inventory

Methods

deprecated classmethod %FromFHIRXML(pXMLStreamOrString, ByRef pHSFHIRObj As %RegisteredObject, pResourceSchemaRoot As %String, ByRef pXMLDocument As %XML.Document) as %Status
THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
This method instantiates an HS FHIR object from a FHIR XML stream or string and returns it.

Inputs:
  • pXMLStreamOrString : (required if pXMLDocument not passed in) An XML stream object or string.
  • pResourceSchemaRoot : (required) Class package to use as the schema root for FHIR resources. Example is "HS.FHIR.vSTU3.Model.Resource".
  • pXMLDocument : (required if pXMLStreamOrString not passed in) %XML.Document representation of the FHIR XML.

    Outputs:
  • pHSFHIRObj : The HS FHIR object constructed from the FHIR XML. If an error is incurred during the construction of pHSFHIRObj, then pHSFHIRObj is returned as $$$NULLOREF.
  • pXMLDocument : %XML.Document representation of the XML payload, created by this method if it was not passed in as input. If pXMLDocument was not passed in as input, AND if an error is incurred during the construction of pHSFHIRObj, then pXMLDocument is returned as $$$NULLOREF.
  • deprecated method %GetClassName() as %String
    THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.
    deprecated method %ToFHIRXML(pLevel As %Integer = 0, pXMLName As %String = "", pSuppressProlog As %Boolean = 0) as %Status
    THIS CLASS IS DEPRECATED Use HS.FHIRServer.* instead.

    Subclasses

    FeedbackOpens in a new tab