Examples
Example: Reschedule a Booked Appointment
The following is an example of a PUT request for rescheduling a booked appointment. The appointment is found by its ID.
Request
PUT [baseURL]/Appointment/[id]
Body
| Appointment |
| id : 284231 |
| meta |
| profile : https://fhir.cambio.se/StructureDefinition/AppointmentRebookingSe/v1 |
| extension |
| url : https://fhir.cambio.se/StructureDefinition/appointment-message |
| value : Sjukdom |
| status : proposed |
| start : 2020-01-07T13:15:00+01:00 |
| end : 2020-01-07T13:30:00+01:00 |
| slot |
| reference : {{timeSlotID}} |
| participant |
| actor |
| type : Patient |
| identifier |
| system : urn:oid:1.2.752.129.2.1.3.1 |
| value : {{personalNumber}} |
| status : accepted |
| participant |
| actor |
| id : {{serviceTypeID}} |
| type : HealthcareService |
| display : {{serviceType}} |
| status : accepted |
| participant |
| actor |
| type : Location |
| identifier |
| system : urn:oid:1.2.752.129.2.1.4.1 |
| value : {{healthCareUnitID}} |
| status : accepted |