FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "PlanDefinition4Bto5",
"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/PlanDefinition4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'PlanDefinition4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'PlanDefinition Transforms: R4B to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.3/PlanDefinition<span style=\"color: navy\">" </span><b>alias </b>PlanDefinitionR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/PlanDefinition<span style=\"color: navy\">" </span><b>alias </b>PlanDefinitionR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>PlanDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>PlanDefinitionR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>PlanDefinitionR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.url<span style=\"color: navy\"><b> -> </b></span>tgt.url<span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.title<span style=\"color: navy\"><b> -> </b></span>tgt.title<span style=\"color: navy\">;</span>\r\n src.subtitle<span style=\"color: navy\"><b> -> </b></span>tgt.subtitle<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</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\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.status-R4BtoR5'</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.experimental<span style=\"color: navy\"><b> -> </b></span>tgt.experimental<span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Patient'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Practitioner'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Practitioner'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Organization'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Organization'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Location'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Location'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Device'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Device'</span><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"> : </span>canonical<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n src.publisher<span style=\"color: navy\"><b> -> </b></span>tgt.publisher<span style=\"color: navy\">;</span>\r\n src.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.useContext<span style=\"color: navy\"><b> -> </b></span>tgt.useContext<span style=\"color: navy\">;</span>\r\n src.jurisdiction<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction<span style=\"color: navy\">;</span>\r\n src.purpose<span style=\"color: navy\"><b> -> </b></span>tgt.purpose<span style=\"color: navy\">;</span>\r\n src.usage<span style=\"color: navy\"><b> -> </b></span>tgt.usage<span style=\"color: navy\">;</span>\r\n src.copyright<span style=\"color: navy\"><b> -> </b></span>tgt.copyright<span style=\"color: navy\">;</span>\r\n src.approvalDate<span style=\"color: navy\"><b> -> </b></span>tgt.approvalDate<span style=\"color: navy\">;</span>\r\n src.lastReviewDate<span style=\"color: navy\"><b> -> </b></span>tgt.lastReviewDate<span style=\"color: navy\">;</span>\r\n src.effectivePeriod<span style=\"color: navy\"><b> -> </b></span>tgt.effectivePeriod<span style=\"color: navy\">;</span>\r\n src.topic<span style=\"color: navy\"><b> -> </b></span>tgt.topic<span style=\"color: navy\">;</span>\r\n src.author<span style=\"color: navy\"><b> -> </b></span>tgt.author<span style=\"color: navy\">;</span>\r\n src.editor<span style=\"color: navy\"><b> -> </b></span>tgt.editor<span style=\"color: navy\">;</span>\r\n src.reviewer<span style=\"color: navy\"><b> -> </b></span>tgt.reviewer<span style=\"color: navy\">;</span>\r\n src.endorser<span style=\"color: navy\"><b> -> </b></span>tgt.endorser<span style=\"color: navy\">;</span>\r\n src.relatedArtifact<span style=\"color: navy\"><b> -> </b></span>tgt.relatedArtifact<span style=\"color: navy\">;</span>\r\n src.library<span style=\"color: navy\"><b> -> </b></span>tgt.library<span style=\"color: navy\">;</span>\r\n src.goal<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.goal<b> as </b><span style=\"color: maroon\">t</span><b> then </b>PlanDefinitionGoal<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.action<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.action<b> as </b><span style=\"color: maroon\">t</span><b> then </b>PlanDefinitionAction<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><b>group </b>PlanDefinitionGoal<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.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.priority<span style=\"color: navy\"><b> -> </b></span>tgt.priority<span style=\"color: navy\">;</span>\r\n src.start<span style=\"color: navy\"><b> -> </b></span>tgt.start<span style=\"color: navy\">;</span>\r\n src.addresses<span style=\"color: navy\"><b> -> </b></span>tgt.addresses<span style=\"color: navy\">;</span>\r\n src.documentation<span style=\"color: navy\"><b> -> </b></span>tgt.documentation<span style=\"color: navy\">;</span>\r\n src.target<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.target<b> as </b><span style=\"color: maroon\">t</span><b> then </b>PlanDefinitionGoalTarget<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><b>group </b>PlanDefinitionGoalTarget<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.measure<span style=\"color: navy\"><b> -> </b></span>tgt.measure<span style=\"color: navy\">;</span>\r\n src.detail<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.detail<span style=\"color: navy\">;</span>\r\n src.detail<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.detail<span style=\"color: navy\">;</span>\r\n src.detail<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.detail<span style=\"color: navy\">;</span>\r\n src.due<span style=\"color: navy\"><b> -> </b></span>tgt.due<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 PlanDefinitionActor(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.title -> tgt.title;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.description -> tgt.description;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.option as s -> tgt.option as t then PlanDefinitionActorOption(s,t);</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group PlanDefinitionActorOption(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type as v -> tgt.type = translate(v, '#ActivityParticipantType', 'code');</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.typeCanonical -> tgt.typeCanonical;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.typeReference -> tgt.typeReference;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.role -> tgt.role;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>PlanDefinitionAction<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.id<span style=\"color: navy\"><b> -> </b></span>tgt.linkId<span style=\"color: navy\">;</span>\r\n src.prefix<span style=\"color: navy\"><b> -> </b></span>tgt.prefix<span style=\"color: navy\">;</span>\r\n src.title<span style=\"color: navy\"><b> -> </b></span>tgt.title<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.textEquivalent<span style=\"color: navy\"><b> -> </b></span>tgt.textEquivalent<span style=\"color: navy\">;</span>\r\n src.priority<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.priority = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.priority-R4BtoR5'</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.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason<span style=\"color: navy\">;</span>\r\n src.documentation<span style=\"color: navy\"><b> -> </b></span>tgt.documentation<span style=\"color: navy\">;</span>\r\n src.goalId<span style=\"color: navy\"><b> -> </b></span>tgt.goalId<span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Patient'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Practitioner'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Practitioner'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Organization'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Organization'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Location'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Location'</span><span style=\"color: navy\">;</span>\r\n src.subject<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'Device'<span style=\"color: navy\"><b> -> </b></span> tgt.subject = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/fhir-types'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'Patient'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Device'</span><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"> : </span>canonical<span style=\"color: navy\"><b> -> </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n src.trigger<span style=\"color: navy\"><b> -> </b></span>tgt.trigger<span style=\"color: navy\">;</span>\r\n src.condition<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.condition<b> as </b><span style=\"color: maroon\">t</span><b> then </b>PlanDefinitionActionCondition<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.input<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.input<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.requirement = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.output<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.output<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.requirement = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.relatedAction<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.relatedAction<b> as </b><span style=\"color: maroon\">t</span><b> then </b>PlanDefinitionActionRelatedAction<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.timing<span style=\"color: navy\"> : </span>Age<span style=\"color: navy\"><b> -> </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"> : </span>Duration<span style=\"color: navy\"><b> -> </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"> : </span>Timing<span style=\"color: navy\"><b> -> </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n src.participant<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.participant<b> as </b><span style=\"color: maroon\">t</span><b> then </b>PlanDefinitionActionParticipant<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.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.groupingBehavior<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.groupingBehavior = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.groupingBehavior-R4BtoR5'</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.selectionBehavior<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.selectionBehavior = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.selectionBehavior-R4BtoR5'</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.requiredBehavior<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.requiredBehavior = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.requiredBehavior-R4BtoR5'</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.precheckBehavior<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.precheckBehavior = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.precheckBehavior-R4BtoR5'</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.cardinalityBehavior<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.cardinalityBehavior = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.cardinalityBehavior-R4BtoR5'</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.definition<span style=\"color: navy\"> : </span>canonical<span style=\"color: navy\"><b> -> </b></span>tgt.definition<span style=\"color: navy\">;</span>\r\n src.definition<span style=\"color: navy\"> : </span>uri<span style=\"color: navy\"><b> -> </b></span>tgt.definition<span style=\"color: navy\">;</span>\r\n src.transform<span style=\"color: navy\"><b> -> </b></span>tgt.transform<span style=\"color: navy\">;</span>\r\n src.dynamicValue<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.dynamicValue<b> as </b><span style=\"color: maroon\">t</span><b> then </b>PlanDefinitionActionDynamicValue<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><b>group </b>PlanDefinitionActionCondition<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.kind<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.kind = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.condition.kind-R4BtoR5'</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.expression<span style=\"color: navy\"><b> -> </b></span>tgt.expression<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>PlanDefinitionActionRelatedAction<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.actionId<span style=\"color: navy\"><b> -> </b></span>tgt.targetId<span style=\"color: navy\">;</span>\r\n src.relationship<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.relationship = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.relatedAction.relationship-R4BtoR5'</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.relationship<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.endRelationship = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.relatedAction.relationship-R4BtoR5'</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.offset<span style=\"color: navy\"> : </span>Duration<span style=\"color: navy\"><b> -> </b></span>tgt.offset<span style=\"color: navy\">;</span>\r\n src.offset<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -> </b></span>tgt.offset<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>PlanDefinitionActionParticipant<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.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.participant.type-R4BtoR5'</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.role<span style=\"color: navy\"><b> -> </b></span>tgt.role<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>PlanDefinitionActionDynamicValue<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.path<span style=\"color: navy\"><b> -> </b></span>tgt.path<span style=\"color: navy\">;</span>\r\n src.expression<span style=\"color: navy\"><b> -> </b></span>tgt.expression<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"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.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/PlanDefinition4Bto5",
"version" : "0.1.0",
"name" : "PlanDefinition4Bto5",
"title" : "PlanDefinition Transforms: R4B to R5",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "PlanDefinitionTransformsR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/PlanDefinition",
"mode" : "source",
"alias" : "PlanDefinitionR4B"
},
{
"url" : "http://hl7.org/fhir/5.0/PlanDefinition",
"mode" : "target",
"alias" : "PlanDefinitionR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "PlanDefinition",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "PlanDefinitionR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "PlanDefinitionR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "url",
"source" : [
{
"context" : "src",
"element" : "url",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "url",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "title",
"source" : [
{
"context" : "src",
"element" : "title",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "title",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subtitle",
"source" : [
{
"context" : "src",
"element" : "subtitle",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subtitle",
"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"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.status-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "experimental",
"source" : [
{
"context" : "src",
"element" : "experimental",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "experimental",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Patient'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Practitioner'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Practitioner"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Organization'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Organization"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Location'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Location"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Device'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Device"
}
]
}
]
},
{
"name" : "subjectReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subjectCanonical",
"source" : [
{
"context" : "src",
"type" : "canonical",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "publisher",
"source" : [
{
"context" : "src",
"element" : "publisher",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "publisher",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "useContext",
"source" : [
{
"context" : "src",
"element" : "useContext",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "useContext",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "jurisdiction",
"source" : [
{
"context" : "src",
"element" : "jurisdiction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "purpose",
"source" : [
{
"context" : "src",
"element" : "purpose",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "purpose",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "usage",
"source" : [
{
"context" : "src",
"element" : "usage",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "usage",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "copyright",
"source" : [
{
"context" : "src",
"element" : "copyright",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "copyright",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "approvalDate",
"source" : [
{
"context" : "src",
"element" : "approvalDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "approvalDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "lastReviewDate",
"source" : [
{
"context" : "src",
"element" : "lastReviewDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "lastReviewDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectivePeriod",
"source" : [
{
"context" : "src",
"element" : "effectivePeriod",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effectivePeriod",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "topic",
"source" : [
{
"context" : "src",
"element" : "topic",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "topic",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "author",
"source" : [
{
"context" : "src",
"element" : "author",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "author",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "editor",
"source" : [
{
"context" : "src",
"element" : "editor",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "editor",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "reviewer",
"source" : [
{
"context" : "src",
"element" : "reviewer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reviewer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "endorser",
"source" : [
{
"context" : "src",
"element" : "endorser",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "endorser",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "relatedArtifact",
"source" : [
{
"context" : "src",
"element" : "relatedArtifact",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relatedArtifact",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "library",
"source" : [
{
"context" : "src",
"element" : "library",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "library",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "goal",
"source" : [
{
"context" : "src",
"element" : "goal",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "goal",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "PlanDefinitionGoal",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "action",
"source" : [
{
"context" : "src",
"element" : "action",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "action",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "PlanDefinitionAction",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "PlanDefinitionGoal",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"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" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "priority",
"source" : [
{
"context" : "src",
"element" : "priority",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "priority",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "start",
"source" : [
{
"context" : "src",
"element" : "start",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "start",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "addresses",
"source" : [
{
"context" : "src",
"element" : "addresses",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "addresses",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "documentation",
"source" : [
{
"context" : "src",
"element" : "documentation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "documentation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "target",
"source" : [
{
"context" : "src",
"element" : "target",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "target",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "PlanDefinitionGoalTarget",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "PlanDefinitionGoalTarget",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "measure",
"source" : [
{
"context" : "src",
"element" : "measure",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "measure",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "detailQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "detail",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "detail",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "detailRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "detail",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "detail",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "detailCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "detail",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "detail",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "due",
"source" : [
{
"context" : "src",
"element" : "due",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "due",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "PlanDefinitionAction",
"extends" : "BackboneElement",
"documentation" : "group PlanDefinitionActor(source src, target tgt) extends BackboneElement {\r\nsrc.title -> tgt.title;\r\nsrc.description -> tgt.description;\r\nsrc.option as s -> tgt.option as t then PlanDefinitionActorOption(s,t);\r\n}\r\ngroup PlanDefinitionActorOption(source src, target tgt) extends BackboneElement {\r\nsrc.type as v -> tgt.type = translate(v, '#ActivityParticipantType', 'code');\r\nsrc.typeCanonical -> tgt.typeCanonical;\r\nsrc.typeReference -> tgt.typeReference;\r\nsrc.role -> tgt.role;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "id",
"source" : [
{
"context" : "src",
"element" : "id",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "linkId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "prefix",
"source" : [
{
"context" : "src",
"element" : "prefix",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "prefix",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "title",
"source" : [
{
"context" : "src",
"element" : "title",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "title",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "textEquivalent",
"source" : [
{
"context" : "src",
"element" : "textEquivalent",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "textEquivalent",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "priority",
"source" : [
{
"context" : "src",
"element" : "priority",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "priority",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.priority-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"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" : "reason",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reason",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "documentation",
"source" : [
{
"context" : "src",
"element" : "documentation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "documentation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "goalId",
"source" : [
{
"context" : "src",
"element" : "goalId",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "goalId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Patient'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Practitioner'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Practitioner"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Organization'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Organization"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Location'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Location"
}
]
}
]
},
{
"name" : "subject",
"source" : [
{
"context" : "src",
"element" : "subject",
"variable" : "s",
"condition" : "code = 'Device'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "tc",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "tc",
"element" : "coding",
"variable" : "tcc",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "tcc",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/fhir-types"
}
]
},
{
"context" : "tcc",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Patient"
}
]
},
{
"context" : "tcc",
"element" : "display",
"transform" : "copy",
"parameter" : [
{
"valueString" : "Device"
}
]
}
]
},
{
"name" : "subjectReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subjectCanonical",
"source" : [
{
"context" : "src",
"type" : "canonical",
"element" : "subject",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subject",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "trigger",
"source" : [
{
"context" : "src",
"element" : "trigger",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "trigger",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "condition",
"source" : [
{
"context" : "src",
"element" : "condition",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "condition",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "PlanDefinitionActionCondition",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "input",
"source" : [
{
"context" : "src",
"element" : "input",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "input",
"variable" : "t"
},
{
"context" : "t",
"element" : "requirement",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "output",
"source" : [
{
"context" : "src",
"element" : "output",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "output",
"variable" : "t"
},
{
"context" : "t",
"element" : "requirement",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
},
{
"name" : "relatedAction",
"source" : [
{
"context" : "src",
"element" : "relatedAction",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relatedAction",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "PlanDefinitionActionRelatedAction",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "timingAge",
"source" : [
{
"context" : "src",
"type" : "Age",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "timingDuration",
"source" : [
{
"context" : "src",
"type" : "Duration",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "timingRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "timingTiming",
"source" : [
{
"context" : "src",
"type" : "Timing",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "participant",
"source" : [
{
"context" : "src",
"element" : "participant",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "participant",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "PlanDefinitionActionParticipant",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"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"
}
]
}
]
},
{
"name" : "groupingBehavior",
"source" : [
{
"context" : "src",
"element" : "groupingBehavior",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "groupingBehavior",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.groupingBehavior-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "selectionBehavior",
"source" : [
{
"context" : "src",
"element" : "selectionBehavior",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "selectionBehavior",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.selectionBehavior-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "requiredBehavior",
"source" : [
{
"context" : "src",
"element" : "requiredBehavior",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "requiredBehavior",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.requiredBehavior-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "precheckBehavior",
"source" : [
{
"context" : "src",
"element" : "precheckBehavior",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "precheckBehavior",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.precheckBehavior-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "cardinalityBehavior",
"source" : [
{
"context" : "src",
"element" : "cardinalityBehavior",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "cardinalityBehavior",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.cardinalityBehavior-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "definitionCanonical",
"source" : [
{
"context" : "src",
"type" : "canonical",
"element" : "definition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "definition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "definitionUri",
"source" : [
{
"context" : "src",
"type" : "uri",
"element" : "definition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "definition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "transform",
"source" : [
{
"context" : "src",
"element" : "transform",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "transform",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "dynamicValue",
"source" : [
{
"context" : "src",
"element" : "dynamicValue",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "dynamicValue",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "PlanDefinitionActionDynamicValue",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "PlanDefinitionActionCondition",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "kind",
"source" : [
{
"context" : "src",
"element" : "kind",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "kind",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.condition.kind-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "expression",
"source" : [
{
"context" : "src",
"element" : "expression",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expression",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "PlanDefinitionActionRelatedAction",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "actionId",
"source" : [
{
"context" : "src",
"element" : "actionId",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "targetId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "relationship",
"source" : [
{
"context" : "src",
"element" : "relationship",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relationship",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.relatedAction.relationship-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "relationship",
"source" : [
{
"context" : "src",
"element" : "relationship",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "endRelationship",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.relatedAction.relationship-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "offsetDuration",
"source" : [
{
"context" : "src",
"type" : "Duration",
"element" : "offset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "offset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "offsetRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"element" : "offset",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "offset",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "PlanDefinitionActionParticipant",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/PlanDefinitionB.action.participant.type-R4BtoR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "role",
"source" : [
{
"context" : "src",
"element" : "role",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "role",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "PlanDefinitionActionDynamicValue",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "path",
"source" : [
{
"context" : "src",
"element" : "path",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "path",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "expression",
"source" : [
{
"context" : "src",
"element" : "expression",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "expression",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}