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