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

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

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

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>conceptmap</b><span style="color: navy"> &quot;</span>TestReportActionResult<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-report-action-result-codes.html" title="Test Report Action Result">http://hl7.org/fhir/report-action-result-codes</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-report-action-result-codes.html" title="TestReportActionResult">http://hl7.org/fhir/4.0/report-action-result-codes</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>pass <b>-</b> t<span style="color: navy">:</span>pass
  s<span style="color: navy">:</span>skip <b>-</b> t<span style="color: navy">:</span>skip
  s<span style="color: navy">:</span>fail <b>-</b> t<span style="color: navy">:</span>fail
  s<span style="color: navy">:</span>warning <b>-</b> t<span style="color: navy">:</span>warning
  s<span style="color: navy">:</span>error <b>-</b> t<span style="color: navy">:</span>error
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>TestReportParticipantType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-report-participant-type.html" title="Test Report Participant Type">http://hl7.org/fhir/report-participant-type</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-report-participant-type.html" title="TestReportParticipantType">http://hl7.org/fhir/4.0/report-participant-type</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>&quot;test-engine&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>test-engine<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>client <b>-</b> t<span style="color: navy">:</span>client
  s<span style="color: navy">:</span>server <b>-</b> t<span style="color: navy">:</span>server
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>TestReportResult<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-report-result-codes.html" title="Test Report Result">http://hl7.org/fhir/report-result-codes</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-report-result-codes.html" title="TestReportResult">http://hl7.org/fhir/4.0/report-result-codes</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>pass <b>-</b> t<span style="color: navy">:</span>pass
  s<span style="color: navy">:</span>fail <b>-</b> t<span style="color: navy">:</span>fail
  s<span style="color: navy">:</span>pending <b>-</b> t<span style="color: navy">:</span>pending
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>TestReportStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-report-status-codes.html" title="Test Report Status">http://hl7.org/fhir/report-status-codes</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-report-status-codes.html" title="TestReportStatus">http://hl7.org/fhir/4.0/report-status-codes</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>completed <b>-</b> t<span style="color: navy">:</span>completed
  s<span style="color: navy">:</span>&quot;in-progress&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>in-progress<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>waiting <b>-</b> t<span style="color: navy">:</span>waiting
  s<span style="color: navy">:</span>stopped <b>-</b> t<span style="color: navy">:</span>stopped
  s<span style="color: navy">:</span>&quot;entered-in-error&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>entered-in-error<span style="color: navy">&quot;</span>
