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: R5 to R4B - JSON Representation

Page standards status: Trial-use Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "RequestOrchestration5to4B",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/RequestOrchestration5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'RequestOrchestration5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for RequestOrchestration: R5 to R4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ActionCardinalityBehavior<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>single <b>-</b> t<span style=\"color: navy\">:</span>single\r\n  s<span style=\"color: navy\">:</span>multiple <b>-</b> t<span style=\"color: navy\">:</span>multiple\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ActionConditionKind<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>applicability <b>-</b> t<span style=\"color: navy\">:</span>applicability\r\n  s<span style=\"color: navy\">:</span>start <b>-</b> t<span style=\"color: navy\">:</span>start\r\n  s<span style=\"color: navy\">:</span>stop <b>-</b> t<span style=\"color: navy\">:</span>stop\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ActionGroupingBehavior<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  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>\r\n  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>\r\n  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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ActionPrecheckBehavior<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>yes <b>-</b> t<span style=\"color: navy\">:</span>yes\r\n  s<span style=\"color: navy\">:</span>no <b>-</b> t<span style=\"color: navy\">:</span>no\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ActionRelationshipType<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>before <b>-</b> t<span style=\"color: navy\">:</span>before\r\n  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>\r\n  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>\r\n  s<span style=\"color: navy\">:</span>concurrent <b>-</b> t<span style=\"color: navy\">:</span>concurrent\r\n  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>\r\n  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>\r\n  s<span style=\"color: navy\">:</span>after <b>-</b> t<span style=\"color: navy\">:</span>after\r\n  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>\r\n  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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ActionRequiredBehavior<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>must <b>-</b> t<span style=\"color: navy\">:</span>must\r\n  s<span style=\"color: navy\">:</span>could <b>-</b> t<span style=\"color: navy\">:</span>could\r\n  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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>ActionSelectionBehavior<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>any <b>-</b> t<span style=\"color: navy\">:</span>any\r\n  s<span style=\"color: navy\">:</span>all <b>-</b> t<span style=\"color: navy\">:</span>all\r\n  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>\r\n  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>\r\n  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>\r\n  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>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>RequestIntent<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>proposal <b>-</b> t<span style=\"color: navy\">:</span>proposal\r\n  s<span style=\"color: navy\">:</span>plan <b>-</b> t<span style=\"color: navy\">:</span>plan\r\n  s<span style=\"color: navy\">:</span>directive <b>-</b> t<span style=\"color: navy\">:</span>directive\r\n  s<span style=\"color: navy\">:</span>order <b>-</b> t<span style=\"color: navy\">:</span>order\r\n  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>\r\n  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>\r\n  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>\r\n  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>\r\n  s<span style=\"color: navy\">:</span>option <b>-</b> t<span style=\"color: navy\">:</span>option\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>RequestPriority<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>routine <b>-</b> t<span style=\"color: navy\">:</span>routine\r\n  s<span style=\"color: navy\">:</span>urgent <b>-</b> t<span style=\"color: navy\">:</span>urgent\r\n  s<span style=\"color: navy\">:</span>asap <b>-</b> t<span style=\"color: navy\">:</span>asap\r\n  s<span style=\"color: navy\">:</span>stat <b>-</b> t<span style=\"color: navy\">:</span>stat\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> &quot;</span>RequestStatus<span style=\"color: navy\">&quot; {\r\n</span><b>  prefix </b>s<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;\r\n</span><b>  prefix </b>t<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;\r\n</span>\r\n  s<span style=\"color: navy\">:</span>draft <b>-</b> t<span style=\"color: navy\">:</span>draft\r\n  s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n  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>\r\n  s<span style=\"color: navy\">:</span>revoked <b>-</b> t<span style=\"color: navy\">:</span>revoked\r\n  s<span style=\"color: navy\">:</span>completed <b>-</b> t<span style=\"color: navy\">:</span>completed\r\n  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>\r\n  s<span style=\"color: navy\">:</span>unknown <b>-</b> t<span style=\"color: navy\">:</span>unknown\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &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>source</b>\r\n<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>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4B<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>RequestOrchestration<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>RequestOrchestrationR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>RequestGroupR4B<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n  src.instantiatesCanonical<span style=\"color: navy\"><b> -&gt; </b></span>tgt.instantiatesCanonical<span style=\"color: navy\">;</span>\r\n  src.instantiatesUri<span style=\"color: navy\"><b> -&gt; </b></span>tgt.instantiatesUri<span style=\"color: navy\">;</span>\r\n  src.basedOn<span style=\"color: navy\"><b> -&gt; </b></span>tgt.basedOn<span style=\"color: navy\">;</span>\r\n  src.replaces<span style=\"color: navy\"><b> -&gt; </b></span>tgt.replaces<span style=\"color: navy\">;</span>\r\n  src.groupIdentifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.groupIdentifier<span style=\"color: navy\">;</span>\r\n  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>\r\n  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>\r\n  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>\r\n  src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n  src.subject<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject<span style=\"color: navy\">;</span>\r\n  src.encounter<span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter<span style=\"color: navy\">;</span>\r\n  src.authoredOn<span style=\"color: navy\"><b> -&gt; </b></span>tgt.authoredOn<span style=\"color: navy\">;</span>\r\n  src.author<span style=\"color: navy\"><b> -&gt; </b></span>tgt.author<span style=\"color: navy\">;</span>\r\n  src.reason<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reasonCode<span style=\"color: navy\">;</span>\r\n  src.reason<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reasonReference<span style=\"color: navy\">;</span>\r\n  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>\r\n  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>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</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>\r\n  src.title<span style=\"color: navy\"><b> -&gt; </b></span>tgt.title<span style=\"color: navy\">;</span>\r\n  src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n  src.textEquivalent<span style=\"color: navy\"><b> -&gt; </b></span>tgt.textEquivalent<span style=\"color: navy\">;</span>\r\n  src.priority<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&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>\r\n  src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n  src.documentation<span style=\"color: navy\"><b> -&gt; </b></span>tgt.documentation<span style=\"color: navy\">;</span>\r\n  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>\r\n  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>\r\n  src.timing<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -&gt; </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n  src.timing<span style=\"color: navy\"> : </span>Age<span style=\"color: navy\"><b> -&gt; </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n  src.timing<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -&gt; </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n  src.timing<span style=\"color: navy\"> : </span>Duration<span style=\"color: navy\"><b> -&gt; </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n  src.timing<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -&gt; </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n  src.timing<span style=\"color: navy\"> : </span>Timing<span style=\"color: navy\"><b> -&gt; </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n  src.participant<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.participant = <span style=\"color: maroon\">s.actor</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.location -&gt; tgt.location;</span>\r\n  src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n  src.groupingBehavior<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&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>\r\n  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>\r\n  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>\r\n  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>\r\n  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>\r\n  src.resource<span style=\"color: navy\"><b> -&gt; </b></span>tgt.resource<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</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\"> {\r\n</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>\r\n  src.expression<span style=\"color: navy\"><b> -&gt; </b></span>tgt.expression<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group RequestOrchestrationActionInput(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.title -&gt; tgt.title;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.requirement -&gt; tgt.requirement;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.relatedData -&gt; tgt.relatedData;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group RequestOrchestrationActionOutput(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.title -&gt; tgt.title;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.requirement -&gt; tgt.requirement;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.relatedData -&gt; tgt.relatedData;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<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\"> {\r\n</span>  src.targetId<span style=\"color: navy\"><b> -&gt; </b></span>tgt.actionId<span style=\"color: navy\">;</span>\r\n  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>\r\n  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>\r\n  src.offset<span style=\"color: navy\"> : </span>Range<span style=\"color: navy\"><b> -&gt; </b></span>tgt.offset<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "contained" : [
    {
      "resourceType" : "ConceptMap",
      "id" : "ActionCardinalityBehavior",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/action-cardinality-behavior",
          "target" : "http://hl7.org/fhir/4.3/action-cardinality-behavior",
          "element" : [
            {
              "code" : "single",
              "target" : [
                {
                  "code" : "single",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "multiple",
              "target" : [
                {
                  "code" : "multiple",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ActionConditionKind",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/action-condition-kind",
          "target" : "http://hl7.org/fhir/4.3/action-condition-kind",
          "element" : [
            {
              "code" : "applicability",
              "target" : [
                {
                  "code" : "applicability",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "start",
              "target" : [
                {
                  "code" : "start",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "stop",
              "target" : [
                {
                  "code" : "stop",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ActionGroupingBehavior",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/action-grouping-behavior",
          "target" : "http://hl7.org/fhir/4.3/action-grouping-behavior",
          "element" : [
            {
              "code" : "visual-group",
              "target" : [
                {
                  "code" : "visual-group",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "logical-group",
              "target" : [
                {
                  "code" : "logical-group",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "sentence-group",
              "target" : [
                {
                  "code" : "sentence-group",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ActionPrecheckBehavior",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/action-precheck-behavior",
          "target" : "http://hl7.org/fhir/4.3/action-precheck-behavior",
          "element" : [
            {
              "code" : "yes",
              "target" : [
                {
                  "code" : "yes",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "no",
              "target" : [
                {
                  "code" : "no",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ActionRelationshipType",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/action-relationship-type",
          "target" : "http://hl7.org/fhir/4.3/action-relationship-type",
          "element" : [
            {
              "code" : "before",
              "target" : [
                {
                  "code" : "before",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "before-start",
              "target" : [
                {
                  "code" : "before-start",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "before-end",
              "target" : [
                {
                  "code" : "before-end",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "concurrent",
              "target" : [
                {
                  "code" : "concurrent",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "concurrent-with-start",
              "target" : [
                {
                  "code" : "concurrent-with-start",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "concurrent-with-end",
              "target" : [
                {
                  "code" : "concurrent-with-end",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "after",
              "target" : [
                {
                  "code" : "after",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "after-start",
              "target" : [
                {
                  "code" : "after-start",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "after-end",
              "target" : [
                {
                  "code" : "after-end",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ActionRequiredBehavior",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/action-required-behavior",
          "target" : "http://hl7.org/fhir/4.3/action-required-behavior",
          "element" : [
            {
              "code" : "must",
              "target" : [
                {
                  "code" : "must",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "could",
              "target" : [
                {
                  "code" : "could",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "must-unless-documented",
              "target" : [
                {
                  "code" : "must-unless-documented",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "ActionSelectionBehavior",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/action-selection-behavior",
          "target" : "http://hl7.org/fhir/4.3/action-selection-behavior",
          "element" : [
            {
              "code" : "any",
              "target" : [
                {
                  "code" : "any",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "all",
              "target" : [
                {
                  "code" : "all",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "all-or-none",
              "target" : [
                {
                  "code" : "all-or-none",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "exactly-one",
              "target" : [
                {
                  "code" : "exactly-one",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "at-most-one",
              "target" : [
                {
                  "code" : "at-most-one",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "one-or-more",
              "target" : [
                {
                  "code" : "one-or-more",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "RequestIntent",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/request-intent",
          "target" : "http://hl7.org/fhir/4.3/request-intent",
          "element" : [
            {
              "code" : "proposal",
              "target" : [
                {
                  "code" : "proposal",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "plan",
              "target" : [
                {
                  "code" : "plan",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "directive",
              "target" : [
                {
                  "code" : "directive",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "order",
              "target" : [
                {
                  "code" : "order",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "original-order",
              "target" : [
                {
                  "code" : "original-order",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "reflex-order",
              "target" : [
                {
                  "code" : "reflex-order",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "filler-order",
              "target" : [
                {
                  "code" : "filler-order",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "instance-order",
              "target" : [
                {
                  "code" : "instance-order",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "option",
              "target" : [
                {
                  "code" : "option",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "RequestPriority",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/request-priority",
          "target" : "http://hl7.org/fhir/4.3/request-priority",
          "element" : [
            {
              "code" : "routine",
              "target" : [
                {
                  "code" : "routine",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "urgent",
              "target" : [
                {
                  "code" : "urgent",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "asap",
              "target" : [
                {
                  "code" : "asap",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "stat",
              "target" : [
                {
                  "code" : "stat",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "resourceType" : "ConceptMap",
      "id" : "RequestStatus",
      "status" : "active",
      "group" : [
        {
          "source" : "http://hl7.org/fhir/request-status",
          "target" : "http://hl7.org/fhir/4.3/request-status",
          "element" : [
            {
              "code" : "draft",
              "target" : [
                {
                  "code" : "draft",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "active",
              "target" : [
                {
                  "code" : "active",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "on-hold",
              "target" : [
                {
                  "code" : "on-hold",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "revoked",
              "target" : [
                {
                  "code" : "revoked",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "completed",
              "target" : [
                {
                  "code" : "completed",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "entered-in-error",
              "target" : [
                {
                  "code" : "entered-in-error",
                  "relationship" : "related-to"
                }
              ]
            },
            {
              "code" : "unknown",
              "target" : [
                {
                  "code" : "unknown",
                  "relationship" : "related-to"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "trial-use",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/RequestOrchestration5to4B",
  "version" : "1.0.0",
  "name" : "RequestOrchestration5to4B",
  "title" : "FML Conversion for RequestOrchestration: R5 to R4B",
  "status" : "active",
  "date" : "2023-03-26T08:47:34+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://hl7.org/Special/committees/fhir-i"
        }
      ]
    }
  ],
  "description" : "FMLConversionforRequestOrchestrationR5toR4B",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/RequestOrchestration",
      "mode" : "source",
      "alias" : "RequestOrchestrationR5"
    },
    {
      "url" : "http://hl7.org/fhir/4.3/StructureDefinition/RequestGroup",
      "mode" : "target",
      "alias" : "RequestGroupR4B"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*5to4B"
  ],
  "group" : [
    {
      "name" : "RequestOrchestration",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "RequestOrchestrationR5",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "RequestGroupR4B",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "instantiatesCanonical",
          "source" : [
            {
              "context" : "src",
              "element" : "instantiatesCanonical",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "instantiatesCanonical",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "instantiatesUri",
          "source" : [
            {
              "context" : "src",
              "element" : "instantiatesUri",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "instantiatesUri",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "basedOn",
          "source" : [
            {
              "context" : "src",
              "element" : "basedOn",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "basedOn",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "replaces",
          "source" : [
            {
              "context" : "src",
              "element" : "replaces",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "replaces",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "groupIdentifier",
          "source" : [
            {
              "context" : "src",
              "element" : "groupIdentifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "groupIdentifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#RequestStatus"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "intent",
          "source" : [
            {
              "context" : "src",
              "element" : "intent",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "intent",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#RequestIntent"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "priority",
          "source" : [
            {
              "context" : "src",
              "element" : "priority",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "priority",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#RequestPriority"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "code",
          "source" : [
            {
              "context" : "src",
              "element" : "code",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "code",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "subject",
          "source" : [
            {
              "context" : "src",
              "element" : "subject",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subject",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "encounter",
          "source" : [
            {
              "context" : "src",
              "element" : "encounter",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "encounter",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "authoredOn",
          "source" : [
            {
              "context" : "src",
              "element" : "authoredOn",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "authoredOn",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "author",
          "source" : [
            {
              "context" : "src",
              "element" : "author",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "author",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "reason",
          "source" : [
            {
              "context" : "src",
              "element" : "reason",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reasonCode",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "reason",
          "source" : [
            {
              "context" : "src",
              "element" : "reason",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reasonReference",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "note",
          "source" : [
            {
              "context" : "src",
              "element" : "note",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "note",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.goal -> tgt.goal;"
        },
        {
          "name" : "action",
          "source" : [
            {
              "context" : "src",
              "element" : "action",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "action",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "RequestOrchestrationAction",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "RequestOrchestrationAction",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "prefix",
          "source" : [
            {
              "context" : "src",
              "element" : "prefix",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "prefix",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.linkId -> tgt.linkId;"
        },
        {
          "name" : "title",
          "source" : [
            {
              "context" : "src",
              "element" : "title",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "title",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "description",
          "source" : [
            {
              "context" : "src",
              "element" : "description",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "description",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "textEquivalent",
          "source" : [
            {
              "context" : "src",
              "element" : "textEquivalent",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "textEquivalent",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "priority",
          "source" : [
            {
              "context" : "src",
              "element" : "priority",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "priority",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#RequestPriority"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "code",
          "source" : [
            {
              "context" : "src",
              "element" : "code",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "code",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "documentation",
          "source" : [
            {
              "context" : "src",
              "element" : "documentation",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "documentation",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "condition",
          "source" : [
            {
              "context" : "src",
              "element" : "condition",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "condition",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "RequestOrchestrationActionCondition",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ],
          "documentation" : "src.goal -> tgt.goal;"
        },
        {
          "name" : "relatedAction",
          "source" : [
            {
              "context" : "src",
              "element" : "relatedAction",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "relatedAction",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "RequestOrchestrationActionRelatedAction",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ],
          "documentation" : "src.input as s -> tgt.input as t then RequestOrchestrationActionInput(s,t);"
        },
        {
          "name" : "timingDateTime",
          "source" : [
            {
              "context" : "src",
              "type" : "dateTime",
              "element" : "timing",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "timing",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "timingAge",
          "source" : [
            {
              "context" : "src",
              "type" : "Age",
              "element" : "timing",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "timing",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "timingPeriod",
          "source" : [
            {
              "context" : "src",
              "type" : "Period",
              "element" : "timing",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "timing",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "timingDuration",
          "source" : [
            {
              "context" : "src",
              "type" : "Duration",
              "element" : "timing",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "timing",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "timingRange",
          "source" : [
            {
              "context" : "src",
              "type" : "Range",
              "element" : "timing",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "timing",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "timingTiming",
          "source" : [
            {
              "context" : "src",
              "type" : "Timing",
              "element" : "timing",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "timing",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "participant",
          "source" : [
            {
              "context" : "src",
              "element" : "participant",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "participant",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s.actor"
                }
              ]
            }
          ],
          "documentation" : "src.location -> tgt.location;"
        },
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "groupingBehavior",
          "source" : [
            {
              "context" : "src",
              "element" : "groupingBehavior",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "groupingBehavior",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ActionGroupingBehavior"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "selectionBehavior",
          "source" : [
            {
              "context" : "src",
              "element" : "selectionBehavior",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "selectionBehavior",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ActionSelectionBehavior"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "requiredBehavior",
          "source" : [
            {
              "context" : "src",
              "element" : "requiredBehavior",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "requiredBehavior",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ActionRequiredBehavior"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "precheckBehavior",
          "source" : [
            {
              "context" : "src",
              "element" : "precheckBehavior",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "precheckBehavior",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ActionPrecheckBehavior"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "cardinalityBehavior",
          "source" : [
            {
              "context" : "src",
              "element" : "cardinalityBehavior",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "cardinalityBehavior",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ActionCardinalityBehavior"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "resource",
          "source" : [
            {
              "context" : "src",
              "element" : "resource",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "resource",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "RequestOrchestrationActionCondition",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "kind",
          "source" : [
            {
              "context" : "src",
              "element" : "kind",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "kind",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ActionConditionKind"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "expression",
          "source" : [
            {
              "context" : "src",
              "element" : "expression",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "expression",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "RequestOrchestrationActionRelatedAction",
      "extends" : "BackboneElement",
      "documentation" : "group RequestOrchestrationActionInput(source src, target tgt) extends BackboneElement {\r\nsrc.title -> tgt.title;\r\nsrc.requirement -> tgt.requirement;\r\nsrc.relatedData -> tgt.relatedData;\r\n}\r\ngroup RequestOrchestrationActionOutput(source src, target tgt) extends BackboneElement {\r\nsrc.title -> tgt.title;\r\nsrc.requirement -> tgt.requirement;\r\nsrc.relatedData -> tgt.relatedData;\r\n}",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "targetId",
          "source" : [
            {
              "context" : "src",
              "element" : "targetId",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "actionId",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "relationship",
          "source" : [
            {
              "context" : "src",
              "element" : "relationship",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "relationship",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "#ActionRelationshipType"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "offsetDuration",
          "source" : [
            {
              "context" : "src",
              "type" : "Duration",
              "element" : "offset",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "offset",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.endRelationship as v -> tgt.endRelationship = translate(v, '#ActionRelationshipType', 'code');"
        },
        {
          "name" : "offsetRange",
          "source" : [
            {
              "context" : "src",
              "type" : "Range",
              "element" : "offset",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "offset",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}