FHIR Extensions Pack
5.1.0-snapshot1 - Working Copy International flag

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

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

Page standards status: Trial-use Maturity Level: 1

Raw xml | Download



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

<b>conceptmap</b><span style="color: navy"> &quot;</span>EligibilityRequestPurpose<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-eligibilityrequest-purpose.html" title="EligibilityRequestPurpose">http://hl7.org/fhir/4.3/eligibilityrequest-purpose</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-eligibilityrequest-purpose.html" title="Eligibility Request Purpose">http://hl7.org/fhir/eligibilityrequest-purpose</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>&quot;auth-requirements&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>auth-requirements<span style="color: navy">&quot;</span>
  s<span style="color: navy">:</span>benefits <b>-</b> t<span style="color: navy">:</span>benefits
  s<span style="color: navy">:</span>discovery <b>-</b> t<span style="color: navy">:</span>discovery
  s<span style="color: navy">:</span>validation <b>-</b> t<span style="color: navy">:</span>validation
<span style="color: navy">}

</span><b>conceptmap</b><span style="color: navy"> &quot;</span>EligibilityRequestStatus<span style="color: navy">&quot; {
</span><b>  prefix </b>s<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R4B/codesystem-fm-status.html" title="Financial Resource Status Codes">http://hl7.org/fhir/4.3/fm-status</a><span style="color: navy">&quot;
</span><b>  prefix </b>t<span style="color: navy"> = &quot;</span><a href="http://hl7.org/fhir/R5/codesystem-fm-status.html" title="Financial Resource Status Codes">http://hl7.org/fhir/fm-status</a><span style="color: navy">&quot;
</span>
  s<span style="color: navy">:</span>active <b>-</b> t<span style="color: navy">:</span>active
  s<span style="color: navy">:</span>cancelled <b>-</b> t<span style="color: navy">:</span>cancelled
  s<span style="color: navy">:</span>draft <b>-</b> t<span style="color: navy">:</span>draft
  s<span style="color: navy">:</span>&quot;entered-in-error&quot; <b>-</b> t<span style="color: navy">:</span><span style="color: navy">&quot;</span>entered-in-error<span style="color: navy">&quot;</span>
<span style="color: navy">}

</span><b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R4B/coverageeligibilityrequest.html" title="CoverageEligibilityRequest">http://hl7.org/fhir/4.3/StructureDefinition/CoverageEligibilityRequest</a><span style="color: navy">&quot; </span><b>alias </b>CoverageEligibilityRequestR4B <b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/coverageeligibilityrequest.html" title="CoverageEligibilityRequest">http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest</a><span style="color: navy">&quot; </span><b>alias </b>CoverageEligibilityRequestR5 <b>as </b><b>target</b>

