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 in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
<StructureMap xmlns="http://hl7.org/fhir">
<id value="PlanDefinition5to4"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://hl7.org/fhir/StructureMap/PlanDefinition5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'PlanDefinition5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for PlanDefinition: R5 to R4'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>
<b>conceptmap</b><span style="color: navy"> "</span>ActionCardinalityBehavior<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-cardinality-behavior.html" title="Action Cardinality Behavior">http://hl7.org/fhir/action-cardinality-behavior</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-cardinality-behavior.html" title="ActionCardinalityBehavior">http://hl7.org/fhir/4.0/action-cardinality-behavior</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>single <b>-</b> t<span style="color: navy">:</span>single
s<span style="color: navy">:</span>multiple <b>-</b> t<span style="color: navy">:</span>multiple
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ActionConditionKind<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-condition-kind.html" title="Action Condition Kind">http://hl7.org/fhir/action-condition-kind</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-condition-kind.html" title="ActionConditionKind">http://hl7.org/fhir/4.0/action-condition-kind</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>applicability <b>-</b> t<span style="color: navy">:</span>applicability
s<span style="color: navy">:</span>start <b>-</b> t<span style="color: navy">:</span>start
s<span style="color: navy">:</span>stop <b>-</b> t<span style="color: navy">:</span>stop
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ActionGroupingBehavior<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-grouping-behavior.html" title="Action Grouping Behavior">http://hl7.org/fhir/action-grouping-behavior</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-grouping-behavior.html" title="ActionGroupingBehavior">http://hl7.org/fhir/4.0/action-grouping-behavior</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>"visual-group" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>visual-group<span style="color: navy">"</span>
s<span style="color: navy">:</span>"logical-group" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>logical-group<span style="color: navy">"</span>
s<span style="color: navy">:</span>"sentence-group" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>sentence-group<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ActionPrecheckBehavior<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-precheck-behavior.html" title="Action Precheck Behavior">http://hl7.org/fhir/action-precheck-behavior</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-precheck-behavior.html" title="ActionPrecheckBehavior">http://hl7.org/fhir/4.0/action-precheck-behavior</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>yes <b>-</b> t<span style="color: navy">:</span>yes
s<span style="color: navy">:</span>no <b>-</b> t<span style="color: navy">:</span>no
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ActionRelationshipType<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-relationship-type.html" title="Action Relationship Type">http://hl7.org/fhir/action-relationship-type</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-relationship-type.html" title="ActionRelationshipType">http://hl7.org/fhir/4.0/action-relationship-type</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>before <b>-</b> t<span style="color: navy">:</span>before
s<span style="color: navy">:</span>"before-start" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>before-start<span style="color: navy">"</span>
s<span style="color: navy">:</span>"before-end" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>before-end<span style="color: navy">"</span>
s<span style="color: navy">:</span>concurrent <b>-</b> t<span style="color: navy">:</span>concurrent
s<span style="color: navy">:</span>"concurrent-with-start" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>concurrent-with-start<span style="color: navy">"</span>
s<span style="color: navy">:</span>"concurrent-with-end" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>concurrent-with-end<span style="color: navy">"</span>
s<span style="color: navy">:</span>after <b>-</b> t<span style="color: navy">:</span>after
s<span style="color: navy">:</span>"after-start" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>after-start<span style="color: navy">"</span>
s<span style="color: navy">:</span>"after-end" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>after-end<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ActionRequiredBehavior<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-required-behavior.html" title="Action Required Behavior">http://hl7.org/fhir/action-required-behavior</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-required-behavior.html" title="ActionRequiredBehavior">http://hl7.org/fhir/4.0/action-required-behavior</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>must <b>-</b> t<span style="color: navy">:</span>must
s<span style="color: navy">:</span>could <b>-</b> t<span style="color: navy">:</span>could
s<span style="color: navy">:</span>"must-unless-documented" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>must-unless-documented<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ActionSelectionBehavior<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-selection-behavior.html" title="Action Selection Behavior">http://hl7.org/fhir/action-selection-behavior</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-selection-behavior.html" title="ActionSelectionBehavior">http://hl7.org/fhir/4.0/action-selection-behavior</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>any <b>-</b> t<span style="color: navy">:</span>any
s<span style="color: navy">:</span>all <b>-</b> t<span style="color: navy">:</span>all
s<span style="color: navy">:</span>"all-or-none" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>all-or-none<span style="color: navy">"</span>
s<span style="color: navy">:</span>"exactly-one" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>exactly-one<span style="color: navy">"</span>
s<span style="color: navy">:</span>"at-most-one" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>at-most-one<span style="color: navy">"</span>
s<span style="color: navy">:</span>"one-or-more" <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>one-or-more<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>ActivityParticipantType<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-action-participant-type.html" title="Action Participant Type">http://hl7.org/fhir/action-participant-type</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-action-participant-type.html" title="ActionParticipantType">http://hl7.org/fhir/4.0/action-participant-type</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>device <b>-</b> t<span style="color: navy">:</span>device
s<span style="color: navy">:</span>patient <b>-</b> t<span style="color: navy">:</span>patient
s<span style="color: navy">:</span>practitioner <b>-</b> t<span style="color: navy">:</span>practitioner
s<span style="color: navy">:</span>relatedperson <b>-</b> t<span style="color: navy">:</span><span style="color: navy">"</span>related-person<span style="color: navy">"</span>
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>PublicationStatus<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/publication-status</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.0/publication-status</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
s<span style="color: navy">:</span>retired <b>-</b> t<span style="color: navy">:</span>retired
s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}
</span><b>conceptmap</b><span style="color: navy"> "</span>RequestPriority<span style="color: navy">" {
</span><b> prefix </b>s<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R5/codesystem-request-priority.html" title="RequestPriority">http://hl7.org/fhir/request-priority</a><span style="color: navy">"
</span><b> prefix </b>t<span style="color: navy"> = "</span><a href="http://hl7.org/fhir/R4/codesystem-request-priority.html" title="RequestPriority">http://hl7.org/fhir/4.0/request-priority</a><span style="color: navy">"
</span>
s<span style="color: navy">:</span>routine <b>-</b> t<span style="color: navy">:</span>routine
s<span style="color: navy">:</span>urgent <b>-</b> t<span style="color: navy">:</span>urgent
s<span style="color: navy">:</span>asap <b>-</b> t<span style="color: navy">:</span>asap
s<span style="color: navy">:</span>stat <b>-</b> t<span style="color: navy">:</span>stat
<span style="color: navy">}
</span><b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R5/plandefinition.html" title="PlanDefinition">http://hl7.org/fhir/StructureDefinition/PlanDefinition</a><span style="color: navy">" </span><b>alias </b>PlanDefinitionR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> "</span><a href="http://hl7.org/fhir/R4/plandefinition.html" title="PlanDefinition">http://hl7.org/fhir/4.0/StructureDefinition/PlanDefinition</a><span style="color: navy">" </span><b>alias </b>PlanDefinitionR4 <b>as </b><b>target</b>
<b>imports</b><span style="color: navy"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">"
</span>
<b>group </b>PlanDefinition<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>PlanDefinitionR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>PlanDefinitionR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style="color: navy"> {
</span> src.url<span style="color: navy"><b> -> </b></span>tgt.url<span style="color: navy">;</span>
src.identifier<span style="color: navy"><b> -> </b></span>tgt.identifier<span style="color: navy">;</span>
src.version<span style="color: navy"><b> -> </b></span>tgt.version<span style="color: navy">;</span>
src.name<span style="color: navy"><b> -> </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.versionAlgorithm : string -> tgt.versionAlgorithm;</span>
src.title<span style="color: navy"><b> -> </b></span>tgt.title<span style="color: navy">;</span>
src.subtitle<span style="color: navy"><b> -> </b></span>tgt.subtitle<span style="color: navy">;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
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">'#PublicationStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.experimental<span style="color: navy"><b> -> </b></span>tgt.experimental<span style="color: navy">;</span>
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/resource-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>
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/resource-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>
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/resource-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>
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/resource-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>
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/resource-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>
src.subject<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -> </b></span>tgt.subject<span style="color: navy">;</span>
src.date<span style="color: navy"><b> -> </b></span>tgt.date<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.subject : canonical -> tgt.subject;</span>
src.publisher<span style="color: navy"><b> -> </b></span>tgt.publisher<span style="color: navy">;</span>
src.contact<span style="color: navy"><b> -> </b></span>tgt.contact<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.useContext<span style="color: navy"><b> -> </b></span>tgt.useContext<span style="color: navy">;</span>
src.jurisdiction<span style="color: navy"><b> -> </b></span>tgt.jurisdiction<span style="color: navy">;</span>
src.purpose<span style="color: navy"><b> -> </b></span>tgt.purpose<span style="color: navy">;</span>
src.usage<span style="color: navy"><b> -> </b></span>tgt.usage<span style="color: navy">;</span>
src.copyright<span style="color: navy"><b> -> </b></span>tgt.copyright<span style="color: navy">;</span>
src.approvalDate<span style="color: navy"><b> -> </b></span>tgt.approvalDate<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -> tgt.copyrightLabel;</span>
src.lastReviewDate<span style="color: navy"><b> -> </b></span>tgt.lastReviewDate<span style="color: navy">;</span>
src.effectivePeriod<span style="color: navy"><b> -> </b></span>tgt.effectivePeriod<span style="color: navy">;</span>
src.topic<span style="color: navy"><b> -> </b></span>tgt.topic<span style="color: navy">;</span>
src.author<span style="color: navy"><b> -> </b></span>tgt.author<span style="color: navy">;</span>
src.editor<span style="color: navy"><b> -> </b></span>tgt.editor<span style="color: navy">;</span>
src.reviewer<span style="color: navy"><b> -> </b></span>tgt.reviewer<span style="color: navy">;</span>
src.endorser<span style="color: navy"><b> -> </b></span>tgt.endorser<span style="color: navy">;</span>
src.relatedArtifact<span style="color: navy"><b> -> </b></span>tgt.relatedArtifact<span style="color: navy">;</span>
src.library<span style="color: navy"><b> -> </b></span>tgt.library<span style="color: navy">;</span>
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>
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> <span style="color: navy">// </span><span style="color: green">src.actor as s -> tgt.actor as t then PlanDefinitionActor(s,t);</span>
<span style="color: navy">}
</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"> {
</span> src.category<span style="color: navy"><b> -> </b></span>tgt.category<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.priority<span style="color: navy"><b> -> </b></span>tgt.priority<span style="color: navy">;</span>
src.start<span style="color: navy"><b> -> </b></span>tgt.start<span style="color: navy">;</span>
src.addresses<span style="color: navy"><b> -> </b></span>tgt.addresses<span style="color: navy">;</span>
src.documentation<span style="color: navy"><b> -> </b></span>tgt.documentation<span style="color: navy">;</span>
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>
<span style="color: navy">}
</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"> {
</span> src.measure<span style="color: navy"><b> -> </b></span>tgt.measure<span style="color: navy">;</span>
src.detail<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -> </b></span>tgt.detail<span style="color: navy">;</span>
src.detail<span style="color: navy"> : </span>Range<span style="color: navy"><b> -> </b></span>tgt.detail<span style="color: navy">;</span>
src.detail<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -> </b></span>tgt.detail<span style="color: navy">;</span>
src.due<span style="color: navy"><b> -> </b></span>tgt.due<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.detail : string -> tgt.detail;</span>
<span style="color: navy">}
</span><span style="color: navy">// </span><span style="color: green">group PlanDefinitionActor(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.title -> tgt.title;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.description -> tgt.description;</span>
<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>
<span style="color: navy">// </span><span style="color: green">}</span>
<span style="color: navy">// </span><span style="color: green">group PlanDefinitionActorOption(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type as v -> tgt.type = translate(v, '#ActivityParticipantType', 'code');</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.typeCanonical -> tgt.typeCanonical;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.typeReference -> tgt.typeReference;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.role -> tgt.role;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<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"> {
</span> src.linkId<span style="color: navy"><b> -> </b></span>tgt.id<span style="color: navy">;</span>
src.prefix<span style="color: navy"><b> -> </b></span>tgt.prefix<span style="color: navy">;</span>
src.title<span style="color: navy"><b> -> </b></span>tgt.title<span style="color: navy">;</span>
src.description<span style="color: navy"><b> -> </b></span>tgt.description<span style="color: navy">;</span>
src.textEquivalent<span style="color: navy"><b> -> </b></span>tgt.textEquivalent<span style="color: navy">;</span>
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">'#RequestPriority'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.code<span style="color: navy"><b> -> </b></span>tgt.code<span style="color: navy">;</span>
src.reason<span style="color: navy"><b> -> </b></span>tgt.reason<span style="color: navy">;</span>
src.documentation<span style="color: navy"><b> -> </b></span>tgt.documentation<span style="color: navy">;</span>
src.goalId<span style="color: navy"><b> -> </b></span>tgt.goalId<span style="color: navy">;</span>
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/resource-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>
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/resource-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>
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/resource-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>
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/resource-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>
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/resource-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>
src.subject<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -> </b></span>tgt.subject<span style="color: navy">;</span>
src.trigger<span style="color: navy"><b> -> </b></span>tgt.trigger<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.subject : canonical -> tgt.subject;</span>
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>
src.input<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.input = <span style="color: maroon">r.requirement</span><span style="color: navy">;</span>
src.output<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -> </b></span>tgt.output = <span style="color: maroon">r.requirement</span><span style="color: navy">;</span>
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>
src.timing<span style="color: navy"> : </span>Age<span style="color: navy"><b> -> </b></span>tgt.timing<span style="color: navy">;</span>
src.timing<span style="color: navy"> : </span>Duration<span style="color: navy"><b> -> </b></span>tgt.timing<span style="color: navy">;</span>
src.timing<span style="color: navy"> : </span>Range<span style="color: navy"><b> -> </b></span>tgt.timing<span style="color: navy">;</span>
src.timing<span style="color: navy"> : </span>Timing<span style="color: navy"><b> -> </b></span>tgt.timing<span style="color: navy">;</span>
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> <span style="color: navy">// </span><span style="color: green">src.location -> tgt.location;</span>
src.type<span style="color: navy"><b> -> </b></span>tgt.type<span style="color: navy">;</span>
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">'#ActionGroupingBehavior'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
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">'#ActionSelectionBehavior'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
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">'#ActionRequiredBehavior'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
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">'#ActionPrecheckBehavior'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
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">'#ActionCardinalityBehavior'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.definition<span style="color: navy"> : </span>canonical<span style="color: navy"><b> -> </b></span>tgt.definition<span style="color: navy">;</span>
src.definition<span style="color: navy"> : </span>uri<span style="color: navy"><b> -> </b></span>tgt.definition<span style="color: navy">;</span>
src.transform<span style="color: navy"><b> -> </b></span>tgt.transform<span style="color: navy">;</span>
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>
<span style="color: navy">}
</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"> {
</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">'#ActionConditionKind'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.expression<span style="color: navy"><b> -> </b></span>tgt.expression<span style="color: navy">;</span>
<span style="color: navy">}
</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"> {
</span> src.targetId<span style="color: navy"><b> -> </b></span>tgt.actionId<span style="color: navy">;</span>
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">'#ActionRelationshipType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.endRelationship<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">'#ActionRelationshipType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
src.offset<span style="color: navy"> : </span>Duration<span style="color: navy"><b> -> </b></span>tgt.offset<span style="color: navy">;</span>
src.offset<span style="color: navy"> : </span>Range<span style="color: navy"><b> -> </b></span>tgt.offset<span style="color: navy">;</span>
<span style="color: navy">}
</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"> {
</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">'#ActivityParticipantType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.actorId -> tgt.actorId;</span>
src.role<span style="color: navy"><b> -> </b></span>tgt.role<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.typeCanonical -> tgt.typeCanonical;</span>
<span style="color: navy">}
</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"> {
</span> src.path<span style="color: navy"><b> -> </b></span>tgt.path<span style="color: navy">;</span>
src.expression<span style="color: navy"><b> -> </b></span>tgt.expression<span style="color: navy">;</span>
<span style="color: navy">}
</span></pre></div>
</text>
<contained>
<ConceptMap>
<id value="ActionCardinalityBehavior"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-cardinality-behavior"/>
<target value="http://hl7.org/fhir/4.0/action-cardinality-behavior"/>
<element>
<code value="single"/>
<target>
<code value="single"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="multiple"/>
<target>
<code value="multiple"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ActionConditionKind"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-condition-kind"/>
<target value="http://hl7.org/fhir/4.0/action-condition-kind"/>
<element>
<code value="applicability"/>
<target>
<code value="applicability"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="start"/>
<target>
<code value="start"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="stop"/>
<target>
<code value="stop"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ActionGroupingBehavior"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-grouping-behavior"/>
<target value="http://hl7.org/fhir/4.0/action-grouping-behavior"/>
<element>
<code value="visual-group"/>
<target>
<code value="visual-group"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="logical-group"/>
<target>
<code value="logical-group"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="sentence-group"/>
<target>
<code value="sentence-group"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ActionPrecheckBehavior"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-precheck-behavior"/>
<target value="http://hl7.org/fhir/4.0/action-precheck-behavior"/>
<element>
<code value="yes"/>
<target>
<code value="yes"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="no"/>
<target>
<code value="no"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ActionRelationshipType"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-relationship-type"/>
<target value="http://hl7.org/fhir/4.0/action-relationship-type"/>
<element>
<code value="before"/>
<target>
<code value="before"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="before-start"/>
<target>
<code value="before-start"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="before-end"/>
<target>
<code value="before-end"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="concurrent"/>
<target>
<code value="concurrent"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="concurrent-with-start"/>
<target>
<code value="concurrent-with-start"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="concurrent-with-end"/>
<target>
<code value="concurrent-with-end"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="after"/>
<target>
<code value="after"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="after-start"/>
<target>
<code value="after-start"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="after-end"/>
<target>
<code value="after-end"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ActionRequiredBehavior"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-required-behavior"/>
<target value="http://hl7.org/fhir/4.0/action-required-behavior"/>
<element>
<code value="must"/>
<target>
<code value="must"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="could"/>
<target>
<code value="could"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="must-unless-documented"/>
<target>
<code value="must-unless-documented"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ActionSelectionBehavior"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-selection-behavior"/>
<target value="http://hl7.org/fhir/4.0/action-selection-behavior"/>
<element>
<code value="any"/>
<target>
<code value="any"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="all"/>
<target>
<code value="all"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="all-or-none"/>
<target>
<code value="all-or-none"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="exactly-one"/>
<target>
<code value="exactly-one"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="at-most-one"/>
<target>
<code value="at-most-one"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="one-or-more"/>
<target>
<code value="one-or-more"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="ActivityParticipantType"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/action-participant-type"/>
<target value="http://hl7.org/fhir/4.0/action-participant-type"/>
<element>
<code value="device"/>
<target>
<code value="device"/>
<relationship value="related-to"/>
<comment value="s:"group" - t:"group""/>
</target>
</element>
<element>
<code value="patient"/>
<target>
<code value="patient"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="practitioner"/>
<target>
<code value="practitioner"/>
<relationship value="related-to"/>
<comment
value="s:"practitionerrole" - t:"practitionerrole""/>
</target>
</element>
<element>
<code value="relatedperson"/>
<target>
<code value="related-person"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="PublicationStatus"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/publication-status"/>
<target value="http://hl7.org/fhir/4.0/publication-status"/>
<element>
<code value="draft"/>
<target>
<code value="draft"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="active"/>
<target>
<code value="active"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="retired"/>
<target>
<code value="retired"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="unknown"/>
<target>
<code value="unknown"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<contained>
<ConceptMap>
<id value="RequestPriority"/>
<status value="active"/>
<group>
<source value="http://hl7.org/fhir/request-priority"/>
<target value="http://hl7.org/fhir/4.0/request-priority"/>
<element>
<code value="routine"/>
<target>
<code value="routine"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="urgent"/>
<target>
<code value="urgent"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="asap"/>
<target>
<code value="asap"/>
<relationship value="related-to"/>
</target>
</element>
<element>
<code value="stat"/>
<target>
<code value="stat"/>
<relationship value="related-to"/>
</target>
</element>
</group>
</ConceptMap>
</contained>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="1">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
</extension>
</valueInteger>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use">
<extension
url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
<valueCanonical
value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
</extension>
</valueCode>
</extension>
<url value="http://hl7.org/fhir/StructureMap/PlanDefinition5to4"/>
<version value="5.1.0"/>
<name value="PlanDefinition5to4"/>
<title value="FML Conversion for PlanDefinition: R5 to R4"/>
<status value="active"/>
<date value="2024-04-27T18:40:24+10:00"/>
<publisher value="HL7 International / FHIR Infrastructure"/>
<contact>
<telecom>
<system value="url"/>
<value value="http://www.hl7.org/Special/committees/fiwg"/>
</telecom>
</contact>
<description value="FMLConversionforPlanDefinitionR5toR4"/>
<jurisdiction>
<coding>
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
<code value="001"/>
</coding>
</jurisdiction>
<structure>
<url value="http://hl7.org/fhir/StructureDefinition/PlanDefinition"/>
<mode value="source"/>
<alias value="PlanDefinitionR5"/>
</structure>
<structure>
<url value="http://hl7.org/fhir/4.0/StructureDefinition/PlanDefinition"/>
<mode value="target"/>
<alias value="PlanDefinitionR4"/>
</structure>
<import value="http://hl7.org/fhir/StructureMap/*5to4"/>
<group>
<name value="PlanDefinition"/>
<extends value="DomainResource"/>
<typeMode value="type-and-types"/>
<input>
<name value="src"/>
<type value="PlanDefinitionR5"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<type value="PlanDefinitionR4"/>
<mode value="target"/>
</input>
<rule>
<name value="url"/>
<source>
<context value="src"/>
<element value="url"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="url"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="identifier"/>
<source>
<context value="src"/>
<element value="identifier"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="identifier"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="version"/>
<source>
<context value="src"/>
<element value="version"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="version"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="name"/>
<source>
<context value="src"/>
<element value="name"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="name"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation
value="src.versionAlgorithm : string -> tgt.versionAlgorithm;"/>
</rule>
<rule>
<name value="title"/>
<source>
<context value="src"/>
<element value="title"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="title"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="subtitle"/>
<source>
<context value="src"/>
<element value="subtitle"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="subtitle"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="type"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="status"/>
<source>
<context value="src"/>
<element value="status"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="status"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#PublicationStatus"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="experimental"/>
<source>
<context value="src"/>
<element value="experimental"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="experimental"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Patient'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Practitioner'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Practitioner"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Organization'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Organization"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Location'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Location"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Device'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Device"/>
</parameter>
</target>
</rule>
<rule>
<name value="subjectReference"/>
<source>
<context value="src"/>
<type value="Reference"/>
<element value="subject"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="date"/>
<source>
<context value="src"/>
<element value="date"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="date"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.subject : canonical -> tgt.subject;"/>
</rule>
<rule>
<name value="publisher"/>
<source>
<context value="src"/>
<element value="publisher"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="publisher"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="contact"/>
<source>
<context value="src"/>
<element value="contact"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="contact"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="description"/>
<source>
<context value="src"/>
<element value="description"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="description"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="useContext"/>
<source>
<context value="src"/>
<element value="useContext"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="useContext"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="jurisdiction"/>
<source>
<context value="src"/>
<element value="jurisdiction"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="jurisdiction"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="purpose"/>
<source>
<context value="src"/>
<element value="purpose"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="purpose"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="usage"/>
<source>
<context value="src"/>
<element value="usage"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="usage"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="copyright"/>
<source>
<context value="src"/>
<element value="copyright"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="copyright"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="approvalDate"/>
<source>
<context value="src"/>
<element value="approvalDate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="approvalDate"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.copyrightLabel -> tgt.copyrightLabel;"/>
</rule>
<rule>
<name value="lastReviewDate"/>
<source>
<context value="src"/>
<element value="lastReviewDate"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="lastReviewDate"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="effectivePeriod"/>
<source>
<context value="src"/>
<element value="effectivePeriod"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="effectivePeriod"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="topic"/>
<source>
<context value="src"/>
<element value="topic"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="topic"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="author"/>
<source>
<context value="src"/>
<element value="author"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="author"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="editor"/>
<source>
<context value="src"/>
<element value="editor"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="editor"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="reviewer"/>
<source>
<context value="src"/>
<element value="reviewer"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="reviewer"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="endorser"/>
<source>
<context value="src"/>
<element value="endorser"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="endorser"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="relatedArtifact"/>
<source>
<context value="src"/>
<element value="relatedArtifact"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="relatedArtifact"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="library"/>
<source>
<context value="src"/>
<element value="library"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="library"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="goal"/>
<source>
<context value="src"/>
<element value="goal"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="goal"/>
<variable value="t"/>
</target>
<dependent>
<name value="PlanDefinitionGoal"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="action"/>
<source>
<context value="src"/>
<element value="action"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="action"/>
<variable value="t"/>
</target>
<dependent>
<name value="PlanDefinitionAction"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
<documentation
value="src.actor as s -> tgt.actor as t then PlanDefinitionActor(s,t);"/>
</rule>
</group>
<group>
<name value="PlanDefinitionGoal"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="category"/>
<source>
<context value="src"/>
<element value="category"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="category"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="description"/>
<source>
<context value="src"/>
<element value="description"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="description"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="priority"/>
<source>
<context value="src"/>
<element value="priority"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="priority"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="start"/>
<source>
<context value="src"/>
<element value="start"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="start"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="addresses"/>
<source>
<context value="src"/>
<element value="addresses"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="addresses"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="documentation"/>
<source>
<context value="src"/>
<element value="documentation"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="documentation"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="target"/>
<source>
<context value="src"/>
<element value="target"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="target"/>
<variable value="t"/>
</target>
<dependent>
<name value="PlanDefinitionGoalTarget"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="PlanDefinitionGoalTarget"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="measure"/>
<source>
<context value="src"/>
<element value="measure"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="measure"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="detailQuantity"/>
<source>
<context value="src"/>
<type value="Quantity"/>
<element value="detail"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="detail"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="detailRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="detail"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="detail"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="detailCodeableConcept"/>
<source>
<context value="src"/>
<type value="CodeableConcept"/>
<element value="detail"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="detail"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="due"/>
<source>
<context value="src"/>
<element value="due"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="due"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.detail : string -> tgt.detail;"/>
</rule>
</group>
<group>
<name value="PlanDefinitionAction"/>
<extends value="BackboneElement"/>
<documentation
value="group PlanDefinitionActor(source src, target tgt) extends BackboneElement {
src.title -> tgt.title;
src.description -> tgt.description;
src.option as s -> tgt.option as t then PlanDefinitionActorOption(s,t);
}
group PlanDefinitionActorOption(source src, target tgt) extends BackboneElement {
src.type as v -> tgt.type = translate(v, '#ActivityParticipantType', 'code');
src.typeCanonical -> tgt.typeCanonical;
src.typeReference -> tgt.typeReference;
src.role -> tgt.role;
}"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="linkId"/>
<source>
<context value="src"/>
<element value="linkId"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="id"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="prefix"/>
<source>
<context value="src"/>
<element value="prefix"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="prefix"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="title"/>
<source>
<context value="src"/>
<element value="title"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="title"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="description"/>
<source>
<context value="src"/>
<element value="description"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="description"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="textEquivalent"/>
<source>
<context value="src"/>
<element value="textEquivalent"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="textEquivalent"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="priority"/>
<source>
<context value="src"/>
<element value="priority"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="priority"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#RequestPriority"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="code"/>
<source>
<context value="src"/>
<element value="code"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="code"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="reason"/>
<source>
<context value="src"/>
<element value="reason"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="reason"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="documentation"/>
<source>
<context value="src"/>
<element value="documentation"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="documentation"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="goalId"/>
<source>
<context value="src"/>
<element value="goalId"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="goalId"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Patient'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Practitioner'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Practitioner"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Organization'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Organization"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Location'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Location"/>
</parameter>
</target>
</rule>
<rule>
<name value="subject"/>
<source>
<context value="src"/>
<element value="subject"/>
<variable value="s"/>
<condition value="code = 'Device'"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="tc"/>
<transform value="create"/>
<parameter>
<valueString value="CodeableConcept"/>
</parameter>
</target>
<target>
<context value="tc"/>
<element value="coding"/>
<variable value="tcc"/>
<transform value="create"/>
<parameter>
<valueString value="Coding"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="system"/>
<transform value="copy"/>
<parameter>
<valueString value="http://hl7.org/fhir/resource-types"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="code"/>
<transform value="copy"/>
<parameter>
<valueString value="Patient"/>
</parameter>
</target>
<target>
<context value="tcc"/>
<element value="display"/>
<transform value="copy"/>
<parameter>
<valueString value="Device"/>
</parameter>
</target>
</rule>
<rule>
<name value="subjectReference"/>
<source>
<context value="src"/>
<type value="Reference"/>
<element value="subject"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="subject"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="trigger"/>
<source>
<context value="src"/>
<element value="trigger"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="trigger"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.subject : canonical -> tgt.subject;"/>
</rule>
<rule>
<name value="condition"/>
<source>
<context value="src"/>
<element value="condition"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="condition"/>
<variable value="t"/>
</target>
<dependent>
<name value="PlanDefinitionActionCondition"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="input"/>
<source>
<context value="src"/>
<element value="input"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="input"/>
<transform value="copy"/>
<parameter>
<valueId value="r.requirement"/>
</parameter>
</target>
</rule>
<rule>
<name value="output"/>
<source>
<context value="src"/>
<element value="output"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="output"/>
<transform value="copy"/>
<parameter>
<valueId value="r.requirement"/>
</parameter>
</target>
</rule>
<rule>
<name value="relatedAction"/>
<source>
<context value="src"/>
<element value="relatedAction"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="relatedAction"/>
<variable value="t"/>
</target>
<dependent>
<name value="PlanDefinitionActionRelatedAction"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="timingAge"/>
<source>
<context value="src"/>
<type value="Age"/>
<element value="timing"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="timing"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="timingDuration"/>
<source>
<context value="src"/>
<type value="Duration"/>
<element value="timing"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="timing"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="timingRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="timing"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="timing"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="timingTiming"/>
<source>
<context value="src"/>
<type value="Timing"/>
<element value="timing"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="timing"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="participant"/>
<source>
<context value="src"/>
<element value="participant"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="participant"/>
<variable value="t"/>
</target>
<dependent>
<name value="PlanDefinitionActionParticipant"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
<documentation value="src.location -> tgt.location;"/>
</rule>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="type"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="groupingBehavior"/>
<source>
<context value="src"/>
<element value="groupingBehavior"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="groupingBehavior"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionGroupingBehavior"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="selectionBehavior"/>
<source>
<context value="src"/>
<element value="selectionBehavior"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="selectionBehavior"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionSelectionBehavior"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="requiredBehavior"/>
<source>
<context value="src"/>
<element value="requiredBehavior"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="requiredBehavior"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionRequiredBehavior"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="precheckBehavior"/>
<source>
<context value="src"/>
<element value="precheckBehavior"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="precheckBehavior"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionPrecheckBehavior"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="cardinalityBehavior"/>
<source>
<context value="src"/>
<element value="cardinalityBehavior"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="cardinalityBehavior"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionCardinalityBehavior"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="definitionCanonical"/>
<source>
<context value="src"/>
<type value="canonical"/>
<element value="definition"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="definition"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="definitionUri"/>
<source>
<context value="src"/>
<type value="uri"/>
<element value="definition"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="definition"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="transform"/>
<source>
<context value="src"/>
<element value="transform"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="transform"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="dynamicValue"/>
<source>
<context value="src"/>
<element value="dynamicValue"/>
<variable value="s"/>
</source>
<target>
<context value="tgt"/>
<element value="dynamicValue"/>
<variable value="t"/>
</target>
<dependent>
<name value="PlanDefinitionActionDynamicValue"/>
<parameter>
<valueId value="s"/>
</parameter>
<parameter>
<valueId value="t"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="PlanDefinitionActionCondition"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="kind"/>
<source>
<context value="src"/>
<element value="kind"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="kind"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionConditionKind"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="expression"/>
<source>
<context value="src"/>
<element value="expression"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="expression"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="PlanDefinitionActionRelatedAction"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="targetId"/>
<source>
<context value="src"/>
<element value="targetId"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="actionId"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="relationship"/>
<source>
<context value="src"/>
<element value="relationship"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="relationship"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionRelationshipType"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="endRelationship"/>
<source>
<context value="src"/>
<element value="endRelationship"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="relationship"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActionRelationshipType"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
</rule>
<rule>
<name value="offsetDuration"/>
<source>
<context value="src"/>
<type value="Duration"/>
<element value="offset"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="offset"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="offsetRange"/>
<source>
<context value="src"/>
<type value="Range"/>
<element value="offset"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="offset"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
<group>
<name value="PlanDefinitionActionParticipant"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="type"/>
<source>
<context value="src"/>
<element value="type"/>
<variable value="v"/>
</source>
<target>
<context value="tgt"/>
<element value="type"/>
<transform value="translate"/>
<parameter>
<valueId value="v"/>
</parameter>
<parameter>
<valueString value="#ActivityParticipantType"/>
</parameter>
<parameter>
<valueString value="code"/>
</parameter>
</target>
<documentation value="src.actorId -> tgt.actorId;"/>
</rule>
<rule>
<name value="role"/>
<source>
<context value="src"/>
<element value="role"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="role"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
<documentation value="src.typeCanonical -> tgt.typeCanonical;"/>
</rule>
</group>
<group>
<name value="PlanDefinitionActionDynamicValue"/>
<extends value="BackboneElement"/>
<input>
<name value="src"/>
<mode value="source"/>
</input>
<input>
<name value="tgt"/>
<mode value="target"/>
</input>
<rule>
<name value="path"/>
<source>
<context value="src"/>
<element value="path"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="path"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
<rule>
<name value="expression"/>
<source>
<context value="src"/>
<element value="expression"/>
<variable value="vvv"/>
</source>
<target>
<context value="tgt"/>
<element value="expression"/>
<variable value="vvv"/>
<transform value="create"/>
</target>
<dependent>
<name value="DefaultMappingGroupAnonymousAlias"/>
<parameter>
<valueId value="vvv"/>
</parameter>
<parameter>
<valueId value="vvv"/>
</parameter>
</dependent>
</rule>
</group>
</StructureMap>