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 TestScript: R5 to R4 - XML Representation

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



<StructureMap xmlns="http://hl7.org/fhir">
  <id value="TestScript5to4"/>
  <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/TestScript5to4'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'TestScript5to4'</span>
<span style="color: #cc00cc">/// <b>title</b> = </span><span style="color: blue">'FML Conversion for TestScript: 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>AssertionDirectionType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-assert-direction-codes.html" title="Assertion Direction Type">http://hl7.org/fhir/assert-direction-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-assert-direction-codes.html" title="AssertionDirectionType">http://hl7.org/fhir/4.0/assert-direction-codes</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>response <b>-</b> t<span style="color: navy">:</span>response
  s<span style="color: navy">:</span>request <b>-</b> t<span style="color: navy">:</span>request
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>AssertionOperatorType<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-assert-operator-codes.html" title="Assertion Operator Type">http://hl7.org/fhir/assert-operator-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-assert-operator-codes.html" title="AssertionOperatorType">http://hl7.org/fhir/4.0/assert-operator-codes</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>equals <b>-</b> t<span style="color: navy">:</span>equals
  s<span style="color: navy">:</span>notEquals <b>-</b> t<span style="color: navy">:</span>notEquals
  s<span style="color: navy">:</span>in <b>-</b> t<span style="color: navy">:</span>in
  s<span style="color: navy">:</span>notIn <b>-</b> t<span style="color: navy">:</span>notIn
  s<span style="color: navy">:</span>greaterThan <b>-</b> t<span style="color: navy">:</span>greaterThan
  s<span style="color: navy">:</span>lessThan <b>-</b> t<span style="color: navy">:</span>lessThan
  s<span style="color: navy">:</span>empty <b>-</b> t<span style="color: navy">:</span>empty
  s<span style="color: navy">:</span>notEmpty <b>-</b> t<span style="color: navy">:</span>notEmpty
  s<span style="color: navy">:</span>contains <b>-</b> t<span style="color: navy">:</span>contains
  s<span style="color: navy">:</span>notContains <b>-</b> t<span style="color: navy">:</span>notContains
  s<span style="color: navy">:</span>eval <b>-</b> t<span style="color: navy">:</span>eval
  s<span style="color: navy">:</span>manualEval <b>-</b> t<span style="color: navy">:</span>eval
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>AssertionResponseTypes<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-assert-response-code-types.html" title="Assertion Response Types">http://hl7.org/fhir/assert-response-code-types</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-assert-response-code-types.html" title="AssertionResponseTypes">http://hl7.org/fhir/4.0/assert-response-code-types</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>continue <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>switchingProtocols <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>okay <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>created <b>-</b> t<span style="color: navy">:</span>created
  s<span style="color: navy">:</span>accepted <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>nonAuthoritativeInformation <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>noContent <b>-</b> t<span style="color: navy">:</span>noContent
  s<span style="color: navy">:</span>resetContent <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>partialContent <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>multipleChoices <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>movedPermanently <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>found <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>seeOther <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>notModified <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>useProxy <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>temporaryRedirect <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>permanentRedirect <b>-</b> t<span style="color: navy">:</span>okay
  s<span style="color: navy">:</span>badRequest <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>unauthorized <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>paymentRequired <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>forbidden <b>-</b> t<span style="color: navy">:</span>forbidden
  s<span style="color: navy">:</span>notFound <b>-</b> t<span style="color: navy">:</span>notFound
  s<span style="color: navy">:</span>methodNotAllowed <b>-</b> t<span style="color: navy">:</span>methodNotAllowed
  s<span style="color: navy">:</span>notAcceptable <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>proxyAuthenticationRequired <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>requestTimeout <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>conflict <b>-</b> t<span style="color: navy">:</span>conflict
  s<span style="color: navy">:</span>gone <b>-</b> t<span style="color: navy">:</span>gone
  s<span style="color: navy">:</span>lengthRequired <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>preconditionFailed <b>-</b> t<span style="color: navy">:</span>preconditionFailed
  s<span style="color: navy">:</span>contentTooLarge <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>uriTooLong <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>unsupportedMediaType <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>rangeNotSatisfiable <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>expectationFailed <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>misdirectedRequest <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>unprocessableContent <b>-</b> t<span style="color: navy">:</span>unprocessable
  s<span style="color: navy">:</span>upgradeRequired <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>internalServerError <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>notImplemented <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>badGateway <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>serviceUnavailable <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>gatewayTimeout <b>-</b> t<span style="color: navy">:</span>bad
  s<span style="color: navy">:</span>httpVersionNotSupported <b>-</b> t<span style="color: navy">:</span>bad
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>PublicationStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/publication-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4/codesystem-publication-status.html" title="PublicationStatus">http://hl7.org/fhir/4.0/publication-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
  s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
  s<span style="color: navy">:</span>retired <b>-</b> t<span style="color: navy">:</span>retired
  s<span style="color: navy">:</span>unknown <b>-</b> t<span style="color: navy">:</span>unknown
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>TestScriptRequestMethodCode<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-http-operations.html" title="Test Script Request Method Code">http://hl7.org/fhir/http-operations</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-http-operations.html" title="TestScriptRequestMethodCode">http://hl7.org/fhir/4.0/http-operations</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>delete <b>-</b> t<span style="color: navy">:</span>delete
  s<span style="color: navy">:</span>get <b>-</b> t<span style="color: navy">:</span>get
  s<span style="color: navy">:</span>options <b>-</b> t<span style="color: navy">:</span>options
  s<span style="color: navy">:</span>patch <b>-</b> t<span style="color: navy">:</span>patch
  s<span style="color: navy">:</span>post <b>-</b> t<span style="color: navy">:</span>post
  s<span style="color: navy">:</span>put <b>-</b> t<span style="color: navy">:</span>put
  s<span style="color: navy">:</span>head <b>-</b> t<span style="color: navy">:</span>head
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/testscript.html" title="TestScript">http://hl7.org/fhir/StructureDefinition/TestScript</a><span style="color: navy">&quot; </span><b>alias </b>TestScriptR5 <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4/testscript.html" title="TestScript">http://hl7.org/fhir/4.0/StructureDefinition/TestScript</a><span style="color: navy">&quot; </span><b>alias </b>TestScriptR4 <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>TestScript<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>TestScriptR5, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>TestScriptR4<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.version<span style="color: navy"><b> -&gt; </b></span>tgt.version<span style="color: navy">;</span>
  src.name<span style="color: navy"><b> -&gt; </b></span>tgt.name<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;</span>
  src.title<span style="color: navy"><b> -&gt; </b></span>tgt.title<span style="color: navy">;</span>
  src.status<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.status = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#PublicationStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.experimental<span style="color: navy"><b> -&gt; </b></span>tgt.experimental<span style="color: navy">;</span>
  src.date<span style="color: navy"><b> -&gt; </b></span>tgt.date<span style="color: navy">;</span>
  src.publisher<span style="color: navy"><b> -&gt; </b></span>tgt.publisher<span style="color: navy">;</span>
  src.contact<span style="color: navy"><b> -&gt; </b></span>tgt.contact<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.useContext<span style="color: navy"><b> -&gt; </b></span>tgt.useContext<span style="color: navy">;</span>
  src.jurisdiction<span style="color: navy"><b> -&gt; </b></span>tgt.jurisdiction<span style="color: navy">;</span>
  src.purpose<span style="color: navy"><b> -&gt; </b></span>tgt.purpose<span style="color: navy">;</span>
  src.copyright<span style="color: navy"><b> -&gt; </b></span>tgt.copyright<span style="color: navy">;</span>
  src.origin<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.origin<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptOrigin<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.copyrightLabel -&gt; tgt.copyrightLabel;</span>
  src.destination<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.destination<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptDestination<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.metadata<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.metadata<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptMetadata<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.fixture<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.fixture<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptFixture<span style="color: navy">(</span><span style="color: maroon">s</span><span style="color: navy">, </span><span style="color: maroon">t</span><span style="color: navy">)</span><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.scope as s -&gt; tgt.scope as t then TestScriptScope(s,t);</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.profile<span style="color: navy">;</span>
  src.variable<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.variable<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptVariable<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>TestScriptSetup<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>TestScriptTest<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>TestScriptTeardown<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>TestScriptOrigin<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.index<span style="color: navy"><b> -&gt; </b></span>tgt.index<span style="color: navy">;</span>
  src.profile<span style="color: navy"><b> -&gt; </b></span>tgt.profile<span style="color: navy">;</span>
