Nurse Vitals
Function-calling namespace: nurseVitals
- Base URL:
https://api.aivida.in - Engine endpoint:
POST /api - Auth: Stack token middleware enabled in
optionalmode. - Send token in header:
x-stack-access-token: <access_token>(orAuthorization: Bearer <access_token>). - In
optionalmode: no token is allowed; invalid token is rejected with401.
getQueueByOrganizationId
Source: backend/endpoints/nurse-vitals/get-queue-by-organization-id
Input Fields
| Field | Type | Required | Constraints |
|---|---|---|---|
organizationId | string | Yes | - |
Example Request
curl -X POST https://api.aivida.in/api \
-H "Content-Type: application/json" \
-H "x-stack-access-token: <access_token_optional>" \
-d '{
"namespace": "nurseVitals",
"apiName": "getQueueByOrganizationId",
"data": {
"organizationId": "org_123"
}
}'Example Response
{ "status": "ok", "data": {} }recordByAppointmentId
Source: backend/endpoints/nurse-vitals/record-by-appointment-id
Input Fields
| Field | Type | Required | Constraints |
|---|---|---|---|
organizationId | string | Yes | - |
appointmentId | string | Yes | - |
stackUserId | string | Yes | - |
vitals | object | Yes | - |
Nested Field Structures
vitals
| Field | Type | Required | Constraints |
|---|---|---|---|
bloodPressure | string | No | - |
heartRate | number | No | nullable |
temperature | object | No | nullable |
weight | number | No | nullable |
height | number | No | nullable |
oxygenSaturation | number | No | nullable |
respiratoryRate | number | No | nullable |
Example Request
curl -X POST https://api.aivida.in/api \
-H "Content-Type: application/json" \
-H "x-stack-access-token: <access_token_optional>" \
-d '{
"namespace": "nurseVitals",
"apiName": "recordByAppointmentId",
"data": {
"organizationId": "org_123",
"appointmentId": "appointment_123",
"stackUserId": "stackuser_123",
"vitals": {
"bloodPressure": "value",
"heartRate": 1,
"temperature": {
"value": 1,
"unit": {}
},
"weight": 1,
"height": 1,
"oxygenSaturation": 1,
"respiratoryRate": 1
}
}
}'Example Response
{ "status": "ok", "data": {} }