Note: This version is in draft and is currently being migrated from the Appointment Management specification.
Book an appointment
Example
FHIR relative request
POST /Appointment
FHIR absolute request
POST https://[proxy_server]/https://[provider_server]/[fhir_base]/Appointment
Example request body
On the wire, a JSON serialised request would look something like the following:
{ "resourceType": "Appointment", "meta": { "profile": [ "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Appointment-1" ] }, "contained": [ { "resourceType": "Organization", "id": "1", "meta": { "profile": [ "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1" ] }, "identifier": [ { "system": "https://fhir.nhs.uk/Id/ods-organization-code", "value": "A00001" } ], "type": [ { "coding": [ { "system": "https://fhir.nhs.uk/STU3/CodeSystem/GPConnect-OrganisationType-1", "code": "gp-practice" } ] } ], "name": "Test Organization Name", "telecom": [ { "system": "phone", "value": "0300 303 5678" } ] } ], "extension": [ { "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-BookingOrganisation-1", "valueReference": { "reference": "#1" } } ], "status": "booked", "description": "Free text description.", "start": "2017-05-30T10:00:00+01:00", "end": "2017-05-30T10:25:00+01:00", "slot": [ { "reference": "Slot/1" } ], "created": "2017-05-25T13:48:41+01:00", "comment": "Free text comment.", "participant": [ { "actor": { "reference": "Patient/1" }, "status": "accepted" }, { "actor": { "reference": "Location/32" }, "status": "accepted" } ] }
Example response
{ "resourceType": "Appointment", "id": "9", "meta": { "versionId": "636068818095315079", "profile": [ "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-Appointment-1" ] }, "contained": [ { "resourceType": "Organization", "id": "1", "meta": { "profile": [ "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1" ] }, "identifier": [ { "system": "https://fhir.nhs.uk/Id/ods-organization-code", "value": "A00001" } ], "name": "Test Organization Name", "telecom": [ { "system": "phone", "value": "0300 303 5678" } ] } ], "extension": [ { "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-BookingOrganisation-1", "valueReference": { "reference": "#1" } }, { "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-PractitionerRole-1", "valueCodeableConcept": { "coding": [ { "system": "https://fhir.nhs.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1", "code": "R0260", "display": "General Medical Practitioner" } ] } }, { "url": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-GPConnect-DeliveryChannel-2", "valueCode": "In-person" } ], "status": "booked", "serviceCategory": { "text": "General GP Appointments" }, "serviceType": [ { "text": "General GP Appointment" } ], "description": "Free text description.", "start": "2017-05-30T10:00:00+01:00", "end": "2017-05-30T10:25:00+01:00", "slot": [ { "reference": "Slot/1" } ], "created": "2017-05-25T13:48:41+01:00", "comment": "Free text comment.", "participant": [ { "actor": { "reference": "Patient/1" }, "status": "accepted" }, { "actor": { "reference": "Location/32" }, "status": "accepted" } ] }