<span style="color: navy">}

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

</span><b>group </b>TestScriptMetadata<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.link<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.link<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptMetadataLink<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.capability<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.capability<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptMetadataCapability<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>TestScriptMetadataLink<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.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>TestScriptMetadataCapability<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.required<span style="color: navy"><b> -&gt; </b></span>tgt.required<span style="color: navy">;</span>
  src.validated<span style="color: navy"><b> -&gt; </b></span>tgt.validated<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.origin<span style="color: navy"><b> -&gt; </b></span>tgt.origin<span style="color: navy">;</span>
  src.destination<span style="color: navy"><b> -&gt; </b></span>tgt.destination<span style="color: navy">;</span>
  src.link<span style="color: navy"><b> -&gt; </b></span>tgt.link<span style="color: navy">;</span>
  src.capabilities<span style="color: navy"><b> -&gt; </b></span>tgt.capabilities<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group TestScriptScope(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.artifact -&gt; tgt.artifact;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.conformance -&gt; tgt.conformance;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.phase -&gt; tgt.phase;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>TestScriptFixture<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.autocreate<span style="color: navy"><b> -&gt; </b></span>tgt.autocreate<span style="color: navy">;</span>
  src.autodelete<span style="color: navy"><b> -&gt; </b></span>tgt.autodelete<span style="color: navy">;</span>
  src.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>TestScriptVariable<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.defaultValue<span style="color: navy"><b> -&gt; </b></span>tgt.defaultValue<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.expression<span style="color: navy"><b> -&gt; </b></span>tgt.expression<span style="color: navy">;</span>
  src.headerField<span style="color: navy"><b> -&gt; </b></span>tgt.headerField<span style="color: navy">;</span>
  src.hint<span style="color: navy"><b> -&gt; </b></span>tgt.hint<span style="color: navy">;</span>
  src.path<span style="color: navy"><b> -&gt; </b></span>tgt.path<span style="color: navy">;</span>
  src.sourceId<span style="color: navy"><b> -&gt; </b></span>tgt.sourceId<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>TestScriptSetup<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>TestScriptSetupAction<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>TestScriptSetupAction<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>TestScriptSetupActionOperation<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>TestScriptSetupActionAssert<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>TestScriptSetupActionOperation<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<span style="color: navy"><b> -&gt; </b></span>tgt.type<span style="color: navy">;</span>
  src.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
  src.label<span style="color: navy"><b> -&gt; </b></span>tgt.label<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.accept<span style="color: navy"><b> -&gt; </b></span>tgt.accept<span style="color: navy">;</span>
  src.contentType<span style="color: navy"><b> -&gt; </b></span>tgt.contentType<span style="color: navy">;</span>
  src.destination<span style="color: navy"><b> -&gt; </b></span>tgt.destination<span style="color: navy">;</span>
  src.encodeRequestUrl<span style="color: navy"><b> -&gt; </b></span>tgt.encodeRequestUrl<span style="color: navy">;</span>
  src.method<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.method = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#TestScriptRequestMethodCode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.origin<span style="color: navy"><b> -&gt; </b></span>tgt.origin<span style="color: navy">;</span>
  src.params<span style="color: navy"><b> -&gt; </b></span>tgt.params<span style="color: navy">;</span>
  src.requestHeader<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.requestHeader<b> as </b><span style="color: maroon">t</span><b> then </b>TestScriptSetupActionOperationRequestHeader<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.requestId<span style="color: navy"><b> -&gt; </b></span>tgt.requestId<span style="color: navy">;</span>
  src.responseId<span style="color: navy"><b> -&gt; </b></span>tgt.responseId<span style="color: navy">;</span>
  src.sourceId<span style="color: navy"><b> -&gt; </b></span>tgt.sourceId<span style="color: navy">;</span>
  src.targetId<span style="color: navy"><b> -&gt; </b></span>tgt.targetId<span style="color: navy">;</span>
  src.url<span style="color: navy"><b> -&gt; </b></span>tgt.url<span style="color: navy">;</span>
<span style="color: navy">}

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

