Skip to main content
POST
/
fhir
/
beds
cURL
curl --request POST \
  --url https://api.carecapacity.ai/fhir/beds \
  --header 'Content-Type: application/json' \
  --data '
{
  "department": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "hospital": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "limit": 123,
  "page": 123,
  "bed_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "bed_number": "<string>"
}
'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "bedNumber": "<string>",
    "hospital": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "description": "<string>",
      "identifier": "<string>",
      "phone": "<string>",
      "address": "<string>",
      "country": "<string>",
      "zipcode": "<string>",
      "state": "<string>",
      "latitude": "<string>",
      "longitude": "<string>",
      "primaryAdmin": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "hospitalType": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "ownership": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "emergencyServices": true,
      "status": true,
      "rating": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "isDeleted": true,
      "departments": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>"
        }
      ]
    },
    "department": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    },
    "status": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    },
    "bedType": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>"
    },
    "isLicensed": true,
    "isStaffed": true,
    "physicalAvailable": true,
    "isConnected": true
  }
]

Body

application/json

Search criteria for beds.

department
string<uuid> | null
hospital
string<uuid> | null
limit
integer<int32> | null
page
integer<int32> | null
bed_id
string<uuid> | null
bed_number
string | null

Response

Filtered list of beds

id
string<uuid>
bedNumber
string
hospital
object
department
object
status
object
bedType
object
isLicensed
boolean
isStaffed
boolean
physicalAvailable
boolean
isConnected
boolean