FHIR Complete

Consent Management

GDPR-compliant patient consent tracking

Overview

The system implements GDPR-compliant consent management using FHIR Consent resources. Every patient interaction that requires consent is tracked with a formal consent record.

CategoryDescriptionRequired
TreatmentConsent for medical treatmentYes
Data ProcessingGDPR data processing consentYes
Data SharingSharing data with other providersOptional
CommunicationEmail/SMS notificationsOptional
ResearchData use for research purposesOptional
{
  "resourceType": "Consent",
  "status": "active",
  "scope": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/consentscope",
        "code": "patient-privacy"
      }
    ]
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://loinc.org",
          "code": "59284-0",
          "display": "Patient Consent"
        }
      ]
    }
  ],
  "patient": { "reference": "Patient/ZCT_patient_001" },
  "dateTime": "2026-01-15",
  "organization": [
    { "reference": "Organization/ZCT" }
  ],
  "provision": {
    "type": "permit",
    "period": {
      "start": "2026-01-15",
      "end": "2027-01-15"
    }
  }
}
  1. During Registration — Patients provide initial consents
  2. At Encounter Start — Additional treatment-specific consents collected
  3. Ongoing — Patients can review/revoke consents from their profile
  4. Expiration — Time-limited consents are tracked and renewal reminders sent
StatusDescription
draftBeing prepared
proposedProposed to patient
activePatient agreed
rejectedPatient declined
inactiveExpired or superseded

API Endpoints

GET /Consent?patient={id}&status={status}&category={cat}
POST /Consent
GET /Consent/{resource_id}
PUT /Consent/{resource_id}
DELETE /Consent/{resource_id}

GDPR Compliance

  • All consent decisions are timestamped and immutable
  • Patients can view all their active consents
  • Withdrawal of consent is tracked (status changes, not deletions)
  • Organization-specific consent requirements are configurable