<b>imports</b><span style="color: navy"> &quot;</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style="color: navy">&quot;
</span>
<b>group </b>CoverageEligibilityRequest<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>CoverageEligibilityRequestR4B, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>CoverageEligibilityRequestR5<span style="color: navy">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style="color: navy"> {
</span>  src.identifier<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<span style="color: navy">;</span>
  src.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">'#EligibilityRequestStatus'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.priority<span style="color: navy"><b> -&gt; </b></span>tgt.priority<span style="color: navy">;</span>
  src.purpose<b> as </b><span style="color: maroon">v</span><span style="color: navy"><b> -&gt; </b></span>tgt.purpose = <b>translate</b><span style="color: navy">(</span><span style="color: maroon">v</span><span style="color: navy">, </span><span style="color: blue">'#EligibilityRequestPurpose'</span><span style="color: navy">, </span><span style="color: blue">'code'</span><span style="color: navy">)</span><span style="color: navy">;</span>
  src.patient<span style="color: navy"><b> -&gt; </b></span>tgt.patient<span style="color: navy">;</span>
  src.serviced<span style="color: navy"> : </span>date<span style="color: navy"><b> -&gt; </b></span>tgt.serviced<span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">src.event as s -&gt; tgt.event as t then CoverageEligibilityRequestEvent(s,t);</span>
  src.serviced<span style="color: navy"> : </span>Period<span style="color: navy"><b> -&gt; </b></span>tgt.serviced<span style="color: navy">;</span>
  src.created<span style="color: navy"><b> -&gt; </b></span>tgt.created<span style="color: navy">;</span>
  src.enterer<span style="color: navy"><b> -&gt; </b></span>tgt.enterer<span style="color: navy">;</span>
  src.provider<span style="color: navy"><b> -&gt; </b></span>tgt.provider<span style="color: navy">;</span>
  src.insurer<span style="color: navy"><b> -&gt; </b></span>tgt.insurer<span style="color: navy">;</span>
  src.facility<span style="color: navy"><b> -&gt; </b></span>tgt.facility<span style="color: navy">;</span>
  src.supportingInfo<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.supportingInfo<b> as </b><span style="color: maroon">t</span><b> then </b>CoverageEligibilityRequestSupportingInfo<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.insurance<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.insurance<b> as </b><span style="color: maroon">t</span><b> then </b>CoverageEligibilityRequestInsurance<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.item<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.item<b> as </b><span style="color: maroon">t</span><b> then </b>CoverageEligibilityRequestItem<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: navy">// </span><span style="color: green">group CoverageEligibilityRequestEvent(source src, target tgt) extends BackboneElement {</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.type -&gt; tgt.type;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.when : dateTime -&gt; tgt.when;</span>
<span style="color: #b36b00" title="This element was not defined prior to R5">// src.when : Period -&gt; tgt.when;</span>
<span style="color: navy">// </span><span style="color: green">}</span>
<b>group </b>CoverageEligibilityRequestSupportingInfo<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.sequence<span style="color: navy"><b> -&gt; </b></span>tgt.sequence<span style="color: navy">;</span>
  src.information<span style="color: navy"><b> -&gt; </b></span>tgt.information<span style="color: navy">;</span>
  src.appliesToAll<span style="color: navy"><b> -&gt; </b></span>tgt.appliesToAll<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CoverageEligibilityRequestInsurance<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.focal<span style="color: navy"><b> -&gt; </b></span>tgt.focal<span style="color: navy">;</span>
  src.coverage<span style="color: navy"><b> -&gt; </b></span>tgt.coverage<span style="color: navy">;</span>
  src.businessArrangement<span style="color: navy"><b> -&gt; </b></span>tgt.businessArrangement<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CoverageEligibilityRequestItem<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.supportingInfoSequence<span style="color: navy"><b> -&gt; </b></span>tgt.supportingInfoSequence<span style="color: navy">;</span>
  src.category<span style="color: navy"><b> -&gt; </b></span>tgt.category<span style="color: navy">;</span>
  src.productOrService<span style="color: navy"><b> -&gt; </b></span>tgt.productOrService<span style="color: navy">;</span>
  src.modifier<span style="color: navy"><b> -&gt; </b></span>tgt.modifier<span style="color: navy">;</span>
  src.provider<span style="color: navy"><b> -&gt; </b></span>tgt.provider<span style="color: navy">;</span>
  src.quantity<span style="color: navy"><b> -&gt; </b></span>tgt.quantity<span style="color: navy">;</span>
  src.unitPrice<span style="color: navy"><b> -&gt; </b></span>tgt.unitPrice<span style="color: navy">;</span>
  src.facility<span style="color: navy"><b> -&gt; </b></span>tgt.facility<span style="color: navy">;</span>
  src.diagnosis<b> as </b><span style="color: maroon">s</span><span style="color: navy"><b> -&gt; </b></span>tgt.diagnosis<b> as </b><span style="color: maroon">t</span><b> then </b>CoverageEligibilityRequestItemDiagnosis<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.detail<span style="color: navy"><b> -&gt; </b></span>tgt.detail<span style="color: navy">;</span>
<span style="color: navy">}

