FHIR Extensions Pack
5.1.0-ballot1 - Ballot for Release 5.1.0 International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

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

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>conceptmap</b><span style="color: navy"> &quot;</span>ActivityParticipantType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-action-participant-type.html" title="Action Participant Type">http://hl7.org/fhir/action-participant-type</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-action-participant-type.html" title="ActionParticipantType">http://hl7.org/fhir/4.3/action-participant-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>device <b>-</b> t<span style="color: navy">:</span>device
  s<span style="color: navy">:</span>patient <b>-</b> t<span style="color: navy">:</span>patient
  s<span style="color: navy">:</span>practitioner <b>-</b> t<span style="color: navy">:</span>practitioner
  s<span style="color: navy">:</span>relatedperson <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>related-person<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>PublicationStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/publication-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.3/publication-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>retired <b>-</b> t<span style="color: navy">:</span>retired
  s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &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/R5/codesystem-request-intent.html" title="RequestIntent">http://hl7.org/fhir/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/R4B/codesystem-request-intent.html" title="RequestIntent">http://hl7.org/fhir/4.3/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/R5/codesystem-request-priority.html" title="RequestPriority">http://hl7.org/fhir/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/R4B/codesystem-request-priority.html" title="RequestPriority">http://hl7.org/fhir/4.3/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>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/activitydefinition.html" title="ActivityDefinition">http://hl7.org/fhir/StructureDefinition/ActivityDefinition</a><span style="color: navy">&quot; </span><b>alias </b>ActivityDefinitionR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/activitydefinition.html" title="ActivityDefinition">http://hl7.org/fhir/4.3/StructureDefinition/ActivityDefinition</a><span style="color: navy">&quot; </span><b>alias </b>ActivityDefinitionR4B <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4B<span style="color: navy">&quot;
