Consent
Overview
The Consent resource records a patient's consent for data sharing, medical device integration, or participation in a remote patient monitoring program. vitalera uses FHIR R5-aligned consent records to manage privacy preferences and comply with GDPR requirements, ensuring that health data from connected devices (blood pressure monitors, pulse oximeters, glucometers) is only processed with explicit patient authorization.
API Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/consents/ | List consent records |
| POST | /api/consents/ | Create a consent record |
| GET | /api/consents/{id}/ | Get consent details |
Data Model
| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier |
status | string | Consent status (active, rejected, inactive) |
scope | string | What the consent covers |
patient | reference | The patient who gave consent |
date_time | datetime | When consent was given |
period | object | Validity period |
Example
{
"id": 456,
"status": "active",
"scope": "patient-privacy",
"patient": { "reference": "Patient/12345" },
"date_time": "2024-01-10T09:00:00Z",
"period": {
"start": "2024-01-10",
"end": "2025-01-10"
}
}
Related Resources
- Patient - The patient who gave consent