</span><b>group </b>CoverageEligibilityRequestItemDiagnosis<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.diagnosis<span style="color: navy"> : </span>CodeableConcept<span style="color: navy"><b> -&gt; </b></span>tgt.diagnosis<span style="color: navy">;</span>
  src.diagnosis<span style="color: navy"> : </span>Reference<span style="color: navy"><b> -&gt; </b></span>tgt.diagnosis<span style="color: navy">;</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <contained>
    <ConceptMap>
      <id value="EligibilityRequestPurpose"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/eligibilityrequest-purpose"/>
        <target value="http://hl7.org/fhir/eligibilityrequest-purpose"/>
        <element>
          <code value="auth-requirements"/>
          <target>
            <code value="auth-requirements"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="benefits"/>
          <target>
            <code value="benefits"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="discovery"/>
          <target>
            <code value="discovery"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="validation"/>
          <target>
            <code value="validation"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <contained>
    <ConceptMap>
      <id value="EligibilityRequestStatus"/>
      <status value="active"/>
      <group>
        <source value="http://hl7.org/fhir/4.3/fm-status"/>
        <target value="http://hl7.org/fhir/fm-status"/>
        <element>
          <code value="active"/>
          <target>
            <code value="active"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="cancelled"/>
          <target>
            <code value="cancelled"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="draft"/>
          <target>
            <code value="draft"/>
            <relationship value="related-to"/>
          </target>
        </element>
        <element>
          <code value="entered-in-error"/>
          <target>
            <code value="entered-in-error"/>
            <relationship value="related-to"/>
          </target>
        </element>
      </group>
    </ConceptMap>
  </contained>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueInteger>
  </extension>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical
                        value="http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"/>
      </extension>
    </valueCode>
  </extension>
  <url
       value="http://hl7.org/fhir/StructureMap/CoverageEligibilityRequest4Bto5"/>
  <version value="5.1.0-snapshot1"/>
  <name value="CoverageEligibilityRequest4Bto5"/>
  <title value="FML Conversion for CoverageEligibilityRequest: R4B to R5"/>
  <status value="active"/>
  <date value="2024-03-12T13:30:10+11:00"/>
  <publisher value="HL7 International / FHIR Infrastructure"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="FMLConversionforCoverageEligibilityRequestR4BtoR5"/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
    </coding>
  </jurisdiction>
  <structure>
    <url
         value="http://hl7.org/fhir/4.3/StructureDefinition/CoverageEligibilityRequest"/>
    <mode value="source"/>
    <alias value="CoverageEligibilityRequestR4B"/>
  </structure>
  <structure>
    <url
         value="http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest"/>
    <mode value="target"/>
    <alias value="CoverageEligibilityRequestR5"/>
  </structure>
  <import value="http://hl7.org/fhir/StructureMap/*4Bto5"/>
  <group>
    <name value="CoverageEligibilityRequest"/>
    <extends value="DomainResource"/>
    <typeMode value="type-and-types"/>
    <input>
      <name value="src"/>
      <type value="CoverageEligibilityRequestR4B"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="CoverageEligibilityRequestR5"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="identifier"/>
      <source>
        <context value="src"/>
        <element value="identifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="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="#EligibilityRequestStatus"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="priority"/>
      <source>
        <context value="src"/>
        <element value="priority"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="priority"/>
        <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="v"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="purpose"/>
        <transform value="translate"/>
        <parameter>
          <valueId value="v"/>
        </parameter>
        <parameter>
          <valueString value="#EligibilityRequestPurpose"/>
        </parameter>
        <parameter>
          <valueString value="code"/>
        </parameter>
      </target>
    </rule>
    <rule>
      <name value="patient"/>
      <source>
        <context value="src"/>
        <element value="patient"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="patient"/>
        <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="servicedDate"/>
      <source>
        <context value="src"/>
        <type value="date"/>
        <element value="serviced"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="serviced"/>
        <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.event as s -&gt; tgt.event as t then CoverageEligibilityRequestEvent(s,t);"/>
    </rule>
    <rule>
      <name value="servicedPeriod"/>
      <source>
        <context value="src"/>
        <type value="Period"/>
        <element value="serviced"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="serviced"/>
        <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="created"/>
      <source>
        <context value="src"/>
        <element value="created"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="created"/>
        <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="enterer"/>
      <source>
        <context value="src"/>
        <element value="enterer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="enterer"/>
        <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="provider"/>
      <source>
        <context value="src"/>
        <element value="provider"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="provider"/>
        <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="insurer"/>
      <source>
        <context value="src"/>
        <element value="insurer"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="insurer"/>
        <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="facility"/>
      <source>
        <context value="src"/>
        <element value="facility"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="facility"/>
        <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="supportingInfo"/>
      <source>
        <context value="src"/>
        <element value="supportingInfo"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supportingInfo"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CoverageEligibilityRequestSupportingInfo"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="insurance"/>
      <source>
        <context value="src"/>
        <element value="insurance"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="insurance"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CoverageEligibilityRequestInsurance"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="item"/>
      <source>
        <context value="src"/>
        <element value="item"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="item"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CoverageEligibilityRequestItem"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CoverageEligibilityRequestSupportingInfo"/>
    <extends value="BackboneElement"/>
    <documentation
                   value="group CoverageEligibilityRequestEvent(source src, target tgt) extends BackboneElement {
