FHIR Extensions Pack
1.0.0 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v1.0.0: Releases) based on FHIR v5.0.0. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: FML Conversion for SearchParameter: R4 to R5 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>conceptmap</b><span style="color: navy"> &quot;</span>PublicationStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<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><b>  prefix </b>t<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>
  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>SearchComparator<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-search-comparator.html" title="SearchComparator">http://hl7.org/fhir/4.0/search-comparator</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-search-comparator.html" title="Search Comparator">http://hl7.org/fhir/search-comparator</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>eq <b>-</b> t<span style="color: navy">:</span>eq
  s<span style="color: navy">:</span>ne <b>-</b> t<span style="color: navy">:</span>ne
  s<span style="color: navy">:</span>gt <b>-</b> t<span style="color: navy">:</span>gt
  s<span style="color: navy">:</span>lt <b>-</b> t<span style="color: navy">:</span>lt
  s<span style="color: navy">:</span>ge <b>-</b> t<span style="color: navy">:</span>ge
  s<span style="color: navy">:</span>le <b>-</b> t<span style="color: navy">:</span>le
  s<span style="color: navy">:</span>sa <b>-</b> t<span style="color: navy">:</span>sa
  s<span style="color: navy">:</span>eb <b>-</b> t<span style="color: navy">:</span>eb
  s<span style="color: navy">:</span>ap <b>-</b> t<span style="color: navy">:</span>ap
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>SearchModifierCode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-search-modifier-code.html" title="SearchModifierCode">http://hl7.org/fhir/4.0/search-modifier-code</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-search-modifier-code.html" title="Search Modifier Code">http://hl7.org/fhir/search-modifier-code</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>missing <b>-</b> t<span style="color: navy">:</span>missing
  s<span style="color: navy">:</span>exact <b>-</b> t<span style="color: navy">:</span>exact
  s<span style="color: navy">:</span>contains <b>-</b> t<span style="color: navy">:</span>contains
  s<span style="color: navy">:</span>not <b>-</b> t<span style="color: navy">:</span>not
  s<span style="color: navy">:</span>text <b>-</b> t<span style="color: navy">:</span>text
  s<span style="color: navy">:</span>in <b>-</b> t<span style="color: navy">:</span>in
  s<span style="color: navy">:</span>&quot;not-in&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>not-in<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>below <b>-</b> t<span style="color: navy">:</span>below
  s<span style="color: navy">:</span>above <b>-</b> t<span style="color: navy">:</span>above
  s<span style="color: navy">:</span>type <b>-</b> t<span style="color: navy">:</span>type
  s<span style="color: navy">:</span>identifier <b>-</b> t<span style="color: navy">:</span>identifier
<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/R4/codesystem-search-param-type.html" title="SearchParamType">http://hl7.org/fhir/4.0/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/R5/codesystem-search-param-type.html" title="SearchParamType">http://hl7.org/fhir/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>conceptmap</b><span style="color: navy"> &quot;</span>SearchProcessingModeType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-search-xpath-usage.html" title="XPathUsageType">http://hl7.org/fhir/4.0/search-xpath-usage</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-search-processingmode.html" title="Search Processing Mode Type">http://hl7.org/fhir/search-processingmode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>normal <b>-</b> t<span style="color: navy">:</span>normal
  s<span style="color: navy">:</span>phonetic <b>-</b> t<span style="color: navy">:</span>phonetic
  s<span style="color: navy">:</span>other <b>-</b> t<span style="color: navy">:</span>other
