HS.FHIR.DTL.Util.SDA3.Handler.CarePlan
class HS.FHIR.DTL.Util.SDA3.Handler.CarePlan
Method Inventory
Methods
classmethod Activity(interventions As %ListOfObjects, outcomes As %ListOfObjects, target As %RegisteredObject, ByRef aux) as %RegisteredObject
All Intervention streamlets are first transformed to a CarePlan:activity element. Then the same is done for Outcomes.
After that, the activity elements are matched whenever possible by matching the Intervention ExternalId with the Outcome
InterventionId. Whenever that occurs, the two activity elements are merged into one. Right now there aren't any overlapping
mappings, but the default would be to take the value from the Outcome if there ever was any overlap.
interventions - The list of interventions in the CarePlan streamlet.
outcomes - The list of outcomes in the CarePlan streamlet.
target - The CarePlan resource that is in the middle of being created. New activity elements will be inserted into this resource.
aux - The 'aux' parameter used in all DTLs that contains, among other things, the callback
object.