src.type -&gt; tgt.type;
src.when : dateTime -&gt; tgt.when;
src.when : Period -&gt; tgt.when;
}"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="sequence"/>
      <source>
        <context value="src"/>
        <element value="sequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="sequence"/>
        <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="information"/>
      <source>
        <context value="src"/>
        <element value="information"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="information"/>
        <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="appliesToAll"/>
      <source>
        <context value="src"/>
        <element value="appliesToAll"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="appliesToAll"/>
        <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="CoverageEligibilityRequestInsurance"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="focal"/>
      <source>
        <context value="src"/>
        <element value="focal"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="focal"/>
        <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="coverage"/>
      <source>
        <context value="src"/>
        <element value="coverage"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="coverage"/>
        <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="businessArrangement"/>
      <source>
        <context value="src"/>
        <element value="businessArrangement"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="businessArrangement"/>
        <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="CoverageEligibilityRequestItem"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="supportingInfoSequence"/>
      <source>
        <context value="src"/>
        <element value="supportingInfoSequence"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="supportingInfoSequence"/>
        <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="category"/>
      <source>
        <context value="src"/>
        <element value="category"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="category"/>
        <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="productOrService"/>
      <source>
        <context value="src"/>
        <element value="productOrService"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="productOrService"/>
        <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="modifier"/>
      <source>
        <context value="src"/>
        <element value="modifier"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="modifier"/>
        <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="provider"/>
      <source>
        <context value="src"/>
        <element value="provider"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="provider"/>
        <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="quantity"/>
      <source>
        <context value="src"/>
        <element value="quantity"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="quantity"/>
        <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="unitPrice"/>
      <source>
        <context value="src"/>
        <element value="unitPrice"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="unitPrice"/>
        <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="facility"/>
      <source>
        <context value="src"/>
        <element value="facility"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="facility"/>
        <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="diagnosis"/>
      <source>
        <context value="src"/>
        <element value="diagnosis"/>
        <variable value="s"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="diagnosis"/>
        <variable value="t"/>
      </target>
      <dependent>
        <name value="CoverageEligibilityRequestItemDiagnosis"/>
        <parameter>
          <valueId value="s"/>
        </parameter>
        <parameter>
          <valueId value="t"/>
        </parameter>
      </dependent>
    </rule>
    <rule>
      <name value="detail"/>
      <source>
        <context value="src"/>
        <element value="detail"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="detail"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
  <group>
    <name value="CoverageEligibilityRequestItemDiagnosis"/>
    <extends value="BackboneElement"/>
    <input>
      <name value="src"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="diagnosisCodeableConcept"/>
      <source>
        <context value="src"/>
        <type value="CodeableConcept"/>
        <element value="diagnosis"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="diagnosis"/>
        <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="diagnosisReference"/>
      <source>
        <context value="src"/>
        <type value="Reference"/>
        <element value="diagnosis"/>
        <variable value="vvv"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="diagnosis"/>
        <variable value="vvv"/>
        <transform value="create"/>
      </target>
      <dependent>
        <name value="DefaultMappingGroupAnonymousAlias"/>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
        <parameter>
          <valueId value="vvv"/>
        </parameter>
      </dependent>
    </rule>
  </group>
</StructureMap>