Examples
Example: Booking an Appointment on a Selected Slot.
The following is an example of a POST request for booking an appointment on a selected slot.
Request
POST [baseURL]/Appointment
Body
| Appointment |
| meta |
| profile : https://fhir.cambio.se/StructureDefinition/AppointmentBookingSe/v1 |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/appointment-purposeForVisit |
| value : |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/appointment-patientGivenPhoneNumber |
| value : |
| status : proposed |
| start : 2022-02-05T11:00:00+01:00 |
| end : 2022-02-05T11:30:00+01:00 |
| slot |
| reference : TimeSlotId:808794 |
| participant |
| actor |
| type : Patient |
| identifier |
| system : urn:oid:1.2.752.129.2.1.3.1 |
| value : 195507252301 |
| status : accepted |
| participant |
| actor |
| id : 746 |
| type : HealthcareService |
| display : Videomöte |
| status : accepted |
| participant |
| actor |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : SE162321000024-ABCD |
| status : accepted |