<span style="color: navy">}

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

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4to5<span style="color: navy">&quot;
</span>
<b>group </b>SearchParameter<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>SearchParameterR4, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SearchParameterR5<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.derivedFrom<span style="color: navy"><b> -&gt; </b></span>tgt.derivedFrom<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.title -&gt; tgt.title;</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.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.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyright -&gt; tgt.copyright;</span>
  src.base<span style="color: navy"><b> -&gt; </b></span>tgt.base<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">'#SearchParamType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.expression<span style="color: navy"><b> -&gt; </b></span>tgt.expression<span style="color: navy">;</span>
  src.xpathUsage<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.processingMode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SearchProcessingModeType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.target<span style="color: navy"><b> -&gt; </b></span>tgt.target<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.constraint -&gt; tgt.constraint;</span>
  src.multipleOr<span style="color: navy"><b> -&gt; </b></span>tgt.multipleOr<span style="color: navy">;</span>
  src.multipleAnd<span style="color: navy"><b> -&gt; </b></span>tgt.multipleAnd<span style="color: navy">;</span>
  src.comparator<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.comparator = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SearchComparator'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.modifier<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.modifier = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SearchModifierCode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.chain<span style="color: navy"><b> -&gt; </b></span>tgt.chain<span style="color: navy">;</span>
  src.component<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.component<b> as </b><span style="color: maroon">t</span><b> then </b>SearchParameterComponent<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>SearchParameterComponent<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.definition<span style="color: navy"><b> -&gt; </b></span>tgt.definition<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="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/publication-status"/>
        <target value="http://hl7.org/fhir/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="SearchComparator"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/search-comparator"/>
        <target value="http://hl7.org/fhir/search-comparator"/>
        <element>
          <code value="eq"/>
          <target>
            <code value="eq"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="ne"/>
          <target>
            <code value="ne"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="gt"/>
          <target>
            <code value="gt"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="lt"/>
          <target>
            <code value="lt"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="ge"/>
          <target>
            <code value="ge"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="le"/>
          <target>
            <code value="le"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="sa"/>
          <target>
            <code value="sa"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="eb"/>
          <target>
            <code value="eb"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="ap"/>
          <target>
            <code value="ap"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="SearchModifierCode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/search-modifier-code"/>
        <target value="http://hl7.org/fhir/search-modifier-code"/>
        <element>
          <code value="missing"/>
          <target>
            <code value="missing"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="exact"/>
          <target>
            <code value="exact"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="contains"/>
          <target>
            <code value="contains"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="not"/>
          <target>
            <code value="not"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="text"/>
          <target>
            <code value="text"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="in"/>
          <target>
            <code value="in"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="not-in"/>
          <target>
            <code value="not-in"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="below"/>
          <target>
            <code value="below"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="above"/>
          <target>
            <code value="above"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="type"/>
          <target>
            <code value="type"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="identifier"/>
          <target>
            <code value="identifier"/>
            <relationship value="related-to"/>
            <comment value="s:&quot;of-type&quot; - t:&quot;of-type&quot;"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="SearchParamType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/search-param-type"/>
        <target value="http://hl7.org/fhir/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>
  <contained>
    <ConceptMap>
      <id value="SearchProcessingModeType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.0/search-xpath-usage"/>
        <target value="http://hl7.org/fhir/search-processingmode"/>
        <element>
          <code value="normal"/>
          <target>
            <code value="normal"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="phonetic"/>
          <target>
            <code value="phonetic"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="other"/>
          <target>
            <code value="other"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/StructureMap/SearchParameter4to5"/>
  <version value="1.0.0"/>
  <name value="SearchParameter4to5"/>
  <title value="FML Conversion for SearchParameter: R4 to R5"/>
  <status value="active"/>
  <date value="2023-03-26T08:47:34+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/Special/committees/fhir-i"/>
    </telecom>
  </contact>
  <description value="FMLConversionforSearchParameterR4toR5"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/4.0/StructureDefinition/SearchParameter"/>
    <mode value="source"/>
    <alias value="SearchParameterR4"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/SearchParameter"/>
    <mode value="target"/>
    <alias value="SearchParameterR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4to5"/>
  <group>
    <name value="SearchParameter"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="SearchParameterR4"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="SearchParameterR5"/>
      <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="derivedFrom"/>
      <source>
        <context value="src"/>
        <element value="derivedFrom"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="derivedFrom"/>
        <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.title -&gt; tgt.title;"/>
    </rule>
    <rule>
      <name value="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#PublicationStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="experimental"/>
      <source>
        <context value="src"/>
        <element value="experimental"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="experimental"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="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>
      <documentation value="src.copyright -&gt; tgt.copyright;"/>
    </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="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="#SearchParamType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="expression"/>
      <source>
        <context value="src"/>
        <element value="expression"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="expression"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="xpathUsage"/>
      <source>
        <context value="src"/>
        <element value="xpathUsage"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="processingMode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SearchProcessingModeType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="target"/>
      <source>
        <context value="src"/>
        <element value="target"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="target"/>
        <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.constraint -&gt; tgt.constraint;"/>
    </rule>
    <rule>
      <name value="multipleOr"/>
      <source>
        <context value="src"/>
        <element value="multipleOr"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="multipleOr"/>
        <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="multipleAnd"/>
      <source>
        <context value="src"/>
        <element value="multipleAnd"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="multipleAnd"/>
        <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="comparator"/>
      <source>
        <context value="src"/>
        <element value="comparator"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="comparator"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SearchComparator"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SearchModifierCode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="chain"/>
      <source>
        <context value="src"/>
        <element value="chain"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="chain"/>
        <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="component"/>
      <source>
        <context value="src"/>
        <element value="component"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="component"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SearchParameterComponent"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="SearchParameterComponent"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="definition"/>
      <source>
        <context value="src"/>
        <element value="definition"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="definition"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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>