Skip to content

Privacy Directive Profile

Canonical../StructureDefinition/nexus-privacy-directive
Statusdraft (experimental) · 1.26.0
BaseConsent (constraint)
SourceFSH · JSON

A patient's standing restriction on the collection, use or disclosure of their own personal health information -- the instruction PHIPA calls a lockbox.

TypedFhir API / Python

The typed accessor surface Consent exposes for Consent — generated from this IG's compiled profile; each typed accessor has a validating raw-FHIR twin (xRaw) where marked. The three ports are parity-enforced.

class Consent(ClinicalResource)generated source

Accessor Type Access Notes
effective_date FuzzyDate | None read-only The resource's effective date — the first present of this profile's date elements (precedence), normalized to the canonical FuzzyDatetime f…
display str | None read-only The resource's human headline — a coded concept's label, else a title / name, else undefined.
status str | None read/write active | draft | inactive | entered-in-error
scope Concept | None read/write · raw twin patient-privacy - Privacy consent
category Concepts read/write · raw twin Fixed: this Consent is an app consent
patient Reference | None read/write · raw twin The patient (Patient X)
date_time FuzzyDate | None read/write When consent was given/withdrawn
policy dict[] | None read/write The policy this consent is given under
policy_rule Concept | None read/write · raw twin Regulation that this consents to
provision dict | None read/write The decision, and the app it is about