</span>
<b>group </b>ActivityDefinition<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>ActivityDefinitionR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>ActivityDefinitionR4B<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.subtitle<span style="color: navy"><b> -&gt; </b></span>tgt.subtitle<span style="color: navy">;</span>
  src.experimental<span style="color: navy"><b> -&gt; </b></span>tgt.experimental<span style="color: navy">;</span>
  src.subject<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'Patient'<span style="color: navy"><b> -&gt; </b></span> tgt.subject = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/resource-types'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'Patient'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Patient'</span><span style="color: navy">;</span>
  src.subject<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'Practitioner'<span style="color: navy"><b> -&gt; </b></span> tgt.subject = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/resource-types'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'Patient'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Practitioner'</span><span style="color: navy">;</span>
  src.subject<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'Organization'<span style="color: navy"><b> -&gt; </b></span> tgt.subject = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/resource-types'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'Patient'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Organization'</span><span style="color: navy">;</span>
  src.subject<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'Location'<span style="color: navy"><b> -&gt; </b></span> tgt.subject = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/resource-types'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'Patient'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Location'</span><span style="color: navy">;</span>
  src.subject<b> as </b><span style="color: maroon">s</span><b> where </b>code = 'Device'<span style="color: navy"><b> -&gt; </b></span> tgt.subject = <b>create</b><span style="color: navy">(</span><span style="color: blue">'CodeableConcept'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tc</span><span style="color: navy">, </span> tc.coding = <b>create</b><span style="color: navy">(</span><span style="color: blue">'Coding'</span><span style="color: navy">)</span><b> as </b><span style="color: maroon">tcc</span><span style="color: navy">, </span> tcc.system = <span style="color: blue">'http://hl7.org/fhir/resource-types'</span><span style="color: navy">, </span> tcc.code = <span style="color: blue">'Patient'</span><span style="color: navy">, </span> tcc.display = <span style="color: blue">'Device'</span><span style="color: navy">;</span>
  src.subject<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span>
  src.subject<span style="color: navy"> : </span>canonical<span style="color: navy"><b> -&gt; </b></span>tgt.subject<span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.publisher<span style="color: navy"><b> -&gt; </b></span>tgt.publisher<span style="color: navy">;</span>
  src.contact<span style="color: navy"><b> -&gt; </b></span>tgt.contact<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.useContext<span style="color: navy"><b> -&gt; </b></span>tgt.useContext<span style="color: navy">;</span>
  src.jurisdiction<span style="color: navy"><b> -&gt; </b></span>tgt.jurisdiction<span style="color: navy">;</span>
  src.purpose<span style="color: navy"><b> -&gt; </b></span>tgt.purpose<span style="color: navy">;</span>
  src.usage<span style="color: navy"><b> -&gt; </b></span>tgt.usage<span style="color: navy">;</span>
  src.copyright<span style="color: navy"><b> -&gt; </b></span>tgt.copyright<span style="color: navy">;</span>
  src.approvalDate<span style="color: navy"><b> -&gt; </b></span>tgt.approvalDate<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -&gt; tgt.copyrightLabel;</span>
  src.lastReviewDate<span style="color: navy"><b> -&gt; </b></span>tgt.lastReviewDate<span style="color: navy">;</span>
  src.effectivePeriod<span style="color: navy"><b> -&gt; </b></span>tgt.effectivePeriod<span style="color: navy">;</span>
  src.topic<span style="color: navy"><b> -&gt; </b></span>tgt.topic<span style="color: navy">;</span>
  src.author<span style="color: navy"><b> -&gt; </b></span>tgt.author<span style="color: navy">;</span>
  src.editor<span style="color: navy"><b> -&gt; </b></span>tgt.editor<span style="color: navy">;</span>
  src.reviewer<span style="color: navy"><b> -&gt; </b></span>tgt.reviewer<span style="color: navy">;</span>
  src.endorser<span style="color: navy"><b> -&gt; </b></span>tgt.endorser<span style="color: navy">;</span>
  src.relatedArtifact<span style="color: navy"><b> -&gt; </b></span>tgt.relatedArtifact<span style="color: navy">;</span>
  src.library<span style="color: navy"><b> -&gt; </b></span>tgt.library<span style="color: navy">;</span>
  src.kind<span style="color: navy"><b> -&gt; </b></span>tgt.kind<span style="color: navy">;</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.profile<span style="color: navy">;</span>
  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<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.doNotPerform<span style="color: navy"><b> -&gt; </b></span>tgt.doNotPerform<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.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>Range<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.location<span style="color: navy"><b> -&gt; </b></span>tgt.location<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.asNeeded : boolean -&gt; tgt.asNeeded;</span>
  src.participant<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><b> then </b>ActivityDefinitionParticipant<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.product<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.product<span style="color: navy">;</span>
  src.product<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.product<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span>
  src.dosage<span style="color: navy"><b> -&gt; </b></span>tgt.dosage<span style="color: navy">;</span>
  src.bodySite<span style="color: navy"><b> -&gt; </b></span>tgt.bodySite<span style="color: navy">;</span>
  src.specimenRequirement<span style="color: navy"><b> -&gt; </b></span>tgt.specimenRequirement<span style="color: navy">;</span>
  src.observationRequirement<span style="color: navy"><b> -&gt; </b></span>tgt.observationRequirement<span style="color: navy">;</span>
  src.observationResultRequirement<span style="color: navy"><b> -&gt; </b></span>tgt.observationResultRequirement<span style="color: navy">;</span>
  src.transform<span style="color: navy"><b> -&gt; </b></span>tgt.transform<span style="color: navy">;</span>
  src.dynamicValue<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.dynamicValue<b> as </b><span style="color: maroon">t</span><b> then </b>ActivityDefinitionDynamicValue<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>ActivityDefinitionParticipant<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.type<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.type = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ActivityParticipantType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.role<span style="color: navy"><b> -&gt; </b></span>tgt.role<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.typeCanonical -&gt; tgt.typeCanonical;</span>
<span style="color: navy">}

