John Moehrke Consent About AI
0.2.0 - ci-build
John Moehrke Consent About AI, published by John Moehrke (Moehrke Research LLC). This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/ConsentAboutAI/ and changes regularly. See the Directory of published versions
| Official URL: http://johnmoehrke.github.io/ConsentAboutAI/ImplementationGuide/johnmoehrke.ConsentAboutAI.example | Version: 0.2.0 | ||||
| Draft as of 2026-11-17 | Computable Name: JohnMoehrkeConsentAboutAI | ||||
| Other Identifiers: OID:1.3.6.1.4.1.66281.2.1 | |||||
This is an experimental IG. The content is fully from the perspective of the author, and is not endorsed by HL7 or any other organization. It is intended to be a discussion starter, and to solicit feedback from the community.
Shows how a Consent resource can be used to express permit or deny use of AI for a given patient.
This IG is founded on HL7 FHIR Revision 4.0.1 found at http://hl7.org/fhir/R4/
There are various use-cases where a Patient might consent or dissent to various uses of AI.
Given the Consent model, the Patient might be indicated in a Consent authorizing either
A Consent is the healthcare organization's actionable record of the patient's decision. It would carry only rules that an access-control engine can evaluate and that the organization can actually enforce. The signed paperwork that captures the ceremony of the consent remains the authoritative legal record, and is referenced from the Consent.
Actors are the abstract technical systems upon which the requirements of this guide are imposed. An Actor is not a human, so the patient is not an Actor. The AI system described by the AI-Device is also not an Actor, as this guide imposes no requirements directly upon it; the requirements fall upon the systems that author, enforce, and request against the Consents.
Each Actor has a CapabilityStatement describing its technical capabilities: Access Control, AI-Consent Author, Data Requester, and AI Agent.
classDiagram
class Patient {
subject of the consent
}
class Consent {
status: active
scope: patient-privacy
category: Release of information
dateTime
policy.uri
provision.type: permit or deny
provision.purpose: MLTRAINING, TREATDS, PMTDS (TPO in combined consents)
provision.securityLabel
provision.actor.reference
provision.modifierExtension[limit]
provision.provision: nested to any depth
}
class Device {
the specific AI system or model
conforms to AI-Device profile
type: Artificial-Intelligence
manufacturer
version
}
class DocumentReference {
signed consent paperwork
type
date
content
}
class Organization {
organization capturing and enforcing the consent
}
class ProvisionLimit {
consent-provision-limit extension
control: DEID and other obligations
tag
element
}
Consent --> Patient : patient
Consent --> DocumentReference : sourceReference
Consent --> Organization : performer
Consent --> Device : provision.actor.reference
Consent --> ProvisionLimit : provision.modifierExtension
DocumentReference --> Patient : subject
The constraints described in this guide are formalized in the Consent about AI profile. A Consent expressing a patient's decision to permit or deny use of AI SHALL conform to the Consent about AI profile.§AIC-1
The profile requires the patient, the dateTime, and a root provision carrying the type (permit or deny) and the applicable PurposeOfUse code(s). AI-specific rules are expressed in the aiProvision slice on the nested provisions, which is distinguished by a purpose from the AI Purposes Of Use ValueSet. Within the aiProvision slice:
aiDevice actor slice MAY identify a specific AI system or model as a Device conforming to the AI Device profile§AIC-2, andlimit modifierExtension MAY carry limits, such as an obligation to de-identify, placed on a permit.§AIC-3The most clean method is to use the PurposeOfUse as the basis for the provision in the Consent. This allows the Consent to be independent of the specific AI system or model, and thus not require updates as new AI systems or models are developed. When a provision addresses AI use generically, the provision.purpose SHALL carry the applicable PurposeOfUse code from the AI Purposes Of Use ValueSet, such as MLTRAINING for training of AI, or TREATDS for clinical decision support.§AIC-4
Further we look to PurposeOfUse Vocabulary to indicate what the reason the AI is giving for accessing data. For example, the PurposeOfUse of MLTRAINING is defined for when an AI is looking to train on data. The PurposeOfUse of TREATDS is defined for when an AI is looking to provide clinical decision support, or PMTDS when AI is looking to provide analysis for payment decisions.
Any access by the AI, or by an agent feeding the AI, SHALL declare the applicable PurposeOfUse code when accessing data, such as TREATDS, MLTRAINING, or PMTDS.§AIC-5 This is a trust model that the AI or the agent feeding the AI will accurately indicate the PurposeOfUse when accessing data. However, this is a common trust model used in many other aspects of healthcare data access and thus is not unique to AI.
* provision.type = #permit
* provision.purpose[+] = $purposeOfUse#MLTRAINING
Consent example: Allow ML Training
* provision.type = #deny
* provision.purpose[+] = $purposeOfUse#MLTRAINING
Consent example: Deny ML Training
* provision.type = #permit
* provision.purpose[+] = $purposeOfUse#TREATDS
Consent example: Allow AI for Clinical Decision Support
* provision.type = #deny
* provision.purpose[+] = $purposeOfUse#TREATDS
Consent example: Deny AI for Clinical Decision Support
* provision.type = #permit
* provision.purpose[+] = $purposeOfUse#PMTDS
Consent example: Allow AI for Payment Decision Support
* provision.type = #deny
* provision.purpose[+] = $purposeOfUse#PMTDS
Consent example: Deny AI for Payment Decision Support
For this we look to current identification of AI as a FHIR Device resource. When a specific AI system or model is permitted or denied, the Consent SHALL identify that AI in provision.actor.reference as a Device conforming to the AI Device profile, with a permit or deny provision.§AIC-6 The Consent about AI profile expresses this as the aiDevice actor slice within the aiProvision slice.
All data access by the AI SHALL be attributed to the FHIR Device describing that AI.§AIC-7 This might not be the case given how the AI is orchestrated. This model also is fragile as a new model or software would be a new Device, and thus would require a new provision in the Consent to indicate consent or dissent for that new AI.
Device example: AI Device
In this case there is simply a provision indicating that the AI is permitted for a given purpose. There are no restrictions on the kinds of actions or the kinds of data, but those could be added as additional restrictions.
* provision.type = #permit
* provision.purpose[+] = $purposeOfUse#TREATDS
* provision.actor[0].reference = Reference(AIdevice)
* provision.actor[0].role.text = "CDS"
Consent example: Allow specific AI for specific purpose
In this case there is simply a provision indicating that the AI is denied for a given purpose.
* provision.type = #deny
* provision.purpose[+] = $purposeOfUse#TREATDS
* provision.actor[0].reference = Reference(AIdevice)
* provision.actor[0].role.text = "CDS"
Consent example: Deny specific AI for specific purpose
In the FHIR Consent/Permission there is a concept of a "limit" which is limits placed on a permit provision/rule. Where the limit might be an obligation or refrain, might be a specific additional data tag, or might be explicit removal of data elements. A "limit" can not result in exposing data where that limit can't be enforced. Specifically meaning that the recipient of the data needs to be trusted to enforce the obligation or refrain indicated. Extension Registry Consent Provision Limit
The Consent about AI profile defines a limit modifierExtension slice on both the root provision and the aiProvision slice.
* provision.type = #permit
* provision.purpose[+] = $purposeOfUse#MLTRAINING
* provision.modifierExtension[limit].extension[control].valueCodeableConcept = $obligation#DEID
Consent example: Allow ML Training on De-Identified Data
FHIR R4 Consent has only ONE root level provision. That root establishes the overall direction, and each nested provision is an exception to the rule immediately above it, alternating between permit and deny at each level. To express several independent AI rules alongside the usual Treatment, Payment, and Operations rules, the nesting therefore has to be deeper than the rules themselves suggest.
permit all of the addressed purposes
deny ML training for sensitive data
permit ML training for de-identified Normal data
deny -- only so a refined permit can be expressed
permit TPO for Normal confidentiality
permit TPO for the care team including sensitive data
Note that R4 Consent does not define what applies when none of the provisions match; FHIR R6 adds a default rule at the top level.
Consent example: Consent with all kinds of Provisions
The Consent with provisions three levels deep example shows a specific AI Device permitted as an exception to a general deny of AI clinical decision support, nesting provisions three levels deep. The Consent about AI profile replicates the AI provisioning at two levels of nesting, which the IG publisher recognizes as applying to any depth of nesting.
Consent example: Consent with provisions three levels deep
The above examples are showing simply how a Consent.provision iteration can carry permit and deny to indicate consent or dissent for AI. The examples are not exhaustive, and there are many other combinations of provisions that could be used to indicate consent or dissent for AI. The examples are also not indicating any specific data elements that are being allowed or denied, but those could be added as additional restrictions on the provision.
The Consent requirements indicated here MAY be indicated as a standalone Consent, or the provisions MAY be combined with other Privacy Consent requirements.§AIC-8 A quilted Consent that has various provisions indicating consent or dissent for various clinical use (TPO), and add in provisions indicating consent or dissent for various AI use-cases, and thus have a single Consent that indicates the patient's preferences for both traditional clinical use and AI use.
| Id | Expectation | Actors | Rule |
|---|---|---|---|
| SHALL MAY | AI Agent AI-Consent Author Access Control Data Requester | ||
| §AIC-1 | SHALL | AI-Consent Author | A Consent expressing a patient's decision to permit or deny use of AI SHALL conform to the Consent about AI profile. |
| §AIC-2 | MAY | AI-Consent Author Access Control | the aiDevice actor slice MAY identify a specific AI system or model as a Device conforming to the AI Device profile |
| §AIC-3 | MAY | AI-Consent Author Access Control | the limit modifierExtension MAY carry limits, such as an obligation to de-identify, placed on a permit. |
| §AIC-4 | SHALL | AI-Consent Author Access Control | When a provision addresses AI use generically, the provision.purpose SHALL carry the applicable PurposeOfUse code from the AI Purposes Of Use ValueSet, such as MLTRAINING for training of AI, or TREATDS for clinical decision support. |
| §AIC-5 | SHALL | Data Requester AI Agent | Any access by the AI, or by an agent feeding the AI, SHALL declare the applicable PurposeOfUse code when accessing data, such as TREATDS, MLTRAINING, or PMTDS. |
| §AIC-6 | SHALL | AI-Consent Author Access Control | When a specific AI system or model is permitted or denied, the Consent SHALL identify that AI in provision.actor.reference as a Device conforming to the AI Device profile, with a permit or deny provision. |
| §AIC-7 | SHALL | Data Requester AI Agent | All data access by the AI SHALL be attributed to the FHIR Device describing that AI. |
| §AIC-8 | MAY | AI-Consent Author Access Control | The Consent requirements indicated here MAY be indicated as a standalone Consent, or the provisions MAY be combined with other Privacy Consent requirements. |
| §AIC-9 | SHALL | Access Control | The Access Control actor SHALL enforce the provisions of the Consents recorded according to this guide, including the PurposeOfUse declared by the requesting system, any specific AI Device identified, and any limits placed upon a permit. |