App Consent Profile¶
| Canonical | ../StructureDefinition/nexus-emr-core-app-consent |
|---|---|
| Status | draft · 1.26.0 |
| Base | Consent (constraint) |
| Source | FSH · 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.
Elements / Differential
What this profile constrains beyond Consent. Anything not listed is unchanged from the base; muted type/cardinality values are the base's, shown for context.
| Element | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
| Consent | Patient consent for app signup and data sharing Core i | |||
| meta | 0..1 | Meta | ||
| source | S | 0..1 | uri | Identifies EMR instance & pipeline version the resource came from i |
| identifier | S | 0..* | Identifier | Consent record identifier i |
| system | 1..1 | uri | i | |
| value | 1..1 | string | i | |
| status | S | 1..1 | code | active | draft | inactive | entered-in-error i Binding: consent-state-codes ( required) |
| scope | S | 1..1 | CodeableConcept | patient-privacy - Privacy consent Fixed: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/consentscope","code":"patient-privacy","display":"Privacy C…Binding: consent-scope ( required) |
| category | S | 2..* | CodeableConcept | INFA (information access), plus the Consent family code i Slicing: pattern:coding.system (open) |
| category:infa | S | 1..1 | CodeableConcept | INFA - information access (v3-ActCode) i Binding: consent-category ( required) |
| coding | 1..1 | Coding | i | |
| system | 1..1 | uri | i Fixed: http://terminology.hl7.org/CodeSystem/v3-ActCode |
|
| code | 1..1 | code | Fixed: INFA |
|
| category:family | S | 1..1 | CodeableConcept | Fixed: this Consent is an app consent i Binding: Consent Families Value Set ( required)e.g. app · item · privacy-directive |
| coding | 1..1 | Coding | i | |
| system | 1..1 | uri | i Fixed: ../CodeSystem/nexus-consent-family |
|
| code | 1..1 | code | Fixed: app |
|
| patient | S | 1..1 | Reference(Patient Profile) | The patient (Patient X) i |
| dateTime | S | 1..1 | dateTime | When consent was given/withdrawn i |
| source[x] | 0..1 | Attachment, Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | i Slicing: type:$this (open) |
|
| source[x]:sourceAttachment | S | 0..1 | Attachment | Original consent document attachment i |
| policy | S | 1..* | BackboneElement | The policy this consent is given under |
| uri | 1..1 | uri | i | |
| provision | S | 1..1 | BackboneElement | The decision, and the app it is about |
| type | S | 1..1 | code | permit (patient agreed) | deny (patient refused) Binding: consent-provision-type ( required) |
| actor | S | 1..1 | BackboneElement | The third-party app (Application Y) |
| role | S | 1..1 | CodeableConcept | information-recipient |
| reference | S | 1..1 | Reference(App Device Profile) | Reference to the app Device |