/// url = 'http://hl7.org/fhir/StructureMap/Task5to4B' /// name = 'Task5to4B' /// title = 'Task Transforms: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/5.0/Task" alias TaskR5 as source uses "http://hl7.org/fhir/4.0/Task" alias TaskR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group Task(source src : TaskR5, target tgt : TaskR4B) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.instantiatesCanonical -> tgt.instantiatesCanonical; src.instantiatesUri -> tgt.instantiatesUri; src.basedOn -> tgt.basedOn; src.groupIdentifier -> tgt.groupIdentifier; src.partOf -> tgt.partOf; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/Task.status-R5toR4', 'code'); src.statusReason -> tgt.statusReason; src.businessStatus -> tgt.businessStatus; src.intent -> tgt.intent; src.priority as v -> tgt.priority = translate(v, 'http://hl7.org/fhir/ConceptMap/Task.priority-R5toR4', 'code'); src.code -> tgt.code; src.description -> tgt.description; src.focus -> tgt.focus; src.for -> tgt.for; src.encounter -> tgt.encounter; src.executionPeriod -> tgt.executionPeriod; src.authoredOn -> tgt.authoredOn; src.lastModified -> tgt.lastModified; src.requester -> tgt.requester; src.owner -> tgt.owner; src.location -> tgt.location; src.reason -> tgt.reasonCode; src.insurance -> tgt.insurance; src.note -> tgt.note; src.relevantHistory -> tgt.relevantHistory; src.restriction as s -> tgt.restriction as t then TaskRestriction(s, t); src.input as s -> tgt.input as t then TaskInput(s, t); src.output as s -> tgt.output as t then TaskOutput(s, t); } // group TaskPerformer(source src, target tgt) extends BackboneElement { // src.function -> tgt.function; // src.actor -> tgt.actor; // } group TaskRestriction(source src, target tgt) extends BackboneElement { src.repetitions -> tgt.repetitions; src.period -> tgt.period; src.recipient -> tgt.recipient; } group TaskInput(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.value : base64Binary -> tgt.value; src.value : boolean -> tgt.value; src.value : canonical -> tgt.value; src.value : code -> tgt.value; src.value : date -> tgt.value; src.value : dateTime -> tgt.value; src.value : decimal -> tgt.value; src.value : id -> tgt.value; src.value : instant -> tgt.value; src.value : integer -> tgt.value; src.value : integer64 -> tgt.value; src.value : markdown -> tgt.value; src.value : oid -> tgt.value; src.value : positiveInt -> tgt.value; src.value : string -> tgt.value; src.value : time -> tgt.value; src.value : unsignedInt -> tgt.value; src.value : uri -> tgt.value; src.value : url -> tgt.value; src.value : uuid -> tgt.value; src.value : Address -> tgt.value; src.value : Age -> tgt.value; src.value : Annotation -> tgt.value; src.value : Attachment -> tgt.value; src.value : CodeableConcept -> tgt.value; src.value : CodeableReference -> tgt.value; src.value : Coding -> tgt.value; src.value : ContactPoint -> tgt.value; src.value : Count -> tgt.value; src.value : Distance -> tgt.value; src.value : Duration -> tgt.value; src.value : HumanName -> tgt.value; src.value : Identifier -> tgt.value; src.value : Money -> tgt.value; src.value : Period -> tgt.value; src.value : Quantity -> tgt.value; src.value : Range -> tgt.value; src.value : Ratio -> tgt.value; src.value : Reference -> tgt.value; src.value : SampledData -> tgt.value; src.value : Signature -> tgt.value; src.value : Timing -> tgt.value; src.value : ContactDetail -> tgt.value; src.value : DataRequirement -> tgt.value; src.value : Expression -> tgt.value; src.value : ParameterDefinition -> tgt.value; src.value : RelatedArtifact -> tgt.value; src.value : TriggerDefinition -> tgt.value; src.value : UsageContext -> tgt.value; src.value : Dosage -> tgt.value; src.value : Meta -> tgt.value; } group TaskOutput(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.value : base64Binary -> tgt.value; src.value : boolean -> tgt.value; src.value : canonical -> tgt.value; src.value : code -> tgt.value; src.value : date -> tgt.value; src.value : dateTime -> tgt.value; src.value : decimal -> tgt.value; src.value : id -> tgt.value; src.value : instant -> tgt.value; src.value : integer -> tgt.value; src.value : integer64 -> tgt.value; src.value : markdown -> tgt.value; src.value : oid -> tgt.value; src.value : positiveInt -> tgt.value; src.value : string -> tgt.value; src.value : time -> tgt.value; src.value : unsignedInt -> tgt.value; src.value : uri -> tgt.value; src.value : url -> tgt.value; src.value : uuid -> tgt.value; src.value : Address -> tgt.value; src.value : Age -> tgt.value; src.value : Annotation -> tgt.value; src.value : Attachment -> tgt.value; src.value : CodeableConcept -> tgt.value; src.value : CodeableReference -> tgt.value; src.value : Coding -> tgt.value; src.value : ContactPoint -> tgt.value; src.value : Count -> tgt.value; src.value : Distance -> tgt.value; src.value : Duration -> tgt.value; src.value : HumanName -> tgt.value; src.value : Identifier -> tgt.value; src.value : Money -> tgt.value; src.value : Period -> tgt.value; src.value : Quantity -> tgt.value; src.value : Range -> tgt.value; src.value : Ratio -> tgt.value; src.value : Reference -> tgt.value; src.value : SampledData -> tgt.value; src.value : Signature -> tgt.value; src.value : Timing -> tgt.value; src.value : ContactDetail -> tgt.value; src.value : DataRequirement -> tgt.value; src.value : Expression -> tgt.value; src.value : ParameterDefinition -> tgt.value; src.value : RelatedArtifact -> tgt.value; src.value : TriggerDefinition -> tgt.value; src.value : UsageContext -> tgt.value; src.value : Dosage -> tgt.value; src.value : Meta -> tgt.value; }
group TaskPerformer(source src, target tgt) extends BackboneElement { src.function -> tgt.function; src.actor -> tgt.actor; }