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

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>conceptmap</b><span style="color: navy"> &quot;</span>CriteriaNotExistsBehavior<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-subscriptiontopic-cr-behavior.html" title="CriteriaNotExistsBehavior">http://hl7.org/fhir/4.3/subscriptiontopic-cr-behavior</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-subscriptiontopic-cr-behavior.html" title="Criteria Not Exists Behavior">http://hl7.org/fhir/subscriptiontopic-cr-behavior</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>&quot;test-passes&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>test-passes<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>&quot;test-fails&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>test-fails<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>PublicationStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.3/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/R4B/codesystem-search-comparator.html" title="SearchComparator">http://hl7.org/fhir/4.3/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/R4B/codesystem-search-modifier-code.html" title="SearchModifierCode">http://hl7.org/fhir/4.3/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>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/subscriptiontopic.html" title="SubscriptionTopic">http://hl7.org/fhir/4.3/StructureDefinition/SubscriptionTopic</a><span style="color: navy">&quot; </span><b>alias </b>SubscriptionTopicR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/subscriptiontopic.html" title="SubscriptionTopic">http://hl7.org/fhir/StructureDefinition/SubscriptionTopic</a><span style="color: navy">&quot; </span><b>alias </b>SubscriptionTopicR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style="color: navy">&quot;
</span>
<b>group </b>SubscriptionTopic<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>SubscriptionTopicR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>SubscriptionTopicR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<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>
  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.copyright<span style="color: navy"><b> -&gt; </b></span>tgt.copyright<span style="color: navy">;</span>
  src.approvalDate<span style="color: navy"><b> -&gt; </b></span>tgt.approvalDate<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -&gt; tgt.copyrightLabel;</span>
  src.lastReviewDate<span style="color: navy"><b> -&gt; </b></span>tgt.lastReviewDate<span style="color: navy">;</span>
  src.effectivePeriod<span style="color: navy"><b> -&gt; </b></span>tgt.effectivePeriod<span style="color: navy">;</span>
  src.resourceTrigger<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.resourceTrigger<b> as </b><span style="color: maroon">t</span><b> then </b>SubscriptionTopicResourceTrigger<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.eventTrigger<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.eventTrigger<b> as </b><span style="color: maroon">t</span><b> then </b>SubscriptionTopicEventTrigger<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.notificationShape<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.notificationShape<b> as </b><span style="color: maroon">t</span><b> then </b>SubscriptionTopicNotificationShape<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.canFilterBy as s -&gt; tgt.canFilterBy as t then SubscriptionTopicCanFilterBy(s,t);</span>
<span style="color: navy">}

