6. The coordinator updates the Slot as busy
PATCH https://api-{{tenant-id}}.developer.commure.com/api/v1/r4/Slot/{{slot-id}}
With the Appointment updated, we also need to update the slot of time where the Appointment will occur. The department coordinator uses the client application to update the Slot
resource, changing the status to busy
Request Body
{"0"=>{"op"=>"replace", "path"=>"/status", "value"=>"busy"}}
RESPONSES
status: OK
{"resourceType":"Slot","id":"55d83682-cf8a-48f7-9341-fae956fcf3a8","meta":{"extension":[{"extension":[{"url":"clientname","valueString":"dashboard"},{"url":"person","valueReference":{"reference":"Person/bea178a0-6ea4-4b47-99af-e4021bba8f99"}}],"url":"https://commure.com/fhir/provenance/StructureDefinition/creator-structure-map"}],"versionId":"7fe4bb3e-1b6e-44e5-8ba6-526fd31dd6a0","lastUpdated":"2020-11-02T12:22:50.914963+00:00"},"schedule":{"reference":"Schedule/57cfde1c-e043-471e-94b6-3a0f9498bdfd"},"status":"busy","start":"2020-01-01T13:00:00+00:00","end":"2020-01-01T15:00:00+00:00","overbooked":false,"comment":"Comments on the slot"}