FHIR Extensions Pack
1.0.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR 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

: FML Conversion for RequestOrchestration: R4B to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="RequestOrchestration4Bto5"/>
  <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/RequestOrchestration4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'RequestOrchestration4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for RequestOrchestration: R4B to R5'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'active'</span>

<b>conceptmap</b><span style="color: navy"> &quot;</span>ActionCardinalityBehavior<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-cardinality-behavior.html" title="ActionCardinalityBehavior">http://hl7.org/fhir/4.3/action-cardinality-behavior</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</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"> &quot;</span>ActionConditionKind<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-condition-kind.html" title="ActionConditionKind">http://hl7.org/fhir/4.3/action-condition-kind</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</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"> &quot;</span>ActionGroupingBehavior<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-grouping-behavior.html" title="ActionGroupingBehavior">http://hl7.org/fhir/4.3/action-grouping-behavior</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</span>
  s<span style="color: navy">:</span>&quot;visual-group&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>visual-group<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;logical-group&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>logical-group<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;sentence-group&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>sentence-group<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ActionPrecheckBehavior<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-precheck-behavior.html" title="ActionPrecheckBehavior">http://hl7.org/fhir/4.3/action-precheck-behavior</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</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"> &quot;</span>ActionRelationshipType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-relationship-type.html" title="ActionRelationshipType">http://hl7.org/fhir/4.3/action-relationship-type</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</span>
  s<span style="color: navy">:</span>before <b>-</b> t<span style="color: navy">:</span>before
  s<span style="color: navy">:</span>&quot;before-start&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>before-start<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;before-end&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>before-end<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>concurrent <b>-</b> t<span style="color: navy">:</span>concurrent
  s<span style="color: navy">:</span>&quot;concurrent-with-start&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>concurrent-with-start<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;concurrent-with-end&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>concurrent-with-end<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>after <b>-</b> t<span style="color: navy">:</span>after
  s<span style="color: navy">:</span>&quot;after-start&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>after-start<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;after-end&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>after-end<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ActionRequiredBehavior<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-required-behavior.html" title="ActionRequiredBehavior">http://hl7.org/fhir/4.3/action-required-behavior</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</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>&quot;must-unless-documented&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>must-unless-documented<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>ActionSelectionBehavior<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-selection-behavior.html" title="ActionSelectionBehavior">http://hl7.org/fhir/4.3/action-selection-behavior</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</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>&quot;all-or-none&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>all-or-none<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;exactly-one&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>exactly-one<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;at-most-one&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>at-most-one<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;one-or-more&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>one-or-more<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>RequestIntent<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-request-intent.html" title="RequestIntent">http://hl7.org/fhir/4.3/request-intent</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-request-intent.html" title="RequestIntent">http://hl7.org/fhir/request-intent</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>proposal <b>-</b> t<span style="color: navy">:</span>proposal
  s<span style="color: navy">:</span>plan <b>-</b> t<span style="color: navy">:</span>plan
  s<span style="color: navy">:</span>directive <b>-</b> t<span style="color: navy">:</span>directive
  s<span style="color: navy">:</span>order <b>-</b> t<span style="color: navy">:</span>order
  s<span style="color: navy">:</span>&quot;original-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>original-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;reflex-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>reflex-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;filler-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>filler-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;instance-order&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>instance-order<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>option <b>-</b> t<span style="color: navy">:</span>option
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>RequestPriority<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-request-priority.html" title="RequestPriority">http://hl7.org/fhir/4.3/request-priority</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</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">&quot;
</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>conceptmap</b><span style="color: navy"> &quot;</span>RequestStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-request-status.html" title="RequestStatus">http://hl7.org/fhir/4.3/request-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-request-status.html" title="RequestStatus">http://hl7.org/fhir/request-status</a><span style="color: navy">&quot;
</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>&quot;on-hold&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>on-hold<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>revoked <b>-</b> t<span style="color: navy">:</span>revoked
  s<span style="color: navy">:</span>completed <b>-</b> t<span style="color: navy">:</span>completed
  s<span style="color: navy">:</span>&quot;entered-in-error&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>entered-in-error<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/requestgroup.html" title="RequestGroup">http://hl7.org/fhir/4.3/StructureDefinition/RequestGroup</a><span style="color: navy">&quot; </span><b>alias </b>RequestGroupR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/requestorchestration.html" title="RequestOrchestration">http://hl7.org/fhir/StructureDefinition/RequestOrchestration</a><span style="color: navy">&quot; </span><b>alias </b>RequestOrchestrationR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style="color: navy">&quot;
