<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="HdBe-Payer.InsuranceCompany" />
  <meta>
    <lastUpdated value="2022-07-19T13:39:13.6387467+00:00" />
  </meta>
  <url value="https://fhir.healthdata.be/StructureDefinition/HdBe-Payer.InsuranceCompany" />
  <name value="HdBePayerInsuranceCompany" />
  <title value="HdBe Payer.InsuranceCompany" />
  <status value="draft" />
  <date value="2022-10-17T09:09:13.9562003+00:00" />
  <publisher value="Healthdata.be (Sciensano)" />
  <contact>
    <name value="Service portal – healthdata.be" />
    <telecom>
      <system value="url" />
      <value value="https://sciensano.service-now.com/sp" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Payers are organizations or individuals that pay for the healthcare supplied to the patient. This profile represents insurance organizations with direct financial responsibility to the patient." />
  <copyright value="Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="zib-payer-v3.1.1-2020EN" />
    <uri value="https://zibs.nl/wiki/Payer-v3.1.1(2020EN)" />
    <name value="zib Payer-v3.1.1(2020EN)" />
  </mapping>
  <mapping>
    <identity value="HdBe-Payer" />
    <uri value="https://fhir.healthdata.be/StructureDefinition/LogicalModel/HdBe-Payer" />
    <name value="HdBe logical model Payer" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Coverage" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Coverage" />
  <derivation value="constraint" />
  <differential>
    <element id="Coverage">
      <path value="Coverage" />
      <short value="Payer / Insurance" />
      <comment value="The CBB Payer is split into two focal profiles on Coverage based on the PayerPerson and InsuranceCompany containers. These two containers cannot be profiled within one profile because they both require mapping different concepts on elements such as `.payor` and `.type`.&#xD;&#xA;&#xD;&#xA;The CBB container Payer.InsuranceCompany is mapped to this Coverage profile and uses the profile HdBe-Payer-Organization to capture the OrganizationName, IdentificationNumber, AddressInformation and ContactInformation. The HdBe-Payer-Organization profile is referenced using the `.payor` element." />
      <alias value="Betaler" />
      <alias value="Verzekering" />
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.1" />
        <comment value="Payer" />
      </mapping>
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.8" />
        <comment value="Insurance" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Insurance" />
      </mapping>
    </element>
    <element id="Coverage.status">
      <path value="Coverage.status" />
      <comment value="Sending systems that don't record an explicit status can use the following guidance to infer a value from the CBB:&#xD;&#xA;&#xD;&#xA;* StartDateTime is present and in the future: _draft_&#xD;&#xA;* EndDateTime is present:&#xD;&#xA;    * and in the future: _active_&#xD;&#xA;    * and in the past: _cancelled_&#xD;&#xA;* When no status can be derived from StartDateTime and EndDateTime it is expected that only _active_ Coverage resources are exchanged." />
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.13" />
        <comment value="StartDateTime (implicit, main mapping is on Coverage.period.start)" />
      </mapping>
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.14" />
        <comment value="EndDateTime (implicit, main mapping is on Coverage.period.end)" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer.InsuranceCompany.Insurance.StartDateTime" />
        <comment value="StartDateTime (implicit, main mapping is on Coverage.period.start)" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer.InsuranceCompany.Insurance.EndDateTime" />
        <comment value="EndDateTime (implicit, main mapping is on Coverage.period.end)" />
      </mapping>
    </element>
    <element id="Coverage.type">
      <path value="Coverage.type" />
      <short value="InsuranceType" />
      <definition value="Type of insurance policy. Codes as returned in the Check for Right to Insurance." />
      <alias value="Verzekeringssoort" />
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.healthdata.be/ValueSet/InsuranceType" />
      </binding>
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.15" />
        <comment value="InsuranceType" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer.InsuranceCompany.Insurance.InsuranceType" />
      </mapping>
    </element>
    <element id="Coverage.subscriberId">
      <path value="Coverage.subscriberId" />
      <short value="InsurantNumber" />
      <definition value="Number under which the insured person is registered at the insurance company This item maps the ‘Identification number of the card’ on EHIC field 8" />
      <alias value="VerzekerdeNummer" />
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.6" />
        <comment value="InsurantNumber" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer.InsuranceCompany.InsurantNumber" />
      </mapping>
    </element>
    <element id="Coverage.beneficiary">
      <path value="Coverage.beneficiary" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-Patient" />
      </type>
    </element>
    <element id="Coverage.period.start">
      <path value="Coverage.period.start" />
      <short value="StartDateTime" />
      <definition value="Date from which the insurance policy coverage applies." />
      <alias value="BeginDatumTijd" />
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.13" />
        <comment value="StartDateTime" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer.InsuranceCompany.Insurance.StartDateTime" />
      </mapping>
    </element>
    <element id="Coverage.period.end">
      <path value="Coverage.period.end" />
      <short value="EndDateTime" />
      <definition value="Date until which the insurance policy coverage applies. This item maps the ‘Expiry date’ on EHIC field 9." />
      <alias value="EindDatumTijd" />
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.14" />
        <comment value="EndDateTime" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer.InsuranceCompany.Insurance.EndDateTime" />
      </mapping>
    </element>
    <element id="Coverage.payor">
      <path value="Coverage.payor" />
      <short value="InsuranceCompany" />
      <alias value="Verzekeraar" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="https://fhir.healthdata.be/StructureDefinition/HdBe-Payer-Organization" />
      </type>
      <mapping>
        <identity value="zib-payer-v3.1.1-2020EN" />
        <map value="NL-CM:1.1.3" />
        <comment value="InsuranceCompany" />
      </mapping>
      <mapping>
        <identity value="HdBe-Payer" />
        <map value="Payer.InsuranceCompany" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>