FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

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

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="EvidenceReport4Bto5"/>
  <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/EvidenceReport4Bto5'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'EvidenceReport4Bto5'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for EvidenceReport: 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>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>ReportRelationshipType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-report-relation-type.html" title="ReportRelationshipType">http://hl7.org/fhir/4.3/report-relation-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-report-relation-type.html" title="Report Relationship Type">http://hl7.org/fhir/report-relation-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>replaces <b>-</b> t<span style="color: navy">:</span>replaces
  s<span style="color: navy">:</span>amends <b>-</b> t<span style="color: navy">:</span>amends
  s<span style="color: navy">:</span>appends <b>-</b> t<span style="color: navy">:</span>appends
  s<span style="color: navy">:</span>transforms <b>-</b> t<span style="color: navy">:</span>transforms
  s<span style="color: navy">:</span>replacedWith <b>-</b> t<span style="color: navy">:</span>replacedWith
  s<span style="color: navy">:</span>amendedWith <b>-</b> t<span style="color: navy">:</span>amendedWith
  s<span style="color: navy">:</span>appendedWith <b>-</b> t<span style="color: navy">:</span>appendedWith
  s<span style="color: navy">:</span>transformedWith <b>-</b> t<span style="color: navy">:</span>transformedWith
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>SectionMode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-list-mode.html" title="ListMode">http://hl7.org/fhir/4.3/list-mode</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-list-mode.html" title="List Mode">http://hl7.org/fhir/list-mode</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>working <b>-</b> t<span style="color: navy">:</span>working
  s<span style="color: navy">:</span>snapshot <b>-</b> t<span style="color: navy">:</span>snapshot
  s<span style="color: navy">:</span>changes <b>-</b> t<span style="color: navy">:</span>changes
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/evidencereport.html" title="EvidenceReport">http://hl7.org/fhir/4.3/StructureDefinition/EvidenceReport</a><span style="color: navy">&quot; </span><b>alias </b>EvidenceReportR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/evidencereport.html" title="EvidenceReport">http://hl7.org/fhir/StructureDefinition/EvidenceReport</a><span style="color: navy">&quot; </span><b>alias </b>EvidenceReportR5 <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>EvidenceReport<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>EvidenceReportR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>EvidenceReportR5<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.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.useContext<span style="color: navy"><b> -&gt; </b></span>tgt.useContext<span style="color: navy">;</span>
  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.relatedIdentifier<span style="color: navy"><b> -&gt; </b></span>tgt.relatedIdentifier<span style="color: navy">;</span>
  src.citeAs<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.citeAs<span style="color: navy">;</span>
  src.citeAs<span style="color: navy"> : </span>markdown<span style="color: navy"><b> -&gt; </b></span>tgt.citeAs<span style="color: navy">;</span>
  src.type<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
  src.relatedArtifact<span style="color: navy"><b> -&gt; </b></span>tgt.relatedArtifact<span style="color: navy">;</span>
  src.subject<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.subject<b> as </b><span style="color: maroon">t</span><b> then </b>EvidenceReportSubject<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.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.author<span style="color: navy"><b> -&gt; </b></span>tgt.author<span style="color: navy">;</span>
  src.editor<span style="color: navy"><b> -&gt; </b></span>tgt.editor<span style="color: navy">;</span>
  src.reviewer<span style="color: navy"><b> -&gt; </b></span>tgt.reviewer<span style="color: navy">;</span>
  src.endorser<span style="color: navy"><b> -&gt; </b></span>tgt.endorser<span style="color: navy">;</span>
  src.relatesTo<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.relatesTo<b> as </b><span style="color: maroon">t</span><b> then </b>EvidenceReportRelatesTo<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.section<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.section<b> as </b><span style="color: maroon">t</span><b> then </b>EvidenceReportSection<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>EvidenceReportSubject<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.characteristic<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.characteristic<b> as </b><span style="color: maroon">t</span><b> then </b>EvidenceReportSubjectCharacteristic<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.note<span style="color: navy"><b> -&gt; </b></span>tgt.note<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>EvidenceReportSubjectCharacteristic<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.code<span style="color: navy"><b> -&gt; </b></span>tgt.code<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>boolean<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Quantity<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.value<span style="color: navy"> : </span>Range<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.exclude<span style="color: navy"><b> -&gt; </b></span>tgt.exclude<span style="color: navy">;</span>
  src.period<span style="color: navy"><b> -&gt; </b></span>tgt.period<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>EvidenceReportRelatesTo<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.code<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.code = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#ReportRelationshipType'</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"> : </span>Identifier<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span> tgt.target<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.identifier = <span style="color: maroon">v</span> <i>&quot;identifier&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.target as s -&gt; tgt.target as t then EvidenceReportRelatesToTarget(s,t);</span>
  src.target<span style="color: navy"> : </span>Reference<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span> tgt.target<b> as </b><span style="color: maroon">t</span><span style="color: navy">, </span> t.resource = <span style="color: maroon">v</span> <i>&quot;reference&quot;</i><span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group EvidenceReportRelatesToTarget(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.url -&gt; tgt.url;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.identifier -&gt; tgt.identifier;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.display -&gt; tgt.display;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.resource -&gt; tgt.resource;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>EvidenceReportSection<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.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.focus<span style="color: navy"><b> -&gt; </b></span>tgt.focus<span style="color: navy">;</span>
  src.focusReference<span style="color: navy"><b> -&gt; </b></span>tgt.focusReference<span style="color: navy">;</span>
  src.author<span style="color: navy"><b> -&gt; </b></span>tgt.author<span style="color: navy">;</span>
  src.text<span style="color: navy"><b> -&gt; </b></span>tgt.text<span style="color: navy">;</span>
  src.mode<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.mode = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#SectionMode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.orderedBy<span style="color: navy"><b> -&gt; </b></span>tgt.orderedBy<span style="color: navy">;</span>
  src.entryClassifier<span style="color: navy"><b> -&gt; </b></span>tgt.entryClassifier<span style="color: navy">;</span>
  src.entryReference<span style="color: navy"><b> -&gt; </b></span>tgt.entryReference<span style="color: navy">;</span>
  src.entryQuantity<span style="color: navy"><b> -&gt; </b></span>tgt.entryQuantity<span style="color: navy">;</span>
  src.emptyReason<span style="color: navy"><b> -&gt; </b></span>tgt.emptyReason<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <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="ReportRelationshipType"/>
      <status value="draft"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/report-relation-type"/>
        <target value="http://hl7.org/fhir/report-relation-type"/>
        <element>
          <code value="replaces"/>
          <target>
            <code value="replaces"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="amends"/>
          <target>
            <code value="amends"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="appends"/>
          <target>
            <code value="appends"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="transforms"/>
          <target>
            <code value="transforms"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="replacedWith"/>
          <target>
            <code value="replacedWith"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="amendedWith"/>
          <target>
            <code value="amendedWith"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="appendedWith"/>
          <target>
            <code value="appendedWith"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="transformedWith"/>
          <target>
            <code value="transformedWith"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="SectionMode"/>
      <status value="draft"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/list-mode"/>
        <target value="http://hl7.org/fhir/list-mode"/>
        <element>
          <code value="working"/>
          <target>
            <code value="working"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="snapshot"/>
          <target>
            <code value="snapshot"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="changes"/>
          <target>
            <code value="changes"/>
            <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/EvidenceReport4Bto5"/>
  <version value="5.1.0"/>
  <name value="EvidenceReport4Bto5"/>
  <title value="FML Conversion for EvidenceReport: R4B to R5"/>
  <status value="draft"/>
  <date value="2024-04-27T18:54:50+10: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="FMLConversionforEvidenceReportR4BtoR5"/>
  <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/EvidenceReport"/>
    <mode value="source"/>
    <alias value="EvidenceReportR4B"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/EvidenceReport"/>
    <mode value="target"/>
    <alias value="EvidenceReportR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="EvidenceReport"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="EvidenceReportR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="EvidenceReportR5"/>
      <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="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="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="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="relatedIdentifier"/>
      <source>
        <context value="src"/>
        <element value="relatedIdentifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relatedIdentifier"/>
        <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="citeAsReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="citeAs"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="citeAs"/>
        <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="citeAsMarkdown"/>
      <source>
        <context value="src"/>
        <type value="markdown"/>
        <element value="citeAs"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="citeAs"/>
        <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="note"/>
      <source>
        <context value="src"/>
        <element value="note"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="note"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="relatedArtifact"/>
      <source>
        <context value="src"/>
        <element value="relatedArtifact"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relatedArtifact"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="subject"/>
      <source>
        <context value="src"/>
        <element value="subject"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="subject"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="EvidenceReportSubject"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </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="author"/>
      <source>
        <context value="src"/>
        <element value="author"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="author"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="editor"/>
      <source>
        <context value="src"/>
        <element value="editor"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="editor"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="reviewer"/>
      <source>
        <context value="src"/>
        <element value="reviewer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="reviewer"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="endorser"/>
      <source>
        <context value="src"/>
        <element value="endorser"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="endorser"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="relatesTo"/>
      <source>
        <context value="src"/>
        <element value="relatesTo"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="relatesTo"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="EvidenceReportRelatesTo"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="section"/>
      <source>
        <context value="src"/>
        <element value="section"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="section"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="EvidenceReportSection"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="EvidenceReportSubject"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="characteristic"/>
      <source>
        <context value="src"/>
        <element value="characteristic"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="characteristic"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="EvidenceReportSubjectCharacteristic"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="note"/>
      <source>
        <context value="src"/>
        <element value="note"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="note"/>
        <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="EvidenceReportSubjectCharacteristic"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="valueReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueBoolean"/>
      <source>
        <context value="src"/>
        <type value="boolean"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueQuantity"/>
      <source>
        <context value="src"/>
        <type value="Quantity"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="valueRange"/>
      <source>
        <context value="src"/>
        <type value="Range"/>
        <element value="value"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="value"/>
        <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="exclude"/>
      <source>
        <context value="src"/>
        <element value="exclude"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="exclude"/>
        <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="period"/>
      <source>
        <context value="src"/>
        <element value="period"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="period"/>
        <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="EvidenceReportRelatesTo"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="code"/>
      <source>
        <context value="src"/>
        <element value="code"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="code"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#ReportRelationshipType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <type value="Identifier"/>
        <element value="target"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="target"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="identifier"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
      <documentation
                     value="src.target as s -&gt; tgt.target as t then EvidenceReportRelatesToTarget(s,t);"/>
    </rule>
    <rule>
      <name value="reference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="target"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="target"/>
        <variable value="t"/>
      </target>
      <target>
        <context value="t"/>
        <element value="resource"/>
        <transform value="copy"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
      </target>
    </rule>
  </group>
  <group>
    <name value="EvidenceReportSection"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group EvidenceReportRelatesToTarget(source src, target tgt) extends BackboneElement {
src.url -&gt; tgt.url;
src.identifier -&gt; tgt.identifier;
src.display -&gt; tgt.display;
src.resource -&gt; tgt.resource;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <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="focus"/>
      <source>
        <context value="src"/>
        <element value="focus"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="focus"/>
        <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="focusReference"/>
      <source>
        <context value="src"/>
        <element value="focusReference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="focusReference"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="author"/>
      <source>
        <context value="src"/>
        <element value="author"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="author"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="text"/>
      <source>
        <context value="src"/>
        <element value="text"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="text"/>
        <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="mode"/>
      <source>
        <context value="src"/>
        <element value="mode"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="mode"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#SectionMode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="orderedBy"/>
      <source>
        <context value="src"/>
        <element value="orderedBy"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="orderedBy"/>
        <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="entryClassifier"/>
      <source>
        <context value="src"/>
        <element value="entryClassifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="entryClassifier"/>
        <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="entryReference"/>
      <source>
        <context value="src"/>
        <element value="entryReference"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="entryReference"/>
        <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="entryQuantity"/>
      <source>
        <context value="src"/>
        <element value="entryQuantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="entryQuantity"/>
        <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="emptyReason"/>
      <source>
        <context value="src"/>
        <element value="emptyReason"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="emptyReason"/>
        <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>