Skip to content

App Consent Profile

Canonical../StructureDefinition/nexus-emr-core-app-consent
Statusdraft · 1.26.0
BaseConsent (constraint)
SourceFSH · JSON

Simple app consent profile: Patient X consented/refused to share information with Application Y (represented as a Device). This profile models consent for a patient to sign up with an app.

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