<span style="color: navy">}

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

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style="color: navy">&quot;
</span>
<b>group </b>TestReport<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>TestReportR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>TestReportR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<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">'#TestReportStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.testScript<span style="color: navy"><b> -&gt; </b></span>tgt.testScript<span style="color: navy">;</span>
  src.result<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.result = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#TestReportResult'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.score<span style="color: navy"><b> -&gt; </b></span>tgt.score<span style="color: navy">;</span>
  src.tester<span style="color: navy"><b> -&gt; </b></span>tgt.tester<span style="color: navy">;</span>
  src.issued<span style="color: navy"><b> -&gt; </b></span>tgt.issued<span style="color: navy">;</span>
  src.participant<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.participant<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportParticipant<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.setup<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.setup<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportSetup<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.test<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.test<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportTest<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.teardown<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.teardown<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportTeardown<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>TestReportParticipant<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.type<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.type = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#TestReportParticipantType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.uri<span style="color: navy"><b> -&gt; </b></span>tgt.uri<span style="color: navy">;</span>
  src.display<span style="color: navy"><b> -&gt; </b></span>tgt.display<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>TestReportSetup<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.action<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.action<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportSetupAction<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>TestReportSetupAction<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.operation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.operation<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportSetupActionOperation<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.assert<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.assert<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportSetupActionAssert<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>TestReportSetupActionOperation<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.result<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.result = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#TestReportActionResult'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.message<span style="color: navy"><b> -&gt; </b></span>tgt.message<span style="color: navy">;</span>
  src.detail<span style="color: navy"><b> -&gt; </b></span>tgt.detail<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>TestReportSetupActionAssert<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.result<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.result = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#TestReportActionResult'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.message<span style="color: navy"><b> -&gt; </b></span>tgt.message<span style="color: navy">;</span>
  src.detail<span style="color: navy"><b> -&gt; </b></span>tgt.detail<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group TestReportSetupActionAssertRequirement(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.link : uri -&gt; tgt.link;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.link : canonical -&gt; tgt.link;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>TestReportTest<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span>, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy">)</span><b> extends </b>BackboneElement<span style="color: navy"> {
</span>  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.action<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.action<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportTestAction<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>TestReportTestAction<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.operation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.operation<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportSetupActionOperation<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.assert<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.assert<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportSetupActionAssert<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>TestReportTeardown<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.action<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.action<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportTeardownAction<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>TestReportTeardownAction<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.operation<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.operation<b> as </b><span style="color: maroon">t</span><b> then </b>TestReportSetupActionOperation<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></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="TestReportActionResult"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/report-action-result-codes"/>
        <target value="http://hl7.org/fhir/4.0/report-action-result-codes"/>
        <element>
          <code value="pass"/>
          <target>
            <code value="pass"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="skip"/>
          <target>
            <code value="skip"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="fail"/>
          <target>
            <code value="fail"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="warning"/>
          <target>
            <code value="warning"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="error"/>
          <target>
            <code value="error"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="TestReportParticipantType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/report-participant-type"/>
        <target value="http://hl7.org/fhir/4.0/report-participant-type"/>
        <element>
          <code value="test-engine"/>
          <target>
            <code value="test-engine"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="client"/>
          <target>
            <code value="client"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="server"/>
          <target>
            <code value="server"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="TestReportResult"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/report-result-codes"/>
        <target value="http://hl7.org/fhir/4.0/report-result-codes"/>
        <element>
          <code value="pass"/>
          <target>
            <code value="pass"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="fail"/>
          <target>
            <code value="fail"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="pending"/>
          <target>
            <code value="pending"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="TestReportStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/report-status-codes"/>
        <target value="http://hl7.org/fhir/4.0/report-status-codes"/>
        <element>
          <code value="completed"/>
          <target>
            <code value="completed"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="in-progress"/>
          <target>
            <code value="in-progress"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="waiting"/>
          <target>
            <code value="waiting"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="stopped"/>
          <target>
            <code value="stopped"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <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/TestReport5to4"/>
  <version value="5.1.0-ballot1"/>
  <name value="TestReport5to4"/>
  <title value="FML Conversion for TestReport: R5 to R4"/>
  <status value="active"/>
  <date value="2023-12-19T08:40:03+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="FMLConversionforTestReportR5toR4"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/TestReport"/>
    <mode value="source"/>
    <alias value="TestReportR5"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/4.0/StructureDefinition/TestReport"/>
    <mode value="target"/>
    <alias value="TestReportR4"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4"/>
  <group>
    <name value="TestReport"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="TestReportR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="TestReportR4"/>
      <mode value="target"/>
    </input>
    <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="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="#TestReportStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="testScript"/>
      <source>
        <context value="src"/>
        <element value="testScript"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="testScript"/>
        <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="result"/>
      <source>
        <context value="src"/>
        <element value="result"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="result"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#TestReportResult"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="score"/>
      <source>
        <context value="src"/>
        <element value="score"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="score"/>
        <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="tester"/>
      <source>
        <context value="src"/>
        <element value="tester"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="tester"/>
        <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="issued"/>
      <source>
        <context value="src"/>
        <element value="issued"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="issued"/>
        <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="participant"/>
      <source>
        <context value="src"/>
        <element value="participant"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="participant"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportParticipant"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="setup"/>
      <source>
        <context value="src"/>
        <element value="setup"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="setup"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportSetup"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="test"/>
      <source>
        <context value="src"/>
        <element value="test"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="test"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportTest"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="teardown"/>
      <source>
        <context value="src"/>
        <element value="teardown"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="teardown"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportTeardown"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestReportParticipant"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="type"/>
      <source>
        <context value="src"/>
        <element value="type"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#TestReportParticipantType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="uri"/>
      <source>
        <context value="src"/>
        <element value="uri"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="uri"/>
        <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="display"/>
      <source>
        <context value="src"/>
        <element value="display"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="display"/>
        <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="TestReportSetup"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="action"/>
      <source>
        <context value="src"/>
        <element value="action"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="action"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportSetupAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestReportSetupAction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="operation"/>
      <source>
        <context value="src"/>
        <element value="operation"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="operation"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportSetupActionOperation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="assert"/>
      <source>
        <context value="src"/>
        <element value="assert"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="assert"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportSetupActionAssert"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestReportSetupActionOperation"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="result"/>
      <source>
        <context value="src"/>
        <element value="result"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="result"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#TestReportActionResult"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="message"/>
      <source>
        <context value="src"/>
        <element value="message"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="message"/>
        <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="detail"/>
      <source>
        <context value="src"/>
        <element value="detail"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <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="TestReportSetupActionAssert"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="result"/>
      <source>
        <context value="src"/>
        <element value="result"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="result"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#TestReportActionResult"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="message"/>
      <source>
        <context value="src"/>
        <element value="message"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="message"/>
        <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="detail"/>
      <source>
        <context value="src"/>
        <element value="detail"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <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="TestReportTest"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group TestReportSetupActionAssertRequirement(source src, target tgt) extends BackboneElement {
src.link : uri -&gt; tgt.link;
src.link : canonical -&gt; tgt.link;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="action"/>
      <source>
        <context value="src"/>
        <element value="action"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="action"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportTestAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestReportTestAction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="operation"/>
      <source>
        <context value="src"/>
        <element value="operation"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="operation"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportSetupActionOperation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="assert"/>
      <source>
        <context value="src"/>
        <element value="assert"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="assert"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportSetupActionAssert"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestReportTeardown"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="action"/>
      <source>
        <context value="src"/>
        <element value="action"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="action"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportTeardownAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestReportTeardownAction"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="operation"/>
      <source>
        <context value="src"/>
        <element value="operation"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="operation"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestReportSetupActionOperation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>