</span><b>group </b>TestScriptSetupActionAssert<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.label<span style="color: navy"><b> -&gt; </b></span>tgt.label<span style="color: navy">;</span>
  src.description<span style="color: navy"><b> -&gt; </b></span>tgt.description<span style="color: navy">;</span>
  src.direction<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.direction = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#AssertionDirectionType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.compareToSourceId<span style="color: navy"><b> -&gt; </b></span>tgt.compareToSourceId<span style="color: navy">;</span>
  src.compareToSourceExpression<span style="color: navy"><b> -&gt; </b></span>tgt.compareToSourceExpression<span style="color: navy">;</span>
  src.compareToSourcePath<span style="color: navy"><b> -&gt; </b></span>tgt.compareToSourcePath<span style="color: navy">;</span>
  src.contentType<span style="color: navy"><b> -&gt; </b></span>tgt.contentType<span style="color: navy">;</span>
  src.expression<span style="color: navy"><b> -&gt; </b></span>tgt.expression<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.defaultManualCompletion as v -&gt; tgt.defaultManualCompletion = translate(v, '#AssertionManualCompletionType', 'code');</span>
  src.headerField<span style="color: navy"><b> -&gt; </b></span>tgt.headerField<span style="color: navy">;</span>
  src.minimumId<span style="color: navy"><b> -&gt; </b></span>tgt.minimumId<span style="color: navy">;</span>
  src.navigationLinks<span style="color: navy"><b> -&gt; </b></span>tgt.navigationLinks<span style="color: navy">;</span>
  src.operator<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.operator = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#AssertionOperatorType'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.path<span style="color: navy"><b> -&gt; </b></span>tgt.path<span style="color: navy">;</span>
  src.requestMethod<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.requestMethod = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#TestScriptRequestMethodCode'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.requestURL<span style="color: navy"><b> -&gt; </b></span>tgt.requestURL<span style="color: navy">;</span>
  src.resource<span style="color: navy"><b> -&gt; </b></span>tgt.resource<span style="color: navy">;</span>
  src.response<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.response = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#AssertionResponseTypes'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.responseCode<span style="color: navy"><b> -&gt; </b></span>tgt.responseCode<span style="color: navy">;</span>
  src.sourceId<span style="color: navy"><b> -&gt; </b></span>tgt.sourceId<span style="color: navy">;</span>
  src.validateProfileId<span style="color: navy"><b> -&gt; </b></span>tgt.validateProfileId<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.stopTestOnFail -&gt; tgt.stopTestOnFail;</span>
  src.value<span style="color: navy"><b> -&gt; </b></span>tgt.value<span style="color: navy">;</span>
  src.warningOnly<span style="color: navy"><b> -&gt; </b></span>tgt.warningOnly<span style="color: navy">;</span>
