<Bundle xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R5/fhir-single.xsd">
  <id value="example-Bundle-coverage-history" />
  <type value="history" />
  <total value="1" />
  <link>
    <relation value="self" />
    <url value="https://api.bpcs.exchange/rest/v1/dev/THP/BPCS_vs1/Coverage/CAN.101.20210723/_history" />
  </link>
  <entry>
    <fullUrl value="https://api.bpcs.exchange/rest/v1/dev/THP/BPCS_vs1/Coverage/CAN.101.20210723" />
    <resource>
      <Coverage>
        <id value="CAN.101.20210723" />
        <meta>
          <extension url="https://bpcs.exchange/fhir/StructureDefinition/ext-Meta-effectiveDate">
            <valueDate value="2021-08-01" />
          </extension>
          <versionId value="20210823145136239407" />
          <lastUpdated value="2021-08-23T14:51:36.239407-04:00" />
        </meta>
        <contained>
          <Provenance>
            <id value="1" />
            <target>
              <reference value="#" />
            </target>
            <occurredDateTime value="2021-08-23T14:51:36.239407-04:00" />
            <activity>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation" />
                <code value="CREATE" />
              </coding>
            </activity>
            <agent>
              <who>
                <identifier>
                  <system value="https://bpcs.exchange/fhir/NamingSystem/userids" />
                  <value value="M_MBPCS" />
                </identifier>
              </who>
            </agent>
          </Provenance>
        </contained>
        <extension url="https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-Application">
          <valueReference>
            <reference value="Coverage/example-Coverage-family" />
          </valueReference>
        </extension>
        <extension url="https://bpcs.exchange/fhir/StructureDefinition/ext-Coverage-PremiumPaid">
          <valueMoney>
            <value value="500" />
            <currency value="CAD" />
          </valueMoney>
        </extension>
        <status value="active" />
        <kind value="insurance" />
        <subscriber>
          <!-- Normally example-Patient would actually be the ODB Number (7902617849) -->
          <reference value="Patient/example-Patient" />
        </subscriber>
        <beneficiary>
          <!-- Normally example-Patient would actually be the ODB Number (7902617849) -->
          <reference value="Patient/example-Patient" />
        </beneficiary>
        <period>
          <start value="2021-07-23" />
        </period>
        <insurer>
          <identifier>
            <system value="https://bpcs.exchange/fhir/NamingSystem/insurer-id" />
            <value value="CAN" />
          </identifier>
        </insurer>
        <class>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/coverage-class" />
              <code value="plan" />
            </coding>
          </type>
          <value>
            <value value="101" />
          </value>
        </class>
      </Coverage>
    </resource>
    <request>
      <method value="POST" />
      <url value="Coverage" />
    </request>
    <response>
      <status value="201" />
      <etag value="20210823145136239407" />
      <lastModified value="2021-08-23T14:51:36.239407-04:00" />
    </response>
  </entry>
</Bundle>