FHIR Extensions Pack
5.1.0-snapshot1 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) 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 OperationDefinition: R5 to R4 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>conceptmap</b><span style="color: navy"> &quot;</span>BindingStrength<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-binding-strength.html" title="BindingStrength">http://hl7.org/fhir/binding-strength</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-binding-strength.html" title="BindingStrength">http://hl7.org/fhir/4.0/binding-strength</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>required <b>-</b> t<span style="color: navy">:</span>required
  s<span style="color: navy">:</span>extensible <b>-</b> t<span style="color: navy">:</span>extensible
  s<span style="color: navy">:</span>preferred <b>-</b> t<span style="color: navy">:</span>preferred
  s<span style="color: navy">:</span>example <b>-</b> t<span style="color: navy">:</span>example
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>OperationKind<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-operation-kind.html" title="Operation Kind">http://hl7.org/fhir/operation-kind</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-operation-kind.html" title="OperationKind">http://hl7.org/fhir/4.0/operation-kind</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>operation <b>-</b> t<span style="color: navy">:</span>operation
  s<span style="color: navy">:</span>query <b>-</b> t<span style="color: navy">:</span>query
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>OperationParameterUse<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-operation-parameter-use.html" title="Operation Parameter Use">http://hl7.org/fhir/operation-parameter-use</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-operation-parameter-use.html" title="OperationParameterUse">http://hl7.org/fhir/4.0/operation-parameter-use</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>in <b>-</b> t<span style="color: navy">:</span>in
  s<span style="color: navy">:</span>out <b>-</b> t<span style="color: navy">:</span>out
<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/R4/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.0/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>SearchParamType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-search-param-type.html" title="SearchParamType">http://hl7.org/fhir/search-param-type</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-search-param-type.html" title="SearchParamType">http://hl7.org/fhir/4.0/search-param-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>number <b>-</b> t<span style="color: navy">:</span>number
  s<span style="color: navy">:</span>date <b>-</b> t<span style="color: navy">:</span>date
  s<span style="color: navy">:</span>string <b>-</b> t<span style="color: navy">:</span>string
  s<span style="color: navy">:</span>token <b>-</b> t<span style="color: navy">:</span>token
  s<span style="color: navy">:</span>reference <b>-</b> t<span style="color: navy">:</span>reference
  s<span style="color: navy">:</span>composite <b>-</b> t<span style="color: navy">:</span>composite
  s<span style="color: navy">:</span>quantity <b>-</b> t<span style="color: navy">:</span>quantity
  s<span style="color: navy">:</span>uri <b>-</b> t<span style="color: navy">:</span>uri
  s<span style="color: navy">:</span>special <b>-</b> t<span style="color: navy">:</span>special
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/operationdefinition.html" title="OperationDefinition">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a><span style="color: navy">&quot; </span><b>alias </b>OperationDefinitionR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/operationdefinition.html" title="OperationDefinition">http://hl7.org/fhir/4.0/StructureDefinition/OperationDefinition</a><span style="color: navy">&quot; </span><b>alias </b>OperationDefinitionR4 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">&quot;
</span>
<b>group </b>OperationDefinition<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>OperationDefinitionR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>OperationDefinitionR4<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.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.identifier -&gt; tgt.identifier;</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.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">'#PublicationStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.kind<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.kind = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#OperationKind'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.experimental<span style="color: navy"><b> -&gt; </b></span>tgt.experimental<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.affectsState<span style="color: navy"><b> -&gt; </b></span>tgt.affectsState<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyright -&gt; tgt.copyright;</span>
  src.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.comment<span style="color: navy"><b> -&gt; </b></span>tgt.comment<span style="color: navy">;</span>
  src.base<span style="color: navy"><b> -&gt; </b></span>tgt.base<span style="color: navy">;</span>
  src.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
  src.system<span style="color: navy"><b> -&gt; </b></span>tgt.system<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.instance<span style="color: navy"><b> -&gt; </b></span>tgt.instance<span style="color: navy">;</span>
  src.inputProfile<span style="color: navy"><b> -&gt; </b></span>tgt.inputProfile<span style="color: navy">;</span>
  src.outputProfile<span style="color: navy"><b> -&gt; </b></span>tgt.outputProfile<span style="color: navy">;</span>
  src.parameter<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.parameter<b> as </b><span style="color: maroon">t</span><b> then </b>OperationDefinitionParameter<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.overload<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.overload<b> as </b><span style="color: maroon">t</span><b> then </b>OperationDefinitionOverload<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>OperationDefinitionParameter<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.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.use<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.use = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#OperationParameterUse'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.min<span style="color: navy"><b> -&gt; </b></span>tgt.min<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.scope as v -&gt; tgt.scope = translate(v, '#OperationParameterScope', 'code');</span>
  src.max<span style="color: navy"><b> -&gt; </b></span>tgt.max<span style="color: navy">;</span>
  src.documentation<span style="color: navy"><b> -&gt; </b></span>tgt.documentation<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">'http://hl7.org/fhir/interversion/types5to4'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.targetProfile<span style="color: navy"><b> -&gt; </b></span>tgt.targetProfile<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.allowedType as v -&gt; tgt.allowedType = translate(v, 'http://hl7.org/fhir/interversion/types5to4', 'code');</span>
  src.searchType<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.searchType = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SearchParamType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.binding<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.binding<b> as </b><span style="color: maroon">t</span><b> then </b>OperationDefinitionParameterBinding<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.referencedFrom<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.referencedFrom<b> as </b><span style="color: maroon">t</span><b> then </b>OperationDefinitionParameterReferencedFrom<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>OperationDefinitionParameterBinding<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.strength<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.strength = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#BindingStrength'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.valueSet<span style="color: navy"><b> -&gt; </b></span>tgt.valueSet<span style="color: navy">;</span>
