Ir para o conteudo principal

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

MethodPathDescription
GET/api/consents/List consent records
POST/api/consents/Create a consent record
GET/api/consents/{id}/Get consent details

Data Model

FieldTypeDescription
idintegerUnique identifier
statusstringConsent status (active, rejected, inactive)
scopestringWhat the consent covers
patientreferenceThe patient who gave consent
date_timedatetimeWhen consent was given
periodobjectValidity 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"
}
}
  • Patient - The patient who gave consent