Tanzania NHIF → ZHSF Claims Submission FHIR IG
0.1.0 - ci-build Tanzania

Tanzania NHIF → ZHSF Claims Submission FHIR IG, published by Speedykom GmbH. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Speedykom/tanzania-nhif-zhsf-claims-ig/ and changes regularly. See the Directory of published versions

: TZ Claim Submission → FHIR Claim - XML Representation

Draft as of 2026-01-12

Raw xml | Download


<StructureMap xmlns="http://hl7.org/fhir">
  <id value="TZClaimSubmissionToClaim"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureMap TZClaimSubmissionToClaim</b></p><a name="TZClaimSubmissionToClaim"> </a><a name="hcTZClaimSubmissionToClaim"> </a><pre class="fml">
<span style="color: #cc00cc">/// <b>url</b> = </span><span style="color: blue">'http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureMap/TZClaimSubmissionToClaim'</span>
<span style="color: #cc00cc">/// <b>name</b> = </span><span style="color: blue">'TZClaimSubmissionToClaim'</span>
<span style="color: #cc00cc">/// <b>status</b> = </span><span style="color: blue">'draft'</span>

<b>uses</b><span style="color: navy"> &quot;</span>http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureDefinition/TZClaimSubmissionRequest<span style="color: navy">&quot; </span><b>as </b><b>source</b>
<b>uses</b><span style="color: navy"> &quot;</span><a href="http://hl7.org/fhir/R5/claim.html" title="Claim">http://hl7.org/fhir/StructureDefinition/Claim</a><span style="color: navy">&quot; </span><b>as </b><b>target</b>

<b>group </b>TZClaimSubmissionToClaim<span style="color: navy">(</span><b>source</b> <span style="color: maroon">src</span><span style="color: navy"> : </span>TZClaimSubmissionRequest, <b>target</b> <span style="color: maroon">tgt</span><span style="color: navy"> : </span>Claim<span style="color: navy">)</span><span style="color: navy"> {
</span>  src<span style="color: navy"><b> -&gt; </b></span>tgt.id = <b>uuid</b><span style="color: navy">(</span><span style="color: navy">)</span> <i>&quot;SetClaimId&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">-----------------------------</span>
  src.claimNumber<span style="color: navy"><b> -&gt; </b></span>tgt.identifier<b> as </b><span style="color: maroon">ident</span><b> then</b><span style="color: navy"> {
</span>    src.claimNumber<span style="color: navy"><b> -&gt; </b></span>ident.value <i>&quot;SetIdentifierValue&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;MapClaimNumber&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">-----------------------------</span>
  src.claimType<span style="color: navy"><b> -&gt; </b></span>tgt.type<b> as </b><span style="color: maroon">type</span><b> then</b><span style="color: navy"> {
</span>    src.claimType<span style="color: navy"><b> -&gt; </b></span>type.text <i>&quot;SetClaimTypeText&quot;</i><span style="color: navy">;</span>
  <span style="color: navy">}</span> <i>&quot;MapClaimType&quot;</i><span style="color: navy">;</span> <span style="color: navy">// </span><span style="color: green">-----------------------------</span>
<span style="color: navy">}

</span></pre></div>
  </text>
  <url
       value="http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureMap/TZClaimSubmissionToClaim"/>
  <version value="0.1.0"/>
  <name value="TZClaimSubmissionToClaim"/>
  <status value="draft"/>
  <date value="2026-01-12T12:56:31+00:00"/>
  <publisher value="Speedykom GmbH"/>
  <contact>
    <name value="Speedykom GmbH"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.speedykom.de"/>
    </telecom>
  </contact>
  <contact>
    <name value="Ahmed Amri"/>
    <telecom>
      <system value="email"/>
      <value value="ahmed.amri@speedykom.de"/>
      <use value="work"/>
    </telecom>
  </contact>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="TZ"/>
      <display value="Tanzania"/>
    </coding>
  </jurisdiction>
  <structure>
    <url
         value="http://build.fhir.org/ig/speedykom/tanzania-nhif-zhsf-claims-ig/StructureDefinition/TZClaimSubmissionRequest"/>
    <mode value="source"/>
  </structure>
  <structure>
    <url value="http://hl7.org/fhir/StructureDefinition/Claim"/>
    <mode value="target"/>
  </structure>
  <group>
    <name value="TZClaimSubmissionToClaim"/>
    <input>
      <name value="src"/>
      <type value="TZClaimSubmissionRequest"/>
      <mode value="source"/>
    </input>
    <input>
      <name value="tgt"/>
      <type value="Claim"/>
      <mode value="target"/>
    </input>
    <rule>
      <name value="SetClaimId"/>
      <source>
        <context value="src"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="id"/>
        <transform value="uuid"/>
      </target>
      <documentation value="-----------------------------"/>
    </rule>
    <rule>
      <name value="MapClaimNumber"/>
      <source>
        <context value="src"/>
        <element value="claimNumber"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="identifier"/>
        <variable value="ident"/>
      </target>
      <rule>
        <name value="SetIdentifierValue"/>
        <source>
          <context value="src"/>
          <element value="claimNumber"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="ident"/>
          <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>
      <documentation value="-----------------------------"/>
    </rule>
    <rule>
      <name value="MapClaimType"/>
      <source>
        <context value="src"/>
        <element value="claimType"/>
      </source>
      <target>
        <context value="tgt"/>
        <element value="type"/>
        <variable value="type"/>
      </target>
      <rule>
        <name value="SetClaimTypeText"/>
        <source>
          <context value="src"/>
          <element value="claimType"/>
          <variable value="vvv"/>
        </source>
        <target>
          <context value="type"/>
          <element value="text"/>
          <variable value="vvv"/>
          <transform value="create"/>
        </target>
        <dependent>
          <name value="DefaultMappingGroupAnonymousAlias"/>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
          <parameter>
            <valueId value="vvv"/>
          </parameter>
        </dependent>
      </rule>
      <documentation value="-----------------------------"/>
    </rule>
  </group>
</StructureMap>