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.
Examples
DENIED
FHIR R4 consent deny pattern - patient declined WellnessTracker Pro (3:45 PM)
Consent/avery-wellness-consent-denied — claims conformance to App Consent Profile
{
"resourceType": "Consent",
"id": "avery-wellness-consent-denied",
"meta": {
"profile": [
"../StructureDefinition/nexus-emr-core-app-consent"
]
},
"text": {
"status": "generated",
"div": "<div xmlns="http://www.w3.org/1999/xhtml"><p><b>App Consent - DENIED</b></p><p>Patient: <strong>Avery Linwood</strong> has <strong>DECLINED</strong> to share clinical data with <strong>WellnessTracker Pro</strong> application.</p><p>Date: April 8, 2025 at 3:45 PM</p><p>Status: Active consent using FHIR R4 deny pattern (nested provision with type='deny').</p><p><strong>The decision is <code>provision.type</code> on the root.</strong> Refusal was previously a nested provision with <code>type = deny</code>; It is now stated positively on the root, matching every other Consent profile in this guide.</p></div>"
},
"identifier": [
{
"use": "secondary",
"system": "../NamingSystem/cedarbrook-clinic-app-consent-raw-code",
"value": "EMR-app-consent-wellness-avery-denied-20250408"
}
],
"status": "active",
"scope": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
"code": "patient-privacy",
"display": "Privacy Consent"
}
]
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "INFA",
"display": "information access"
}
]
},
{
"coding": [
{
"system": "../CodeSystem/nexus-consent-family",
"code": "app",
"display": "Application consent"
}
]
}
],
"patient": {
"reference": "Patient/avery-linwood",
"display": "Avery Linwood"
},
"dateTime": "2025-04-08T15:45:00-06:00",
"sourceAttachment": {
"contentType": "application/pdf",
"title": "WellnessTracker Pro Consent Refusal Form - Signed",
"creation": "2025-04-08T15:45:00-06:00",
"data": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL1BhZ2VzCi9LaWRzIFszIDAgUl0KL0NvdW50IDEKPD4KZW5kb2JqCjMgMCBvYmoKPDwKL1R5cGUgL1BhZ2UKL1BhcmVudCAyIDAgUgovTWVkaWFCb3ggWzAgMCA2MTIgNzkyXQovUmVzb3VyY2VzIDw8L0ZvbnQgPDwvRjEgNCAwIFI+Pj4+Ci9Db250ZW50cyA1IDAgUgo+PgplbmRvYmoK"
},
"provision": {
"type": "deny",
"actor": [
{
"role": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code": "IRCP",
"display": "information recipient"
}
]
},
"reference": {
"identifier": {
"system": "../NamingSystem/nexus-emr-appdevice-identifier",
"value": "wellness-tracker-pro"
},
"display": "WellnessTracker Pro"
}
}
]
},
"policy": [
{
"uri": "../policy/nexus-privacy-policy"
}
]
}