Skip to main content
PATCH
/
fhir
/
beds
cURL
curl --request PATCH \
  --url https://api.carecapacity.ai/fhir/beds \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "managingOrganization": {
    "reference": "Hospital/{hospital_id}"
  },
  "status": "<string>"
}
'
{
  "error": 123,
  "message": "<string>"
}

Body

application/json

Bed status update payload.

id
string<uuid>

The ID of the bed to update.

managingOrganization
object
status
string

The new status identifier for the bed.

Response

Bed status successfully updated.