Consent
Descripción general
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.
Endpoints de la API
| Method | Path | Description |
|---|---|---|
| GET | /api/consents/ | List consent records |
| POST | /api/consents/ | Create a consent record |
| GET | /api/consents/{id}/ | Get consent details |
Modelo de datos
| 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 |
Ejemplo
{
"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"
}
}
Recursos relacionados
- Patient - The patient who gave consent