This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "Observation4to5",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Observation4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Observation4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Observation: R4 to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> "</span>ObservationStatus<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-observation-status.html\" title=\"ObservationStatus\">http://hl7.org/fhir/4.0/observation-status</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-observation-status.html\" title=\"Observation Status\">http://hl7.org/fhir/observation-status</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>registered <b>-</b> t<span style=\"color: navy\">:</span>registered\r\n s<span style=\"color: navy\">:</span>preliminary <b>-</b> t<span style=\"color: navy\">:</span>preliminary\r\n s<span style=\"color: navy\">:</span>final <b>-</b> t<span style=\"color: navy\">:</span>final\r\n s<span style=\"color: navy\">:</span>amended <b>-</b> t<span style=\"color: navy\">:</span>amended\r\n s<span style=\"color: navy\">:</span>corrected <b>-</b> t<span style=\"color: navy\">:</span>corrected\r\n s<span style=\"color: navy\">:</span>cancelled <b>-</b> t<span style=\"color: navy\">:</span>cancelled\r\n s<span style=\"color: navy\">:</span>"entered-in-error" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>entered-in-error<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>unknown <b>-</b> t<span style=\"color: navy\">:</span>unknown\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/observation.html\" title=\"Observation\">http://hl7.org/fhir/4.0/StructureDefinition/Observation</a><span style=\"color: navy\">" </span><b>alias </b>ObservationR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/observation.html\" title=\"Observation\">http://hl7.org/fhir/StructureDefinition/Observation</a><span style=\"color: navy\">" </span><b>alias </b>ObservationR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Observation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ObservationR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ObservationR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.basedOn<span style=\"color: navy\"><b> -> </b></span>tgt.basedOn<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.instantiates : canonical -> tgt.instantiates;</span>\r\n src.partOf<span style=\"color: navy\"><b> -> </b></span>tgt.partOf<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.triggeredBy as s -> tgt.triggeredBy as t then ObservationTriggeredBy(s,t);</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#ObservationStatus'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.focus<span style=\"color: navy\"><b> -> </b></span>tgt.focus<span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.encounter<span style=\"color: navy\">;</span>\r\n src.effective<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.effective<span style=\"color: navy\">;</span>\r\n src.effective<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.effective<span style=\"color: navy\">;</span>\r\n src.effective<span style=\"color: navy\"> : </span>Timing<span style=\"color: navy\"><b> -> </b></span>tgt.effective<span style=\"color: navy\">;</span>\r\n src.effective<span style=\"color: navy\"> : </span>instant<span style=\"color: navy\"><b> -> </b></span>tgt.effective<span style=\"color: navy\">;</span>\r\n src.issued<span style=\"color: navy\"><b> -> </b></span>tgt.issued<span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -> </b></span>tgt.performer<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>integer<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Ratio<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>SampledData<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>time<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.dataAbsentReason<span style=\"color: navy\"><b> -> </b></span>tgt.dataAbsentReason<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.value : Attachment -> tgt.value;</span>\r\n src.interpretation<span style=\"color: navy\"><b> -> </b></span>tgt.interpretation<span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.note<span style=\"color: navy\">;</span>\r\n src.bodySite<span style=\"color: navy\"><b> -> </b></span>tgt.bodySite<span style=\"color: navy\">;</span>\r\n src.method<span style=\"color: navy\"><b> -> </b></span>tgt.method<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.bodyStructure -> tgt.bodyStructure;</span>\r\n src.specimen<span style=\"color: navy\"><b> -> </b></span>tgt.specimen<span style=\"color: navy\">;</span>\r\n src.device<span style=\"color: navy\"><b> -> </b></span>tgt.device<span style=\"color: navy\">;</span>\r\n src.referenceRange<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.referenceRange<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ObservationReferenceRange<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.hasMember<span style=\"color: navy\"><b> -> </b></span>tgt.hasMember<span style=\"color: navy\">;</span>\r\n src.derivedFrom<span style=\"color: navy\"><b> -> </b></span>tgt.derivedFrom<span style=\"color: navy\">;</span>\r\n src.component<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.component<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ObservationComponent<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ObservationTriggeredBy(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.observation -> tgt.observation;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type as v -> tgt.type = translate(v, '#TriggeredByType', 'code');</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reason -> tgt.reason;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ObservationReferenceRange<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.low<span style=\"color: navy\"><b> -> </b></span>tgt.low<span style=\"color: navy\">;</span>\r\n src.high<span style=\"color: navy\"><b> -> </b></span>tgt.high<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.normalValue -> tgt.normalValue;</span>\r\n src.appliesTo<span style=\"color: navy\"><b> -> </b></span>tgt.appliesTo<span style=\"color: navy\">;</span>\r\n src.age<span style=\"color: navy\"><b> -> </b></span>tgt.age<span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -> </b></span>tgt.text<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ObservationComponent<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>integer<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Ratio<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>SampledData<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>time<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.dataAbsentReason<span style=\"color: navy\"><b> -> </b></span>tgt.dataAbsentReason<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.value : Attachment -> tgt.value;</span>\r\n src.interpretation<span style=\"color: navy\"><b> -> </b></span>tgt.interpretation<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "ObservationStatus",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.0/observation-status",
"target" : "http://hl7.org/fhir/observation-status",
"element" : [
{
"code" : "registered",
"target" : [
{
"code" : "registered",
"relationship" : "related-to"
}
]
},
{
"code" : "preliminary",
"target" : [
{
"code" : "preliminary",
"relationship" : "related-to"
}
]
},
{
"code" : "final",
"target" : [
{
"code" : "final",
"relationship" : "related-to"
}
]
},
{
"code" : "amended",
"target" : [
{
"code" : "amended",
"relationship" : "related-to"
}
]
},
{
"code" : "corrected",
"target" : [
{
"code" : "corrected",
"relationship" : "related-to"
}
]
},
{
"code" : "cancelled",
"target" : [
{
"code" : "cancelled",
"relationship" : "related-to"
}
]
},
{
"code" : "entered-in-error",
"target" : [
{
"code" : "entered-in-error",
"relationship" : "related-to"
}
]
},
{
"code" : "unknown",
"target" : [
{
"code" : "unknown",
"relationship" : "related-to"
}
]
}
]
}
]
}
],
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Observation4to5",
"version" : "5.1.0",
"name" : "Observation4to5",
"title" : "FML Conversion for Observation: R4 to R5",
"status" : "active",
"date" : "2024-04-27T18:54:50+10:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforObservationR4toR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/Observation",
"mode" : "source",
"alias" : "ObservationR4"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Observation",
"mode" : "target",
"alias" : "ObservationR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to5"
],
"group" : [
{
"name" : "Observation",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ObservationR4",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ObservationR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "basedOn",
"source" : [
{
"context" : "src",
"element" : "basedOn",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "basedOn",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.instantiates : canonical -> tgt.instantiates;"
},
{
"name" : "partOf",
"source" : [
{
"context" : "src",
"element" : "partOf",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "partOf",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.triggeredBy as s -> tgt.triggeredBy as t then ObservationTriggeredBy(s,t);"
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#ObservationStatus"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "category",
"source" : [
{
"context" : "src",
"element" : "category",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "category",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "focus",
"source" : [
{
"context" : "src",
"element" : "focus",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "focus",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "encounter",
"source" : [
{
"context" : "src",
"element" : "encounter",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "encounter",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectiveDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "effective",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effective",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectivePeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "effective",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effective",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectiveTiming",
"source" : [
{
"context" : "src",
"type" : "Timing",
"element" : "effective",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effective",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectiveInstant",
"source" : [
{
"context" : "src",
"type" : "instant",
"element" : "effective",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effective",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "issued",
"source" : [
{
"context" : "src",
"element" : "issued",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "issued",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "performer",
"source" : [
{
"context" : "src",
"element" : "performer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "performer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueBoolean",
"source" : [
{
"context" : "src",
"type" : "boolean",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueRatio",
"source" : [
{
"context" : "src",
"type" : "Ratio",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueSampledData",
"source" : [
{
"context" : "src",
"type" : "SampledData",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueTime",
"source" : [
{
"context" : "src",
"type" : "time",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valuePeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dataAbsentReason",
"source" : [
{
"context" : "src",
"element" : "dataAbsentReason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dataAbsentReason",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.value : Attachment -> tgt.value;"
},
{
"name" : "interpretation",
"source" : [
{
"context" : "src",
"element" : "interpretation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "interpretation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "note",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "note",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "bodySite",
"source" : [
{
"context" : "src",
"element" : "bodySite",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "bodySite",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "method",
"source" : [
{
"context" : "src",
"element" : "method",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "method",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.bodyStructure -> tgt.bodyStructure;"
},
{
"name" : "specimen",
"source" : [
{
"context" : "src",
"element" : "specimen",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "specimen",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "device",
"source" : [
{
"context" : "src",
"element" : "device",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "device",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "referenceRange",
"source" : [
{
"context" : "src",
"element" : "referenceRange",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referenceRange",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ObservationReferenceRange",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "hasMember",
"source" : [
{
"context" : "src",
"element" : "hasMember",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "hasMember",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "derivedFrom",
"source" : [
{
"context" : "src",
"element" : "derivedFrom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "derivedFrom",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "component",
"source" : [
{
"context" : "src",
"element" : "component",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "component",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ObservationComponent",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "ObservationReferenceRange",
"extends" : "BackboneElement",
"documentation" : "group ObservationTriggeredBy(source src, target tgt) extends BackboneElement {\r\nsrc.observation -> tgt.observation;\r\nsrc.type as v -> tgt.type = translate(v, '#TriggeredByType', 'code');\r\nsrc.reason -> tgt.reason;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "low",
"source" : [
{
"context" : "src",
"element" : "low",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "low",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "high",
"source" : [
{
"context" : "src",
"element" : "high",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "high",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.normalValue -> tgt.normalValue;"
},
{
"name" : "appliesTo",
"source" : [
{
"context" : "src",
"element" : "appliesTo",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "appliesTo",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "age",
"source" : [
{
"context" : "src",
"element" : "age",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "age",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "text",
"source" : [
{
"context" : "src",
"element" : "text",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "text",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ObservationComponent",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueBoolean",
"source" : [
{
"context" : "src",
"type" : "boolean",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueRatio",
"source" : [
{
"context" : "src",
"type" : "Ratio",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueSampledData",
"source" : [
{
"context" : "src",
"type" : "SampledData",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueTime",
"source" : [
{
"context" : "src",
"type" : "time",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valuePeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dataAbsentReason",
"source" : [
{
"context" : "src",
"element" : "dataAbsentReason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dataAbsentReason",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.value : Attachment -> tgt.value;"
},
{
"name" : "interpretation",
"source" : [
{
"context" : "src",
"element" : "interpretation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "interpretation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}