<span style="color: navy">}

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

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

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="BindingStrength"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/binding-strength"/>
        <target value="http://hl7.org/fhir/4.0/binding-strength"/>
        <element>
          <code value="required"/>
          <target>
            <code value="required"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="extensible"/>
          <target>
            <code value="extensible"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="preferred"/>
          <target>
            <code value="preferred"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="example"/>
          <target>
            <code value="example"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="OperationKind"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/operation-kind"/>
        <target value="http://hl7.org/fhir/4.0/operation-kind"/>
        <element>
          <code value="operation"/>
          <target>
            <code value="operation"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="query"/>
          <target>
            <code value="query"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="OperationParameterUse"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/operation-parameter-use"/>
        <target value="http://hl7.org/fhir/4.0/operation-parameter-use"/>
        <element>
          <code value="in"/>
          <target>
            <code value="in"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="out"/>
          <target>
            <code value="out"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/publication-status"/>
        <target value="http://hl7.org/fhir/4.0/publication-status"/>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="retired"/>
          <target>
            <code value="retired"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="SearchParamType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/search-param-type"/>
        <target value="http://hl7.org/fhir/4.0/search-param-type"/>
        <element>
          <code value="number"/>
          <target>
            <code value="number"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="date"/>
          <target>
            <code value="date"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="string"/>
          <target>
            <code value="string"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="token"/>
          <target>
            <code value="token"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="reference"/>
          <target>
            <code value="reference"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="composite"/>
          <target>
            <code value="composite"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="quantity"/>
          <target>
            <code value="quantity"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="uri"/>
          <target>
            <code value="uri"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="special"/>
          <target>
            <code value="special"/>
            <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/OperationDefinition5to4"/>
  <version value="5.1.0-snapshot1"/>
  <name value="OperationDefinition5to4"/>
  <title value="FML Conversion for OperationDefinition: R5 to R4"/>
  <status value="active"/>
  <date value="2024-03-12T13:30:10+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="FMLConversionforOperationDefinitionR5toR4"/>
  <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/OperationDefinition"/>
    <mode value="source"/>
    <alias value="OperationDefinitionR5"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/4.0/StructureDefinition/OperationDefinition"/>
    <mode value="target"/>
    <alias value="OperationDefinitionR4"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4"/>
  <group>
    <name value="OperationDefinition"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="OperationDefinitionR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="OperationDefinitionR4"/>
      <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="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>
      <documentation value="src.identifier -&gt; tgt.identifier;"/>
    </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="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#PublicationStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="kind"/>
      <source>
        <context value="src"/>
        <element value="kind"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="kind"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#OperationKind"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="experimental"/>
      <source>
        <context value="src"/>
        <element value="experimental"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="experimental"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="affectsState"/>
      <source>
        <context value="src"/>
        <element value="affectsState"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="affectsState"/>
        <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.copyright -&gt; tgt.copyright;"/>
    </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="comment"/>
      <source>
        <context value="src"/>
        <element value="comment"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="comment"/>
        <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="base"/>
      <source>
        <context value="src"/>
        <element value="base"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="base"/>
        <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="resource"/>
      <source>
        <context value="src"/>
        <element value="resource"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="system"/>
      <source>
        <context value="src"/>
        <element value="system"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="system"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="instance"/>
      <source>
        <context value="src"/>
        <element value="instance"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="instance"/>
        <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="inputProfile"/>
      <source>
        <context value="src"/>
        <element value="inputProfile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="inputProfile"/>
        <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="outputProfile"/>
      <source>
        <context value="src"/>
        <element value="outputProfile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="outputProfile"/>
        <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="parameter"/>
      <source>
        <context value="src"/>
        <element value="parameter"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="parameter"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="OperationDefinitionParameter"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="overload"/>
      <source>
        <context value="src"/>
        <element value="overload"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="overload"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="OperationDefinitionOverload"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="OperationDefinitionParameter"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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>
    </rule>
    <rule>
      <name value="use"/>
      <source>
        <context value="src"/>
        <element value="use"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="use"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#OperationParameterUse"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="min"/>
      <source>
        <context value="src"/>
        <element value="min"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="min"/>
        <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.scope as v -&gt; tgt.scope = translate(v, '#OperationParameterScope', 'code');"/>
    </rule>
    <rule>
      <name value="max"/>
      <source>
        <context value="src"/>
        <element value="max"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="max"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="documentation"/>
      <source>
        <context value="src"/>
        <element value="documentation"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="documentation"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="http://hl7.org/fhir/interversion/types5to4"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="targetProfile"/>
      <source>
        <context value="src"/>
        <element value="targetProfile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="targetProfile"/>
        <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.allowedType as v -&gt; tgt.allowedType = translate(v, 'http://hl7.org/fhir/interversion/types5to4', 'code');"/>
    </rule>
    <rule>
      <name value="searchType"/>
      <source>
        <context value="src"/>
        <element value="searchType"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="searchType"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SearchParamType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="binding"/>
      <source>
        <context value="src"/>
        <element value="binding"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="binding"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="OperationDefinitionParameterBinding"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="referencedFrom"/>
      <source>
        <context value="src"/>
        <element value="referencedFrom"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="referencedFrom"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="OperationDefinitionParameterReferencedFrom"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="OperationDefinitionParameterBinding"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="strength"/>
      <source>
        <context value="src"/>
        <element value="strength"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="strength"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#BindingStrength"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="valueSet"/>
      <source>
        <context value="src"/>
        <element value="valueSet"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="valueSet"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="OperationDefinitionParameterReferencedFrom"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="source"/>
      <source>
        <context value="src"/>
        <element value="source"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="source"/>
        <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="sourceId"/>
      <source>
        <context value="src"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="OperationDefinitionOverload"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="parameterName"/>
      <source>
        <context value="src"/>
        <element value="parameterName"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="parameterName"/>
        <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="comment"/>
      <source>
        <context value="src"/>
        <element value="comment"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="comment"/>
        <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>