</span><b>group </b>SubscriptionTopicResourceTrigger<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.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
  src.supportedInteraction<span style="color: navy"><b> -&gt; </b></span>tgt.supportedInteraction<span style="color: navy">;</span>
  src.queryCriteria<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.queryCriteria<b> as </b><span style="color: maroon">t</span><b> then </b>SubscriptionTopicResourceTriggerQueryCriteria<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.fhirPathCriteria<span style="color: navy"><b> -&gt; </b></span>tgt.fhirPathCriteria<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>SubscriptionTopicResourceTriggerQueryCriteria<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.previous<span style="color: navy"><b> -&gt; </b></span>tgt.previous<span style="color: navy">;</span>
  src.resultForCreate<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.resultForCreate = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#CriteriaNotExistsBehavior'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.current<span style="color: navy"><b> -&gt; </b></span>tgt.current<span style="color: navy">;</span>
  src.resultForDelete<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.resultForDelete = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#CriteriaNotExistsBehavior'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.requireBoth<span style="color: navy"><b> -&gt; </b></span>tgt.requireBoth<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>SubscriptionTopicEventTrigger<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.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.event<span style="color: navy"><b> -&gt; </b></span>tgt.event<span style="color: navy">;</span>
  src.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>SubscriptionTopicNotificationShape<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.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
  src.include<span style="color: navy"><b> -&gt; </b></span>tgt.include<span style="color: navy">;</span>
  src.revInclude<span style="color: navy"><b> -&gt; </b></span>tgt.revInclude<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="CriteriaNotExistsBehavior"/>
      <status value="draft"/>
      <group>
        <source
                value="http://hl7.org/fhir/4.3/subscriptiontopic-cr-behavior"/>
        <target value="http://hl7.org/fhir/subscriptiontopic-cr-behavior"/>
        <element>
          <code value="test-passes"/>
          <target>
            <code value="test-passes"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="test-fails"/>
          <target>
            <code value="test-fails"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="draft"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/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="draft"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/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="draft"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/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>
  <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/SubscriptionTopic4Bto5"/>
  <version value="1.0.0"/>
  <name value="SubscriptionTopic4Bto5"/>
  <title value="FML Conversion for SubscriptionTopic: R4B to R5"/>
  <status value="draft"/>
  <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="FMLConversionforSubscriptionTopicR4BtoR5"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url
         value="http://hl7.org/fhir/4.3/StructureDefinition/SubscriptionTopic"/>
    <mode value="source"/>
    <alias value="SubscriptionTopicR4B"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/SubscriptionTopic"/>
    <mode value="target"/>
    <alias value="SubscriptionTopicR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="SubscriptionTopic"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="SubscriptionTopicR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="SubscriptionTopicR5"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="url"/>
      <source>
        <context value="src"/>
        <element value="url"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="url"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="version"/>
      <source>
        <context value="src"/>
        <element value="version"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="version"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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>
      <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>
    </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="copyright"/>
      <source>
        <context value="src"/>
        <element value="copyright"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="copyright"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="approvalDate"/>
      <source>
        <context value="src"/>
        <element value="approvalDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="approvalDate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.copyrightLabel -&gt; tgt.copyrightLabel;"/>
    </rule>
    <rule>
      <name value="lastReviewDate"/>
      <source>
        <context value="src"/>
        <element value="lastReviewDate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="lastReviewDate"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="effectivePeriod"/>
      <source>
        <context value="src"/>
        <element value="effectivePeriod"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="effectivePeriod"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="resourceTrigger"/>
      <source>
        <context value="src"/>
        <element value="resourceTrigger"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resourceTrigger"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SubscriptionTopicResourceTrigger"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="eventTrigger"/>
      <source>
        <context value="src"/>
        <element value="eventTrigger"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="eventTrigger"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SubscriptionTopicEventTrigger"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="notificationShape"/>
      <source>
        <context value="src"/>
        <element value="notificationShape"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="notificationShape"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SubscriptionTopicNotificationShape"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.canFilterBy as s -&gt; tgt.canFilterBy as t then SubscriptionTopicCanFilterBy(s,t);"/>
    </rule>
  </group>
  <group>
    <name value="SubscriptionTopicResourceTrigger"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="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="supportedInteraction"/>
      <source>
        <context value="src"/>
        <element value="supportedInteraction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supportedInteraction"/>
        <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="queryCriteria"/>
      <source>
        <context value="src"/>
        <element value="queryCriteria"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="queryCriteria"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="SubscriptionTopicResourceTriggerQueryCriteria"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="fhirPathCriteria"/>
      <source>
        <context value="src"/>
        <element value="fhirPathCriteria"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fhirPathCriteria"/>
        <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="SubscriptionTopicResourceTriggerQueryCriteria"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="previous"/>
      <source>
        <context value="src"/>
        <element value="previous"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="previous"/>
        <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="resultForCreate"/>
      <source>
        <context value="src"/>
        <element value="resultForCreate"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resultForCreate"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#CriteriaNotExistsBehavior"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="current"/>
      <source>
        <context value="src"/>
        <element value="current"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="current"/>
        <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="resultForDelete"/>
      <source>
        <context value="src"/>
        <element value="resultForDelete"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resultForDelete"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#CriteriaNotExistsBehavior"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="requireBoth"/>
      <source>
        <context value="src"/>
        <element value="requireBoth"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requireBoth"/>
        <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="SubscriptionTopicEventTrigger"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="event"/>
      <source>
        <context value="src"/>
        <element value="event"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="event"/>
        <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>
  </group>
  <group>
    <name value="SubscriptionTopicNotificationShape"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="include"/>
      <source>
        <context value="src"/>
        <element value="include"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="include"/>
        <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="revInclude"/>
      <source>
        <context value="src"/>
        <element value="revInclude"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="revInclude"/>
        <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>