<!--This example message is provided for illustrative purposes only. It has had no clinical validation. Where there are conflicts with the written message specification or schema, the specification or schema shall be considered to take precedence-->
<Bundle xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../schemas/bundle.xsd">
  <id value="9b505659-5e12-4533-a383-ab5a7a603c26" />
  <meta>
    <profile value="https://fhir.nhs.uk/StructureDefinition/gpconnect-searchset-bundle-1" />
  </meta>
  <type value="searchset" />
  <entry>
    <resource>
      <Schedule>
        <id value="b57e1f37-e88e-43ad-a9e9-79eeed7531dd" />
        <meta>
          <profile value="https://fhir.nhs.uk/StructureDefinition/gpconnect-schedule-1" />
        </meta>
        <extension url="https://fhir.nhs.uk/StructureDefinition/extension-gpconnect-practitioner-1">
          <valueReference>
            <reference value="Practitioner/97f9f119-1809-4300-aabb-ca23ab280181" />
            <display value="Dr. Bob Jones" />
          </valueReference>
        </extension>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/gpconnect-schedule-identifier" />
          <value value="Schedule001" />
        </identifier>
        <type>
          <text value="General Practice" />
        </type>
        <actor>
          <reference value="Location/328cce0d-e1ff-454f-9652-2586355bae46" />
          <display value="Out of Hours GP Clinic - Bridge Street Medical Practice" />
        </actor>
        <planningHorizon>
          <start value="2014-12-11T18:00:00+00:00" />
          <end value="2014-12-11T21:00:00+00:00" />
        </planningHorizon>
        <comment value="This schedule is for out of hours GP appointments at Bridge Street Medical Practice." />
      </Schedule>
    </resource>
  </entry>
  <entry>
    <resource>
      <Schedule>
        <id value="a2aea64f-f6d7-4ce7-85e0-f7dc80c21f86" />
        <meta>
          <profile value="https://fhir.nhs.uk/StructureDefinition/gpconnect-schedule-1" />
        </meta>
        <extension url="https://fhir.nhs.uk/StructureDefinition/extension-gpconnect-practitioner-1">
          <valueReference>
            <reference value="Practitioner/0fe255f4-2961-498b-8af8-7fb79b63ce60" />
          </valueReference>
        </extension>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/gpconnect-schedule-identifier" />
          <value value="Schedule002" />
        </identifier>
        <type>
          <text value="Medical specialty--OTHER--NOT LISTED" />
        </type>
        <actor>
          <reference value="Location/bc028c12-891d-4256-89c2-78bc1cfe7ea7" />
          <display value="Antenatal Clinic" />
        </actor>
        <planningHorizon>
          <start value="2015-09-01T08:00:00+00:00" />
          <end value="2015-09-01T17:00:00+00:00" />
        </planningHorizon>
        <comment value="This schedule is for Antenatal Clinic appointments at Charles Street Surgery." />
      </Schedule>
    </resource>
  </entry>
  <entry>
    <resource>
      <Slot>
        <id value="79a37bc3-8d22-4805-b1a7-8cf8ceca9217" />
        <meta>
          <profile value="https://fhir.nhs.uk/StructureDefinition/gpconnect-slot-1" />
        </meta>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/gpconnect-slot-identifier" />
          <value value="Slot001" />
        </identifier>
        <schedule>
          <reference value="b57e1f37-e88e-43ad-a9e9-79eeed7531dd" />
          <display value="Appointment Schedule - Out of Hours GP Clinic" />
        </schedule>
        <freeBusyType value="free" />
        <start value="2014-12-11T19:30:00+00:00" />
        <end value="2014-12-11T19:45:00+00:00" />
        <overbooked value="false" />
        <comment value="This slot is only to be used for Out of Hours GP Clinic appointments." />
      </Slot>
    </resource>
  </entry>
  <entry>
    <resource>
      <Slot>
        <id value="3e604e21-40d3-46c9-91be-b2859cd1a99b" />
        <meta>
          <profile value="https://fhir.nhs.uk/StructureDefinition/gpconnect-slot-1" />
        </meta>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/gpconnect-slot-identifier" />
          <value value="Slot001" />
        </identifier>
        <schedule>
          <reference value="Schedule/a2aea64f-f6d7-4ce7-85e0-f7dc80c21f86" />
          <display value="Appointment Schedule - Antenatal Clinic" />
        </schedule>
        <freeBusyType value="free" />
        <start value="2015-09-01T11:30:00+00:00" />
        <end value="2015-09-01T11:45:00+00:00" />
        <overbooked value="false" />
        <comment value="This slot is only to be used for Antenatal Clinic appointments." />
      </Slot>
    </resource>
  </entry>
  <entry>
    <resource>
      <Practitioner>
        <id value="97f9f119-1809-4300-aabb-ca23ab280181" />
        <meta>
          <profile value="https://fhir.hl7.org.uk/StructureDefinition/CareConnect-GPC-Practitioner-1" />
        </meta>
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-CareConnect-GPC-NHSCommunication-1">
          <extension url="language">
            <valueCodeableConcept>
              <coding>
                <system value="https://fhir.hl7.org.uk/CareConnect-HumanLanguage-1" />
                <code value="en" />
                <display value="English" />
              </coding>
            </valueCodeableConcept>
          </extension>
          <extension url="preferred">
            <valueBoolean value="true" />
          </extension>
        </extension>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/sds-user-id" />
          <value value="2435467" />
        </identifier>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/sds-role-profile-id" />
          <value value="PT2468" />
        </identifier>
        <name>
          <family value="Jones" />
          <given value="Bob" />
          <prefix value="Dr." />
        </name>
        <telecom>
          <system value="phone" />
          <value value="0113-333-1222" />
          <use value="work" />
        </telecom>
        <address>
          <use value="work" />
          <line value="13, Amber Street" />
          <city value="Leeds" />
          <postalCode value="LS20 1TV" />
          <country value="GBR" />
        </address>
        <gender value="male" />
        <practitionerRole>
          <managingOrganization>
            <reference value="Organization/79600119-ebaf-4362-bb89-d473a33b1675" />
            <display value="Wood Town GP Practice" />
          </managingOrganization>
          <role>
            <coding>
              <system value="https://fhir.nhs.uk/ValueSet/sds-job-role-name-1" />
              <code value="R8000" />
              <display value="General Medical Practitioner" />
            </coding>
          </role>
        </practitionerRole>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <resource>
      <Location>
        <id value="328cce0d-e1ff-454f-9652-2586355bae46" />
        <meta>
          <profile value="https://fhir.hl7.org.uk/StructureDefinition/CareConnect-GPC-Location-1" />
        </meta>
        <identifier>
          <use value="official" />
          <system value="https://fhir.nhs.uk/Id/ods-site-code" />
          <value value="B86022001" />
        </identifier>
        <name value="Out of Hours GP Clinic" />
        <description value="Out of Hours GP Clinic - Bridge Street Medical Practice" />
        <type>
          <coding>
            <system value="http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" />
            <code value="PC" />
            <display value="Primary care clinic" />
          </coding>
        </type>
        <telecom>
          <system value="phone" />
          <value value="01132341111" />
          <use value="work" />
        </telecom>
        <telecom>
          <system value="fax" />
          <value value="01132341111" />
          <use value="work" />
        </telecom>
        <telecom>
          <system value="email" />
          <value value="bridge-gp.OutpatientAppointments@nhs.net" />
        </telecom>
        <address>
          <use value="work" />
          <line value="3 Bridge Street" />
          <city value="Leeds" />
          <postalCode value="LS21 1BQ" />
          <country value="GBR" />
        </address>
        <physicalType>
          <coding>
            <system value="http://snomed.info/sct" />
            <code value="264358009" />
            <display value="General practice premises" />
          </coding>
        </physicalType>
        <managingOrganization>
          <reference value="Organization/79600119-ebaf-4362-bb89-d473a33b1675" />
          <display value="Wood Town GP practice" />
        </managingOrganization>
      </Location>
    </resource>
  </entry>
  <entry>
    <resource>
      <Location>
        <id value="bc028c12-891d-4256-89c2-78bc1cfe7ea7" />
        <meta>
          <profile value="https://fhir.hl7.org.uk/StructureDefinition/CareConnect-GPC-Location-1" />
        </meta>
        <identifier>
          <use value="official" />
          <system value="https://fhir.nhs.uk/Id/ods-site-code" />
          <value value="B86022002" />
        </identifier>
        <name value="Antenatal Clinic" />
        <description value="Antenatal Clinic - Charles Street Surgery" />
        <type>
          <coding>
            <system value="http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" />
            <code value="PC" />
            <display value="Primary care clinic" />
          </coding>
        </type>
        <telecom>
          <system value="phone" />
          <value value="01132341112" />
          <use value="work" />
        </telecom>
        <telecom>
          <system value="fax" />
          <value value="01132341112" />
          <use value="work" />
        </telecom>
        <telecom>
          <system value="email" />
          <value value="bridge-gp.OutpatientAppointments@nhs.net" />
        </telecom>
        <address>
          <use value="work" />
          <line value="13 Charles Street" />
          <city value="Leeds" />
          <postalCode value="LS21 1SJ" />
          <country value="GBR" />
        </address>
        <physicalType>
          <coding>
            <system value="http://snomed.info/sct" />
            <code value="394574007" />
            <display value="Antenatal clinic" />
          </coding>
        </physicalType>
        <managingOrganization>
          <reference value="Organization/79600119-ebaf-4362-bb89-d473a33b1675" />
          <display value="Wood Town GP practice" />
        </managingOrganization>
      </Location>
    </resource>
  </entry>
  <entry>
    <resource>
      <Organization>
        <id value="79600119-ebaf-4362-bb89-d473a33b1675" />
        <meta>
          <profile value="https://fhir.nhs.uk/StructureDefinition/CareConnect-GPC-Organization-1" />
        </meta>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
          <value value="B86022" />
        </identifier>
        <type>
          <coding>
            <system value="https://fhir.nhs.uk/ValueSet/organisation-type-1" />
            <code value="prov" />
            <display value="Healthcare Provider" />
          </coding>
        </type>
        <name value="Wood Town GP practice" />
        <telecom>
          <system value="phone" />
          <value value="0113-333-3579" />
          <use value="work" />
        </telecom>
        <address>
          <use value="work" />
          <line value="13, Amber Street" />
          <city value="Leeds" />
          <postalCode value="LS20 1TV" />
          <country value="GBR" />
        </address>
      </Organization>
    </resource>
  </entry>
</Bundle>