CarePlan
Overview
The CarePlan resource (referred to as "Plan" in vitalera) defines a structured monitoring program that includes activities, devices, alarms, and professionals assigned to a group of patients. Plans are the central organizing concept for remote patient monitoring workflows.
API Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/plans/ | List available plans |
| GET | /api/plans/{id}/ | Get plan details |
| PUT | /api/plans/{id}/monitoreds/{monitored_id}/ | Add patient to plan |
Data Model
| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier |
name | string | Plan name |
status | string | Plan status |
activities | array | Scheduled activities (questionnaires, measurements) |
alarms | array | Configured alarm thresholds |
Example
{
"id": 123,
"name": "Cardiac Monitoring Plan",
"status": "active",
"activities": [
{
"type": "questionnaire",
"questionnaire_id": 42,
"timing": "daily"
},
{
"type": "observation",
"observation_name": "blood_pressure",
"timing": "twice_daily"
}
]
}
Related Resources
- Patient - Patients assigned to this plan
- Task - Tasks generated from plan activities
- Questionnaire - Questionnaires included in the plan