1. Get a Slot
Request:
GET /baseDstu3/Slot/72e5077a-e37e-4f2c-80ea-8120b84c4b0d/_history/2 HTTP/1.1
Host: ehealth-ask.fokus.fraunhofer.de
Content-Type: application/xml
Authorization: Bearer aaa
cache-control: no-cache
Response:
{
"resourceType": "Slot",
"id": "d2da8edf-3c38-4adc-ac99-905794484c80",
"meta": {
"versionId": "1",
"lastUpdated": "2019-01-23T17:29:43.352+00:00",
"profile": [
"http://ask.fokus.fraunhofer.de/fhir/StructureDefinition/VideoConferenceSlot"
]
},
"identifier": [
{
"use": "official",
"system": "urn:oid:1.2.276.0.76.3.1.158.20.4.3.1",
"value": "cfd075fb-18ab-4ff6-8dde-739051887ec5"
}
],
"serviceCategory": {
"coding": [
{
"system": "http://hl7.org/fhir/service-category",
"code": "17",
"display": "General Practice"
}
]
},
"serviceType": [
{
"coding": [
{
"system": "http://hl7.org/fhir/service-type",
"code": "124",
"display": "General Practice"
}
]
}
],
"schedule": {
"reference": "Schedule/5a"
},
"status": "free",
"start": "2018-11-29T09:00:00.000+01:00",
"end": "2018-11-29T09:30:00.000+01:00"
}
2. Create a new Appointment
3. Update Slot
4. Appointment creation confirm
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "
Operation Outcome
INFORMATION | [] | Successfully created resource \"Appointment/4961/_history/1\" in 14ms | \n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t
"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully created resource \"Appointment/4961/_history/1\" in 14ms"
}
]
}
5. Slot update confirm
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "Operation Outcome
INFORMATION | [] | Successfully created resource \"Slot/9cdfd11f-7df5-4397-a9b7-00fa07131567/_history/2\" in 14ms | \n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t
"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "Successfully created resource \"Slot/9cdfd11f-7df5-4397-a9b7-00fa07131567/_history/2\" in 14ms"
}
]
}