</span><b>group </b>ActivityDefinitionDynamicValue<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.path<span style="color: navy"><b> -&gt; </b></span>tgt.path<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></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="ActivityParticipantType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/action-participant-type"/>
        <target value="http://hl7.org/fhir/4.3/action-participant-type"/>
        <element>
          <code value="device"/>
          <target>
            <code value="device"/>
            <relationship value="related-to"/>
            <comment value="s:&quot;group&quot; - t:&quot;group&quot;"/>
          </target>
        </element>
        <element>
          <code value="patient"/>
          <target>
            <code value="patient"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="practitioner"/>
          <target>
            <code value="practitioner"/>
            <relationship value="related-to"/>
            <comment
                     value="s:&quot;practitionerrole&quot; - t:&quot;practitionerrole&quot;"/>
          </target>
        </element>
        <element>
          <code value="relatedperson"/>
          <target>
            <code value="related-person"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/publication-status"/>
        <target value="http://hl7.org/fhir/4.3/publication-status"/>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="retired"/>
          <target>
            <code value="retired"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="RequestIntent"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/request-intent"/>
        <target value="http://hl7.org/fhir/4.3/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/request-priority"/>
        <target value="http://hl7.org/fhir/4.3/request-priority"/>
        <element>
          <code value="routine"/>
          <target>
            <code value="routine"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="urgent"/>
          <target>
            <code value="urgent"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="asap"/>
          <target>
            <code value="asap"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="stat"/>
          <target>
            <code value="stat"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/ActivityDefinition5to4B"/>
  <version value="5.1.0-ballot1"/>
  <name value="ActivityDefinition5to4B"/>
  <title value="FML Conversion for ActivityDefinition: R5 to R4B"/>
  <status value="active"/>
  <date value="2023-12-19T08:40:03+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="FMLConversionforActivityDefinitionR5toR4B"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition"/>
    <mode value="source"/>
    <alias value="ActivityDefinitionR5"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/4.3/StructureDefinition/ActivityDefinition"/>
    <mode value="target"/>
    <alias value="ActivityDefinitionR4B"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4B"/>
  <group>
    <name value="ActivityDefinition"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="ActivityDefinitionR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="ActivityDefinitionR4B"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="url"/>
      <source>
        <context value="src"/>
        <element value="url"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="url"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="version"/>
      <source>
        <context value="src"/>
        <element value="version"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="version"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;"/>
    </rule>
    <rule>
      <name value="title"/>
      <source>
        <context value="src"/>
        <element value="title"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="title"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="subtitle"/>
      <source>
        <context value="src"/>
        <element value="subtitle"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subtitle"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="experimental"/>
      <source>
        <context value="src"/>
        <element value="experimental"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="experimental"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="s"/>
        <condition value="code = 'Patient'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/resource-types"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Patient"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Patient"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="s"/>
        <condition value="code = 'Practitioner'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/resource-types"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Patient"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Practitioner"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="s"/>
        <condition value="code = 'Organization'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/resource-types"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Patient"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Organization"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="s"/>
        <condition value="code = 'Location'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/resource-types"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Patient"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Location"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="s"/>
        <condition value="code = 'Device'"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="tc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="CodeableConcept"/>
        </parameter>
      </target>
      <target>
        <context value="tc"/>
        <element value="coding"/>
        <variable value="tcc"/>
        <transform value="create"/>
        <parameter>
          <valueString value="Coding"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="system"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="http://hl7.org/fhir/resource-types"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="code"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Patient"/>
        </parameter>
      </target>
      <target>
        <context value="tcc"/>
        <element value="display"/>
        <transform value="copy"/>
        <parameter>
          <valueString value="Device"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="subjectReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="subject"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="subjectCanonical"/>
      <source>
        <context value="src"/>
        <type value="canonical"/>
        <element value="subject"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="publisher"/>
      <source>
        <context value="src"/>
        <element value="publisher"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="publisher"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="contact"/>
      <source>
        <context value="src"/>
        <element value="contact"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contact"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="description"/>
      <source>
        <context value="src"/>
        <element value="description"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="useContext"/>
      <source>
        <context value="src"/>
        <element value="useContext"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="useContext"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="jurisdiction"/>
      <source>
        <context value="src"/>
        <element value="jurisdiction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="jurisdiction"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="purpose"/>
      <source>
        <context value="src"/>
        <element value="purpose"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="purpose"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="usage"/>
      <source>
        <context value="src"/>
        <element value="usage"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="usage"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="copyright"/>
      <source>
        <context value="src"/>
        <element value="copyright"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="copyright"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="approvalDate"/>
      <source>
        <context value="src"/>
        <element value="approvalDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="approvalDate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.copyrightLabel -&gt; tgt.copyrightLabel;"/>
    </rule>
    <rule>
      <name value="lastReviewDate"/>
      <source>
        <context value="src"/>
        <element value="lastReviewDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="lastReviewDate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="effectivePeriod"/>
      <source>
        <context value="src"/>
        <element value="effectivePeriod"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="effectivePeriod"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="topic"/>
      <source>
        <context value="src"/>
        <element value="topic"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="topic"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="author"/>
      <source>
        <context value="src"/>
        <element value="author"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="author"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="editor"/>
      <source>
        <context value="src"/>
        <element value="editor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="editor"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="reviewer"/>
      <source>
        <context value="src"/>
        <element value="reviewer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reviewer"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="endorser"/>
      <source>
        <context value="src"/>
        <element value="endorser"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="endorser"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="relatedArtifact"/>
      <source>
        <context value="src"/>
        <element value="relatedArtifact"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relatedArtifact"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="library"/>
      <source>
        <context value="src"/>
        <element value="library"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="library"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="kind"/>
      <source>
        <context value="src"/>
        <element value="kind"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="kind"/>
        <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="profile"/>
      <source>
        <context value="src"/>
        <element value="profile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="profile"/>
        <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="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="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="doNotPerform"/>
      <source>
        <context value="src"/>
        <element value="doNotPerform"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="doNotPerform"/>
        <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="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="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="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="location"/>
      <source>
        <context value="src"/>
        <element value="location"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="location"/>
        <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.asNeeded : boolean -&gt; tgt.asNeeded;"/>
    </rule>
    <rule>
      <name value="participant"/>
      <source>
        <context value="src"/>
        <element value="participant"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="participant"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ActivityDefinitionParticipant"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="productReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="product"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="product"/>
        <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="productCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="product"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="product"/>
        <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="quantity"/>
      <source>
        <context value="src"/>
        <element value="quantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="quantity"/>
        <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="dosage"/>
      <source>
        <context value="src"/>
        <element value="dosage"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dosage"/>
        <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="bodySite"/>
      <source>
        <context value="src"/>
        <element value="bodySite"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="bodySite"/>
        <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="specimenRequirement"/>
      <source>
        <context value="src"/>
        <element value="specimenRequirement"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="specimenRequirement"/>
        <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="observationRequirement"/>
      <source>
        <context value="src"/>
        <element value="observationRequirement"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="observationRequirement"/>
        <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="observationResultRequirement"/>
      <source>
        <context value="src"/>
        <element value="observationResultRequirement"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="observationResultRequirement"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="transform"/>
      <source>
        <context value="src"/>
        <element value="transform"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="transform"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="dynamicValue"/>
      <source>
        <context value="src"/>
        <element value="dynamicValue"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="dynamicValue"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="ActivityDefinitionDynamicValue"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="ActivityDefinitionParticipant"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ActivityParticipantType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="role"/>
      <source>
        <context value="src"/>
        <element value="role"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="role"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.typeCanonical -&gt; tgt.typeCanonical;"/>
    </rule>
  </group>
  <group>
    <name value="ActivityDefinitionDynamicValue"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="path"/>
      <source>
        <context value="src"/>
        <element value="path"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="path"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="expression"/>
      <source>
        <context value="src"/>
        <element value="expression"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="expression"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>