<Bundle xmlns="http://hl7.org/fhir">
  <id value="example-patient-health-group-two-contacts" />
  <type value="collection" />
  <entry>
    <fullUrl value="https://example.org/fhir/Patient/jonas-moen-health-group-current" />
    <resource>
      <Patient>
        <id value="jonas-moen-health-group-current" />
        <meta>
          <profile value="https://novari.no/fhir/digidot/StructureDefinition/digidot-Patient-no|0.2.3" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Jonas Moen, born 9 January 2010, is a synthetic NHN SyntPop patient. This fictional classification history records A1 from 9 January 2010 through 31 December 2012 and A2 from 1 January 2013 through 31 December 2028. A2 applies on 19 October 2026. The earlier December 2012 contact retains A1. Calendar-year boundaries illustrate the supplied health-group list; they do not establish an approved automatic eligibility or payment rule.</p>
          </div>
        </text>
        <extension url="https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no">
          <extension url="group">
            <valueCodeableConcept>
              <coding>
                <system value="https://novari.no/fhir/digidot/CodeSystem/digidot-helsegruppe" />
                <version value="0.3.2" />
                <code value="A1" />
                <display value="Barn og unge 0–2 år" />
              </coding>
            </valueCodeableConcept>
          </extension>
          <extension url="period">
            <valuePeriod>
              <start value="2010-01-09" />
              <end value="2012-12-31" />
            </valuePeriod>
          </extension>
        </extension>
        <extension url="https://novari.no/fhir/digidot/StructureDefinition/digidot-PatientHealthGroup-no">
          <extension url="group">
            <valueCodeableConcept>
              <coding>
                <system value="https://novari.no/fhir/digidot/CodeSystem/digidot-helsegruppe" />
                <version value="0.3.2" />
                <code value="A2" />
                <display value="Barn og unge 3–18 år" />
              </coding>
            </valueCodeableConcept>
          </extension>
          <extension url="period">
            <valuePeriod>
              <start value="2013-01-01" />
              <end value="2028-12-31" />
            </valuePeriod>
          </extension>
        </extension>
        <identifier>
          <system value="urn:oid:2.16.578.1.12.4.1.4.1" />
          <value value="09661078143" />
        </identifier>
        <active value="true" />
        <name>
          <family value="Moen" />
          <given value="Jonas" />
        </name>
        <birthDate value="2010-01-09" />
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://example.org/fhir/Encounter/jonas-health-group-earlier" />
    <resource>
      <Encounter>
        <id value="jonas-health-group-earlier" />
        <meta>
          <profile value="https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no|0.6.11" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Synthetic dental contact on 2012-12-12. Health group A1 is taken from the Patient assignment covering this contact date. Later Patient updates do not automatically change this historical Encounter value. This fictional example illustrates classification history, not a verified entitlement decision.</p>
          </div>
        </text>
        <extension url="https://novari.no/fhir/digidot/StructureDefinition/digidot-Helsegruppe-no">
          <valueCodeableConcept>
            <coding>
              <system value="https://novari.no/fhir/digidot/CodeSystem/digidot-helsegruppe" />
              <version value="0.3.2" />
              <code value="A1" />
              <display value="Barn og unge 0–2 år" />
            </coding>
          </valueCodeableConcept>
        </extension>
        <status value="finished" />
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
          <code value="AMB" />
          <display value="ambulatory" />
        </class>
        <subject>
          <reference value="Patient/jonas-moen-health-group-current" />
          <type value="Patient" />
          <display value="Jonas Moen" />
        </subject>
        <participant>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
              <code value="PPRF" />
              <display value="primary performer" />
            </coding>
            <text value="Primary performer for this contact" />
          </type>
          <individual>
            <reference value="Practitioner/planning-practitioner" />
            <type value="Practitioner" />
            <display value="Robin Taylor" />
          </individual>
        </participant>
        <period>
          <start value="2012-12-12T09:00:00+01:00" />
          <end value="2012-12-12T09:30:00+01:00" />
        </period>
        <location>
          <location>
            <reference value="Location/planning-location" />
            <type value="Location" />
            <display value="Central Dental Clinic" />
          </location>
        </location>
        <serviceProvider>
          <reference value="Organization/planning-county" />
          <type value="Organization" />
          <display value="Fylkeskommune" />
        </serviceProvider>
      </Encounter>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://example.org/fhir/Encounter/jonas-health-group-later" />
    <resource>
      <Encounter>
        <id value="jonas-health-group-later" />
        <meta>
          <profile value="https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no|0.6.11" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Synthetic dental contact on 2013-01-16. Health group A2 is taken from the Patient assignment covering this contact date. Later Patient updates do not automatically change this historical Encounter value. This fictional example illustrates classification history, not a verified entitlement decision.</p>
          </div>
        </text>
        <extension url="https://novari.no/fhir/digidot/StructureDefinition/digidot-Helsegruppe-no">
          <valueCodeableConcept>
            <coding>
              <system value="https://novari.no/fhir/digidot/CodeSystem/digidot-helsegruppe" />
              <version value="0.3.2" />
              <code value="A2" />
              <display value="Barn og unge 3–18 år" />
            </coding>
          </valueCodeableConcept>
        </extension>
        <status value="finished" />
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
          <code value="AMB" />
          <display value="ambulatory" />
        </class>
        <subject>
          <reference value="Patient/jonas-moen-health-group-current" />
          <type value="Patient" />
          <display value="Jonas Moen" />
        </subject>
        <participant>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType" />
              <code value="PPRF" />
              <display value="primary performer" />
            </coding>
            <text value="Primary performer for this contact" />
          </type>
          <individual>
            <reference value="Practitioner/planning-practitioner" />
            <type value="Practitioner" />
            <display value="Robin Taylor" />
          </individual>
        </participant>
        <period>
          <start value="2013-01-16T09:00:00+01:00" />
          <end value="2013-01-16T09:30:00+01:00" />
        </period>
        <location>
          <location>
            <reference value="Location/planning-location" />
            <type value="Location" />
            <display value="Central Dental Clinic" />
          </location>
        </location>
        <serviceProvider>
          <reference value="Organization/planning-county" />
          <type value="Organization" />
          <display value="Fylkeskommune" />
        </serviceProvider>
      </Encounter>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://example.org/fhir/Practitioner/planning-practitioner" />
    <resource>
      <Practitioner>
        <id value="planning-practitioner" />
        <meta>
          <profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Robin Taylor, dentist at Central Dental Clinic in the public dental service of Fylkeskommune.</p>
          </div>
        </text>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
              <code value="PRN" />
              <display value="Provider number" />
            </coding>
            <text value="HPR number (synthetic example)" />
          </type>
          <system value="urn:oid:2.16.578.1.12.4.1.4.4" />
          <value value="1234567" />
        </identifier>
        <identifier>
          <system value="urn:digidot:example:planning:practitioner" />
          <value value="planning-practitioner" />
        </identifier>
        <active value="true" />
        <name>
          <family value="Taylor" />
          <given value="Robin" />
        </name>
        <qualification>
          <code>
            <text value="Dentist" />
          </code>
        </qualification>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://example.org/fhir/Organization/planning-county" />
    <resource>
      <Organization>
        <id value="planning-county" />
        <meta>
          <profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Organization" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <p>County municipality responsible for the public dental service.</p>
          </div>
        </text>
        <identifier>
          <system value="urn:oid:2.16.578.1.12.4.1.4.101" />
          <value value="999999999" />
        </identifier>
        <identifier>
          <system value="urn:digidot:example:planning:organization" />
          <value value="planning-county" />
        </identifier>
        <active value="true" />
        <type>
          <text value="County municipality" />
        </type>
        <name value="Fylkeskommune" />
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://example.org/fhir/Location/planning-location" />
    <resource>
      <Location>
        <id value="planning-location" />
        <meta>
          <profile value="http://hl7.no/fhir/StructureDefinition/no-basis-Location" />
        </meta>
        <text>
          <status value="generated" />
          <div xmlns="http://www.w3.org/1999/xhtml">
            <p>Central Dental Clinic, the physical site for both visits. The street address is fictional.</p>
          </div>
        </text>
        <identifier>
          <system value="urn:digidot:example:planning:location" />
          <value value="planning-location" />
        </identifier>
        <status value="active" />
        <name value="Central Dental Clinic" />
        <description value="Physical dental clinic site used for both visits. The street address is fictional." />
        <mode value="instance" />
        <address>
          <use value="work" />
          <type value="physical" />
          <text value="Eksempelveien 12, 7010 TRONDHEIM, Norway" />
          <line value="Eksempelveien 12" />
          <city value="TRONDHEIM" />
          <postalCode value="7010" />
          <country value="NO" />
        </address>
        <managingOrganization>
          <reference value="Organization/planning-county" />
          <type value="Organization" />
        </managingOrganization>
      </Location>
    </resource>
  </entry>
</Bundle>