</span>
<b>group </b>RequestOrchestration<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>RequestGroupR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>RequestOrchestrationR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.instantiatesCanonical<span style="color: navy"><b> -&gt; </b></span>tgt.instantiatesCanonical<span style="color: navy">;</span>
  src.instantiatesUri<span style="color: navy"><b> -&gt; </b></span>tgt.instantiatesUri<span style="color: navy">;</span>
  src.basedOn<span style="color: navy"><b> -&gt; </b></span>tgt.basedOn<span style="color: navy">;</span>
  src.replaces<span style="color: navy"><b> -&gt; </b></span>tgt.replaces<span style="color: navy">;</span>
  src.groupIdentifier<span style="color: navy"><b> -&gt; </b></span>tgt.groupIdentifier<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </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">'#RequestStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.intent<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.intent = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#RequestIntent'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.priority<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </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> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.subject<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span>
  src.encounter<span style="color: navy"><b> -&gt; </b></span>tgt.encounter<span style="color: navy">;</span>
  src.authoredOn<span style="color: navy"><b> -&gt; </b></span>tgt.authoredOn<span style="color: navy">;</span>
  src.author<span style="color: navy"><b> -&gt; </b></span>tgt.author<span style="color: navy">;</span>
  src.reasonCode<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.reason<span style="color: navy">;</span>
  src.reasonReference<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.reason<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.goal -&gt; tgt.goal;</span>
  src.action<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.action<b> as </b><span style="color: maroon">t</span><b> then </b>RequestOrchestrationAction<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>RequestOrchestrationAction<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.prefix<span style="color: navy"><b> -&gt; </b></span>tgt.prefix<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.linkId -&gt; tgt.linkId;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.textEquivalent<span style="color: navy"><b> -&gt; </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> -&gt; </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> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<span style="color: navy">;</span>
  src.condition<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.condition<b> as </b><span style="color: maroon">t</span><b> then </b>RequestOrchestrationActionCondition<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.goal -&gt; tgt.goal;</span>
  src.relatedAction<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.relatedAction<b> as </b><span style="color: maroon">t</span><b> then </b>RequestOrchestrationActionRelatedAction<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.input as s -&gt; tgt.input as t then RequestOrchestrationActionInput(s,t);</span>
  src.timing<span style="color: navy"> : </span>dateTime<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.timing<span style="color: navy"> : </span>Age<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.timing<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.timing<span style="color: navy"> : </span>Duration<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.timing<span style="color: navy"> : </span>Range<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.timing<span style="color: navy"> : </span>Timing<span style="color: navy"><b> -&gt; </b></span>tgt.timing<span style="color: navy">;</span>
  src.participant<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span> tgt.participant<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.actor = <span style="color: maroon">s</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.location -&gt; tgt.location;</span>
  src.type<span style="color: navy"><b> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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> -&gt; </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.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>RequestOrchestrationActionCondition<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> -&gt; </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> -&gt; </b></span>tgt.expression<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group RequestOrchestrationActionInput(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.title -&gt; tgt.title;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.requirement -&gt; tgt.requirement;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.relatedData -&gt; tgt.relatedData;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<span style="color: navy">// </span><span style="color: green">group RequestOrchestrationActionOutput(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.title -&gt; tgt.title;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.requirement -&gt; tgt.requirement;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.relatedData -&gt; tgt.relatedData;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>RequestOrchestrationActionRelatedAction<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.actionId<span style="color: navy"><b> -&gt; </b></span>tgt.targetId<span style="color: navy">;</span>
  src.relationship<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </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> -&gt; </b></span>tgt.offset<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.endRelationship as v -&gt; tgt.endRelationship = translate(v, '#ActionRelationshipType', 'code');</span>
  src.offset<span style="color: navy"> : </span>Range<span style="color: navy"><b> -&gt; </b></span>tgt.offset<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/4.3/action-cardinality-behavior"/>
        <target value="http://hl7.org/fhir/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/4.3/action-condition-kind"/>
        <target value="http://hl7.org/fhir/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/4.3/action-grouping-behavior"/>
        <target value="http://hl7.org/fhir/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/4.3/action-precheck-behavior"/>
        <target value="http://hl7.org/fhir/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/4.3/action-relationship-type"/>
        <target value="http://hl7.org/fhir/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/4.3/action-required-behavior"/>
        <target value="http://hl7.org/fhir/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/4.3/action-selection-behavior"/>
        <target value="http://hl7.org/fhir/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="RequestIntent"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/request-intent"/>
        <target value="http://hl7.org/fhir/request-intent"/>
        <element>
          <code value="proposal"/>
          <target>
            <code value="proposal"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="plan"/>
          <target>
            <code value="plan"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="directive"/>
          <target>
            <code value="directive"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="order"/>
          <target>
            <code value="order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="original-order"/>
          <target>
            <code value="original-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="reflex-order"/>
          <target>
            <code value="reflex-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="filler-order"/>
          <target>
            <code value="filler-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="instance-order"/>
          <target>
            <code value="instance-order"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="option"/>
          <target>
            <code value="option"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="RequestPriority"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/request-priority"/>
        <target value="http://hl7.org/fhir/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>
  <contained>
    <ConceptMap>
      <id value="RequestStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/request-status"/>
        <target value="http://hl7.org/fhir/request-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="on-hold"/>
          <target>
            <code value="on-hold"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="revoked"/>
          <target>
            <code value="revoked"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="completed"/>
          <target>
            <code value="completed"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <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/RequestOrchestration4Bto5"/>
  <version value="1.0.0"/>
  <name value="RequestOrchestration4Bto5"/>
  <title value="FML Conversion for RequestOrchestration: R4B to R5"/>
  <status value="active"/>
  <date value="2023-03-26T08:47:34+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/fhir-i"/>
    </telecom>
  </contact>
  <description value="FMLConversionforRequestOrchestrationR4BtoR5"/>
  <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/4.3/StructureDefinition/RequestGroup"/>
    <mode value="source"/>
    <alias value="RequestGroupR4B"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/StructureDefinition/RequestOrchestration"/>
    <mode value="target"/>
    <alias value="RequestOrchestrationR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="RequestOrchestration"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="RequestGroupR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="RequestOrchestrationR5"/>
      <mode value="target"/>
    </input>
    <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="instantiatesCanonical"/>
      <source>
        <context value="src"/>
        <element value="instantiatesCanonical"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiatesCanonical"/>
        <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="instantiatesUri"/>
      <source>
        <context value="src"/>
        <element value="instantiatesUri"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instantiatesUri"/>
        <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="basedOn"/>
      <source>
        <context value="src"/>
        <element value="basedOn"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="basedOn"/>
        <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="replaces"/>
      <source>
        <context value="src"/>
        <element value="replaces"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="replaces"/>
        <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="groupIdentifier"/>
      <source>
        <context value="src"/>
        <element value="groupIdentifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="groupIdentifier"/>
        <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="#RequestStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="intent"/>
      <source>
        <context value="src"/>
        <element value="intent"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="intent"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#RequestIntent"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </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="subject"/>
      <source>
        <context value="src"/>
        <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="encounter"/>
      <source>
        <context value="src"/>
        <element value="encounter"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="encounter"/>
        <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="authoredOn"/>
      <source>
        <context value="src"/>
        <element value="authoredOn"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="authoredOn"/>
        <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="reasonCodeCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="reasonCode"/>
        <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="reasonReferenceReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="reasonReference"/>
        <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="note"/>
      <source>
        <context value="src"/>
        <element value="note"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="note"/>
        <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.goal -&gt; tgt.goal;"/>
    </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="RequestOrchestrationAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="RequestOrchestrationAction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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>
      <documentation value="src.linkId -&gt; tgt.linkId;"/>
    </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="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="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="RequestOrchestrationActionCondition"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation value="src.goal -&gt; tgt.goal;"/>
    </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="RequestOrchestrationActionRelatedAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.input as s -&gt; tgt.input as t then RequestOrchestrationActionInput(s,t);"/>
    </rule>
    <rule>
      <name value="timingDateTime"/>
      <source>
        <context value="src"/>
        <type value="dateTime"/>
        <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="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="timingPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <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="participantReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="participant"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="participant"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="actor"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
      </target>
      <documentation value="src.location -&gt; 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="resource"/>
      <source>
        <context value="src"/>
        <element value="resource"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <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="RequestOrchestrationActionCondition"/>
    <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="RequestOrchestrationActionRelatedAction"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group RequestOrchestrationActionInput(source src, target tgt) extends BackboneElement {
src.title -&gt; tgt.title;
src.requirement -&gt; tgt.requirement;
src.relatedData -&gt; tgt.relatedData;
}
group RequestOrchestrationActionOutput(source src, target tgt) extends BackboneElement {
src.title -&gt; tgt.title;
src.requirement -&gt; tgt.requirement;
src.relatedData -&gt; tgt.relatedData;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="actionId"/>
      <source>
        <context value="src"/>
        <element value="actionId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="targetId"/>
        <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="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>
      <documentation
                     value="src.endRelationship as v -&gt; tgt.endRelationship = translate(v, '#ActionRelationshipType', 'code');"/>
    </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>
</StructureMap>