<span style="color: navy">}

</span><span style="color: navy">// </span><span style="color: green">group TestScriptSetupActionAssertRequirement(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>TestScriptTest<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>TestScriptTestAction<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>TestScriptTestAction<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>TestScriptSetupActionOperation<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>TestScriptSetupActionAssert<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>TestScriptTeardown<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>TestScriptTeardownAction<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>TestScriptTeardownAction<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>TestScriptSetupActionOperation<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="AssertionDirectionType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/assert-direction-codes"/>
        <target value="http://hl7.org/fhir/4.0/assert-direction-codes"/>
        <element>
          <code value="response"/>
          <target>
            <code value="response"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="request"/>
          <target>
            <code value="request"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="AssertionOperatorType"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/assert-operator-codes"/>
        <target value="http://hl7.org/fhir/4.0/assert-operator-codes"/>
        <element>
          <code value="equals"/>
          <target>
            <code value="equals"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notEquals"/>
          <target>
            <code value="notEquals"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="in"/>
          <target>
            <code value="in"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notIn"/>
          <target>
            <code value="notIn"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="greaterThan"/>
          <target>
            <code value="greaterThan"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="lessThan"/>
          <target>
            <code value="lessThan"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="empty"/>
          <target>
            <code value="empty"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notEmpty"/>
          <target>
            <code value="notEmpty"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="contains"/>
          <target>
            <code value="contains"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notContains"/>
          <target>
            <code value="notContains"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="eval"/>
          <target>
            <code value="eval"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="manualEval"/>
          <target>
            <code value="eval"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="AssertionResponseTypes"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/assert-response-code-types"/>
        <target value="http://hl7.org/fhir/4.0/assert-response-code-types"/>
        <element>
          <code value="continue"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="switchingProtocols"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="okay"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="created"/>
          <target>
            <code value="created"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="accepted"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="nonAuthoritativeInformation"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="noContent"/>
          <target>
            <code value="noContent"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="resetContent"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="partialContent"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="multipleChoices"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="movedPermanently"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="found"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="seeOther"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notModified"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="useProxy"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="temporaryRedirect"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="permanentRedirect"/>
          <target>
            <code value="okay"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="badRequest"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unauthorized"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="paymentRequired"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="forbidden"/>
          <target>
            <code value="forbidden"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notFound"/>
          <target>
            <code value="notFound"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="methodNotAllowed"/>
          <target>
            <code value="methodNotAllowed"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notAcceptable"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="proxyAuthenticationRequired"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="requestTimeout"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="conflict"/>
          <target>
            <code value="conflict"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="gone"/>
          <target>
            <code value="gone"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="lengthRequired"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="preconditionFailed"/>
          <target>
            <code value="preconditionFailed"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="contentTooLarge"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="uriTooLong"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unsupportedMediaType"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="rangeNotSatisfiable"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="expectationFailed"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="misdirectedRequest"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unprocessableContent"/>
          <target>
            <code value="unprocessable"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="upgradeRequired"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="internalServerError"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="notImplemented"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="badGateway"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="serviceUnavailable"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="gatewayTimeout"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="httpVersionNotSupported"/>
          <target>
            <code value="bad"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="PublicationStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/publication-status"/>
        <target value="http://hl7.org/fhir/4.0/publication-status"/>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="retired"/>
          <target>
            <code value="retired"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="unknown"/>
          <target>
            <code value="unknown"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="TestScriptRequestMethodCode"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/http-operations"/>
        <target value="http://hl7.org/fhir/4.0/http-operations"/>
        <element>
          <code value="delete"/>
          <target>
            <code value="delete"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="get"/>
          <target>
            <code value="get"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="options"/>
          <target>
            <code value="options"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="patch"/>
          <target>
            <code value="patch"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="post"/>
          <target>
            <code value="post"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="put"/>
          <target>
            <code value="put"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="head"/>
          <target>
            <code value="head"/>
            <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/TestScript5to4"/>
  <version value="5.1.0"/>
  <name value="TestScript5to4"/>
  <title value="FML Conversion for TestScript: R5 to R4"/>
  <status value="active"/>
  <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="FMLConversionforTestScriptR5toR4"/>
  <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/TestScript"/>
    <mode value="source"/>
    <alias value="TestScriptR5"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/4.0/StructureDefinition/TestScript"/>
    <mode value="target"/>
    <alias value="TestScriptR4"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*5to4"/>
  <group>
    <name value="TestScript"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="TestScriptR5"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="TestScriptR4"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="url"/>
      <source>
        <context value="src"/>
        <element value="url"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="url"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="version"/>
      <source>
        <context value="src"/>
        <element value="version"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="version"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.versionAlgorithm : string -&gt; tgt.versionAlgorithm;"/>
    </rule>
    <rule>
      <name value="title"/>
      <source>
        <context value="src"/>
        <element value="title"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="title"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="status"/>
      <source>
        <context value="src"/>
        <element value="status"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="status"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#PublicationStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="experimental"/>
      <source>
        <context value="src"/>
        <element value="experimental"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="experimental"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="date"/>
      <source>
        <context value="src"/>
        <element value="date"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="date"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="publisher"/>
      <source>
        <context value="src"/>
        <element value="publisher"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="publisher"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="contact"/>
      <source>
        <context value="src"/>
        <element value="contact"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contact"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="description"/>
      <source>
        <context value="src"/>
        <element value="description"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="description"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="useContext"/>
      <source>
        <context value="src"/>
        <element value="useContext"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="useContext"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="jurisdiction"/>
      <source>
        <context value="src"/>
        <element value="jurisdiction"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="jurisdiction"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="purpose"/>
      <source>
        <context value="src"/>
        <element value="purpose"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="purpose"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="copyright"/>
      <source>
        <context value="src"/>
        <element value="copyright"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="copyright"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="origin"/>
      <source>
        <context value="src"/>
        <element value="origin"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="origin"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptOrigin"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation value="src.copyrightLabel -&gt; tgt.copyrightLabel;"/>
    </rule>
    <rule>
      <name value="destination"/>
      <source>
        <context value="src"/>
        <element value="destination"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="destination"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptDestination"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="metadata"/>
      <source>
        <context value="src"/>
        <element value="metadata"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="metadata"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptMetadata"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="fixture"/>
      <source>
        <context value="src"/>
        <element value="fixture"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="fixture"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptFixture"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.scope as s -&gt; tgt.scope as t then TestScriptScope(s,t);"/>
    </rule>
    <rule>
      <name value="profile"/>
      <source>
        <context value="src"/>
        <element value="profile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="profile"/>
        <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="variable"/>
      <source>
        <context value="src"/>
        <element value="variable"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="variable"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptVariable"/>
        <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="TestScriptSetup"/>
        <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="TestScriptTest"/>
        <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="TestScriptTeardown"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptOrigin"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="index"/>
      <source>
        <context value="src"/>
        <element value="index"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="index"/>
        <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="profile"/>
      <source>
        <context value="src"/>
        <element value="profile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="profile"/>
        <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="TestScriptDestination"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="index"/>
      <source>
        <context value="src"/>
        <element value="index"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="index"/>
        <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="profile"/>
      <source>
        <context value="src"/>
        <element value="profile"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="profile"/>
        <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="TestScriptMetadata"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="link"/>
      <source>
        <context value="src"/>
        <element value="link"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="link"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptMetadataLink"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="capability"/>
      <source>
        <context value="src"/>
        <element value="capability"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="capability"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptMetadataCapability"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptMetadataLink"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <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="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>
  </group>
  <group>
    <name value="TestScriptMetadataCapability"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="required"/>
      <source>
        <context value="src"/>
        <element value="required"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="required"/>
        <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="validated"/>
      <source>
        <context value="src"/>
        <element value="validated"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="validated"/>
        <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="origin"/>
      <source>
        <context value="src"/>
        <element value="origin"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="origin"/>
        <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="destination"/>
      <source>
        <context value="src"/>
        <element value="destination"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="destination"/>
        <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="link"/>
      <source>
        <context value="src"/>
        <element value="link"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="link"/>
        <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="capabilities"/>
      <source>
        <context value="src"/>
        <element value="capabilities"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="capabilities"/>
        <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="TestScriptFixture"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group TestScriptScope(source src, target tgt) extends BackboneElement {
src.artifact -&gt; tgt.artifact;
src.conformance -&gt; tgt.conformance;
src.phase -&gt; tgt.phase;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="autocreate"/>
      <source>
        <context value="src"/>
        <element value="autocreate"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="autocreate"/>
        <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="autodelete"/>
      <source>
        <context value="src"/>
        <element value="autodelete"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="autodelete"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="resource"/>
      <source>
        <context value="src"/>
        <element value="resource"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptVariable"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="name"/>
      <source>
        <context value="src"/>
        <element value="name"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="name"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="defaultValue"/>
      <source>
        <context value="src"/>
        <element value="defaultValue"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="defaultValue"/>
        <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="expression"/>
      <source>
        <context value="src"/>
        <element value="expression"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="expression"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="headerField"/>
      <source>
        <context value="src"/>
        <element value="headerField"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="headerField"/>
        <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="hint"/>
      <source>
        <context value="src"/>
        <element value="hint"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="hint"/>
        <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="path"/>
      <source>
        <context value="src"/>
        <element value="path"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="path"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="sourceId"/>
      <source>
        <context value="src"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptSetup"/>
    <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="TestScriptSetupAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptSetupAction"/>
    <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="TestScriptSetupActionOperation"/>
        <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="TestScriptSetupActionAssert"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptSetupActionOperation"/>
    <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="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="resource"/>
      <source>
        <context value="src"/>
        <element value="resource"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="label"/>
      <source>
        <context value="src"/>
        <element value="label"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="label"/>
        <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="accept"/>
      <source>
        <context value="src"/>
        <element value="accept"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="accept"/>
        <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="contentType"/>
      <source>
        <context value="src"/>
        <element value="contentType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contentType"/>
        <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="destination"/>
      <source>
        <context value="src"/>
        <element value="destination"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="destination"/>
        <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="encodeRequestUrl"/>
      <source>
        <context value="src"/>
        <element value="encodeRequestUrl"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="encodeRequestUrl"/>
        <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="method"/>
      <source>
        <context value="src"/>
        <element value="method"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="method"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#TestScriptRequestMethodCode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="origin"/>
      <source>
        <context value="src"/>
        <element value="origin"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="origin"/>
        <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="params"/>
      <source>
        <context value="src"/>
        <element value="params"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="params"/>
        <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="requestHeader"/>
      <source>
        <context value="src"/>
        <element value="requestHeader"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requestHeader"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="TestScriptSetupActionOperationRequestHeader"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="requestId"/>
      <source>
        <context value="src"/>
        <element value="requestId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requestId"/>
        <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="responseId"/>
      <source>
        <context value="src"/>
        <element value="responseId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="responseId"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="sourceId"/>
      <source>
        <context value="src"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="targetId"/>
      <source>
        <context value="src"/>
        <element value="targetId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="targetId"/>
        <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="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>
  </group>
  <group>
    <name value="TestScriptSetupActionOperationRequestHeader"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="field"/>
      <source>
        <context value="src"/>
        <element value="field"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="field"/>
        <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="value"/>
      <source>
        <context value="src"/>
        <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>
  </group>
  <group>
    <name value="TestScriptSetupActionAssert"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="label"/>
      <source>
        <context value="src"/>
        <element value="label"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="label"/>
        <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="direction"/>
      <source>
        <context value="src"/>
        <element value="direction"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="direction"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#AssertionDirectionType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="compareToSourceId"/>
      <source>
        <context value="src"/>
        <element value="compareToSourceId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="compareToSourceId"/>
        <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="compareToSourceExpression"/>
      <source>
        <context value="src"/>
        <element value="compareToSourceExpression"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="compareToSourceExpression"/>
        <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="compareToSourcePath"/>
      <source>
        <context value="src"/>
        <element value="compareToSourcePath"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="compareToSourcePath"/>
        <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="contentType"/>
      <source>
        <context value="src"/>
        <element value="contentType"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="contentType"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="expression"/>
      <source>
        <context value="src"/>
        <element value="expression"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="expression"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation
                     value="src.defaultManualCompletion as v -&gt; tgt.defaultManualCompletion = translate(v, '#AssertionManualCompletionType', 'code');"/>
    </rule>
    <rule>
      <name value="headerField"/>
      <source>
        <context value="src"/>
        <element value="headerField"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="headerField"/>
        <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="minimumId"/>
      <source>
        <context value="src"/>
        <element value="minimumId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="minimumId"/>
        <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="navigationLinks"/>
      <source>
        <context value="src"/>
        <element value="navigationLinks"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="navigationLinks"/>
        <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="operator"/>
      <source>
        <context value="src"/>
        <element value="operator"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="operator"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#AssertionOperatorType"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="path"/>
      <source>
        <context value="src"/>
        <element value="path"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="path"/>
        <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="requestMethod"/>
      <source>
        <context value="src"/>
        <element value="requestMethod"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requestMethod"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#TestScriptRequestMethodCode"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="requestURL"/>
      <source>
        <context value="src"/>
        <element value="requestURL"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="requestURL"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="resource"/>
      <source>
        <context value="src"/>
        <element value="resource"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="resource"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="response"/>
      <source>
        <context value="src"/>
        <element value="response"/>
        <variable value="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="response"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#AssertionResponseTypes"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="responseCode"/>
      <source>
        <context value="src"/>
        <element value="responseCode"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="responseCode"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="sourceId"/>
      <source>
        <context value="src"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sourceId"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="validateProfileId"/>
      <source>
        <context value="src"/>
        <element value="validateProfileId"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="validateProfileId"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
      <documentation value="src.stopTestOnFail -&gt; tgt.stopTestOnFail;"/>
    </rule>
    <rule>
      <name value="value"/>
      <source>
        <context value="src"/>
        <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="warningOnly"/>
      <source>
        <context value="src"/>
        <element value="warningOnly"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="warningOnly"/>
        <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="TestScriptTest"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group TestScriptSetupActionAssertRequirement(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="TestScriptTestAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptTestAction"/>
    <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="TestScriptSetupActionOperation"/>
        <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="TestScriptSetupActionAssert"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptTeardown"/>
    <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="TestScriptTeardownAction"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="TestScriptTeardownAction"/>
    <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="TestScriptSetupActionOperation"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>