HS.FHIR.DTL.Util.FHIR.Handler.Contained
class HS.FHIR.DTL.Util.FHIR.Handler.Contained
Method Inventory
Methods
classmethod GetClass(source As %RegisteredObject, target As %RegisteredObject) as %String
Get the DTL class to use when transforming contained resources between STU3 and DSTU2.
source - the source object to be transformed.
target - the target object to be created.
classmethod Reference(Output resource As %RegisteredObject, containedResourceCount As %Integer, returnReference As %Boolean = 0, Output reference As %RegisteredObject) as %Status
Returns a reference to a contained resource, saving the number of contained resources already created so that the next contained
resource can determine what its id should be.
resource - The contained resource object
containedResourceCount - The number of currently existing contained resources. Used to determine the contained resource's id.
returnReference - Whether or not to return a reference to the resource.
reference - The created reference to the contained resource.
classmethod Transform(class As %String, source As %RegisteredObject) as %RegisteredObject
Transform a contained resource between STU3 and DSTU2.