<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ie-core-coverage" />
  <url value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-coverage" />
  <name value="IECoreCoverage" />
  <title value="IE Core Coverage" />
  <status value="draft" />
  <description value="The IE Core Coverage profile sets minimum expectations for the Coverage resource to record, search, and fetch insurance or medical scheme coverage associated with a patient, based on Irish requirements." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Coverage" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Coverage" />
  <derivation value="constraint" />
  <differential>
    <element id="Coverage.status">
      <path value="Coverage.status" />
      <mustSupport value="true" />
    </element>
    <element id="Coverage.type">
      <path value="Coverage.type" />
      <min value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <valueSet value="https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-payer-type" />
      </binding>
    </element>
    <element id="Coverage.subscriberId">
      <path value="Coverage.subscriberId" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Coverage.beneficiary">
      <path value="Coverage.beneficiary" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Coverage.relationship">
      <path value="Coverage.relationship" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Coverage.period">
      <path value="Coverage.period" />
      <mustSupport value="true" />
    </element>
    <element id="Coverage.payor">
      <path value="Coverage.payor" />
      <mustSupport value="true" />
    </element>
    <element id="Coverage.class">
      <path value="Coverage.class" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>