Tuesday, November 24, 2026

Can AI Be Trusted in Healthcare?

As healthcare organizations rapidly adopt Artificial Intelligence, I am increasingly asked a simple question:

Can AI be trusted in healthcare?


The question arises whether the AI is supporting clinical decision making, helping to determine payment decisions, summarizing medical records, extracting data from documents, assisting in patient matching, or training future models.

I believe the answer is not that AI should simply be trusted. Trust is something that must be earned through transparency, accountability, and patient empowerment.


In my view, there are three foundational capabilities that healthcare must implement if AI is to become trustworthy:
  1. Patients must be able to control AI use through consent.
  2. AI activity must be captured through audit logging.
  3. AI influence on healthcare data must be documented through provenance.

Together these capabilities answer three essential governance questions:
  • Should AI do it?
  • Did AI do it?
  • What did AI affect?

Only when all three questions can be answered can healthcare organizations claim that AI is being used responsibly.

First Requirement: Give Patients Control


Trust begins with respecting patient autonomy.

Patients increasingly recognize that AI systems may use their health information for a variety of purposes, including clinical decision support, payment decision support, administrative automation, and machine learning model development. Not all patients will be comfortable with all of these uses.

Some patients may willingly support AI-based research and model training.

Others may permit AI-assisted treatment recommendations but object to AI use for payment decisions.

Still others may allow AI processing only when their information has first been de-identified.

These are legitimate choices, and healthcare systems should be capable of honoring them.

This is the motivation behind the Consent About AI Implementation Guide that I have authored. The guide demonstrates how existing FHIR Consent capabilities can be used to express patient preferences regarding AI access and AI use.

The objective is not merely to record an individual's wishes. The objective is to express those wishes in a computable form so that systems can automatically enforce them.

When patients are given meaningful control over how AI uses their information, trust becomes possible.

Second Requirement: Record Every AI Activity


Consent establishes the rules. But how do we verify that the rules are actually being followed?

This is where audit logging becomes critical.

Many discussions about responsible AI focus on transparency of outputs. While important, output transparency alone is insufficient.

Healthcare organizations must also be able to demonstrate when AI was used, by whom, for what purpose, and against what information.

FHIR AuditEvent provides an ideal mechanism for this accountability.

An AuditEvent can document:
  • The AI system that was invoked.
  • The user or system that invoked it.
  • The data accessed.
  • The purpose of the activity.
  • The time the activity occurred.
  • The outcome of the activity.

Most importantly, an AuditEvent can be created every time AI is used, even if there is no resulting clinical output.

For example:
  • An AI recommendation may be generated and immediately rejected.
  • An AI-generated summary may be discarded.
  • An AI lookup may retrieve information but produce no persisted result.
  • An AI system may evaluate information and determine that no action is necessary.

In each of these cases, there may be no healthcare data artifact that requires provenance. Yet accountability still requires a record that the AI interaction occurred.

AuditEvent therefore provides the evidence that AI activity took place.

It also provides a means to verify that patient consent directives are being respected. Auditors, compliance officers, privacy officials, regulators, and even patients themselves can examine AI-related audit logs and determine whether AI activity was consistent with established policy.

In that way, consent defines the policy while AuditEvent provides evidence that the policy was followed.

Third Requirement: Make AI Influence Visible


Knowing that AI was used is important, but it does not tell us how AI influenced healthcare data.

That is the role of provenance. When clinical information has been created, modified, summarized, extracted, interpreted, or otherwise influenced by AI, downstream consumers should be able to understand that involvement.

Without transparency, clinicians, patients, researchers, and regulators are left to guess.
  • Was this note authored entirely by a clinician?
  • Did AI generate the initial draft?
  • Did AI extract the findings from a document?
  • Did a human review the AI output before it became part of the patient record?
These questions become increasingly important as AI becomes embedded throughout healthcare workflows.

The HL7 AI Transparency on FHIR Implementation Guide addresses this need by using established FHIR capabilities, including Provenance resources, to document AI involvement in healthcare data.

Provenance creates traceability. It allows organizations to identify:
  • Which AI system participated.
  • What role it played.
  • Which information was affected.
  • Whether human review occurred.
  • How the resulting information came to exist.
Unlike AuditEvent, Provenance is focused on information that has become part of the healthcare record or healthcare workflow. An important use-case for the AI Transparency use of Provenance is to be able to recover from a mistake that the AI may have done that was not detected until later.

Provenance tells us what AI affected.

AuditEvent tells us that AI was used.

These capabilities are complementary, not competing.

Why AuditEvent and Provenance Are Both Needed


A common misconception is that provenance alone is sufficient.

It is not.

An AI system may be invoked hundreds or thousands of times during a day. Many of those interactions may never result in any lasting healthcare data.

If only provenance is captured, healthcare organizations lose visibility into AI activities that produced no persisted output.

Likewise, audit logs alone are insufficient.

An AuditEvent can tell us that an AI system was invoked, but it cannot necessarily tell us which pieces of healthcare data were ultimately influenced.

To achieve complete transparency and accountability, both are required.

AuditEvent provides activity accountability.

Provenance provides data traceability.

Together they form a complete picture.

The Three Pillars of Trustworthy AI


Healthcare AI governance can be viewed as three pillars:

Consent

Answers the question: Should AI do it?

Consent establishes the patient's preferences and the organization's policy obligations.

AuditEvent

Answers the question: Did AI do it?

Audit logging provides evidence of AI activity and enables verification that policies were followed.

Provenance

Answers the question: What did AI affect?

Provenance provides attribution and traceability for AI-influenced healthcare information.

A Governance Model for Trustworthy AI


The healthcare industry does not need to choose between innovation and trust. We can have both. But trust cannot be established through marketing claims, vendor assurances, or optimism about technology.

Trust must be supported by verifiable evidence. Patients should be able to decide how AI uses their information. Organizations should be able to prove when AI was used. Consumers of healthcare data should be able to identify where AI influenced the information they receive.

Fortunately, the standards needed to support this vision already exist and continue to mature through HL7 and FHIR.

The future of trustworthy healthcare AI is not built on blind trust in algorithms. It is built on policy, evidence, and attribution.

In other words:
  • Consent tells us whether AI should act.
  • AuditEvent tells us whether AI did act.
  • Provenance tells us what AI affected.
When all three are present, healthcare organizations can move beyond simply deploying AI and begin demonstrating that AI is being used responsibly, transparently, and in accordance with patient expectations.

Saturday, November 21, 2026

Making AI's Influence on Health Data Visible and Actionable

Nearly a year ago, I wrote about the AI Transparency on FHIR guide heading to HL7 ballot. That HL7 ballot got votes from 237 HL7 members, 105 comments, with overall passing result. The central concern has not changed: as AI becomes part of healthcare workflows, people using health data need to know when AI helped create or change it. What has changed is that the guide now turns that goal into a concrete set of FHIR patterns and examples.

The current AI Transparency on FHIR Implementation Guide is a v1.0.0, STU 1 guide built on FHIR R4. It is intended for systems that produce or use FHIR data - not just generative AI, but any algorithm that may affect a downstream user's confidence in the data. A tool summarizing a note, interpreting an image, extracting concepts, or generating synthetic data can all make attribution useful.

The guide focuses on observability, not judgment. It does not decide whether an AI system is safe, validate its output, or prescribe how an organization must govern AI. Instead, it gives producers a way to declare AI involvement, so clinicians and other consumers can make informed decisions about how to use the data. The assertion comes from the system producing or modifying the resource; the guide does not try to detect AI use after the fact.


The AI influence declaration can be made at different levels. A security label can indicate that an entire FHIR resource was AI-asserted or identify particular elements within a resource that were influenced. Provenance can add the context: which AI system or Device was involved, what it contributed, and whether a human reviewed the result. The guide also provides a way to represent a model card, and to reference input prompts when appropriate.

The examples show why this is relevant beyond a single clinical note. They include an AI-assisted laboratory observation with a human verifier, a diagnostic report with only selected elements labeled, and a prior-authorization determination drafted by AI and reviewed by a person. Other use cases cover filtering AI-influenced data, investigating problematic model outputs or inputs, applying guardrails, interpreting a PDF into FHIR, and tracing AI assistance in an appointment report. The same attribution can help a clinician understand a result, a researcher decide whether to include it, or a payer and safety team investigate how it was produced.

For implementers, the practical message is that transparency is not one extra "AI used" checkbox. A useful record connects the affected data to the AI system and its contribution, while preserving human authorship and review where those occurred. Those links give downstream systems options: display the information, filter or stratify data, or follow provenance during review. The right response remains context-dependent; the common representation makes that response possible.

The guide and its examples are available in the CI build. If you are building or reviewing FHIR workflows that use AI, take a look at the examples and consider where knowing the provenance of a result would change what you do with it.

There are interests in further improving the IG and extending it to FHIR R5 and R6. However, the current leadership that has brought this specification along this far have all been working pro bono, aka working off the side of our desk. I would very much like to be sponsored to further improve this IG, if you are interested in sponsoring me, please contact me.


Friday, November 20, 2026

Patients can be given control: Consent About AI

Patients can have different preferences about the use of their health information, especially that use of their data by AI. A patient might permit clinical decision support, deny model training, or allow training only when data is de-identified. Recording a preference is only the first step: the organization also needs a technical way to represent the decision and apply it when data is requested.

The Consent About AI Implementation Guide (IG) explores that step using FHIR Consent. It treats the Consent as the healthcare organization's actionable record of the patient's decision: it contains rules an access-control system can evaluate and enforce. The IG is available based on FHIR R4 and FHIR R6. The signed consent paperwork remains the legal record and is referenced from the FHIR Consent.

The IG supports two complementary ways to express AI-related rules. A provision can identify a purpose of use, such as MLTRAINING for AI training, TREATDS for clinical decision support, or PMTDS for payment decision support. This approach is independent of a particular vendor or model, but it depends on the system requesting data accurately declaring its purpose. The IG makes that an explicit expectation for both a Data Requester (the AI system accessing data directly) and an AI Agent (a gateway accessing data on the AI's behalf).

Alternatively, a provision can identify a specific AI system or model through Consent.provision.actor.reference, using a FHIR Device that conforms to the AI Device profile. That gives the consent a more specific target, but also makes it more sensitive to change: a new model or version may need a new Device and a corresponding consent rule, and data access must be attributed to that Device.

The guide formalizes these patterns in a Consent about AI profile. It also shows how a permit can carry a limit, such as an obligation to de-identify data, through the standard consent-provision-limit extension. A limit is useful only when it can actually be enforced. The IG assigns that responsibility to the Access Control actor, which must evaluate the declared purpose, any identified AI Device, and any limits on the permit.

The examples cover allowing and denying AI for training, clinical decision support, and payment decision support; allowing a specific AI for a purpose; and allowing training on de-identified data. They also show a combined Consent containing AI rules alongside ordinary Treatment, Payment, and Operations rules.

That combined example highlights an important FHIR Consent modeling constraint: Consent has provisions, and each nested provision is an exception to the rule above it. Nested provisions therefore alternate between permit and deny, which can require deeper nesting than a set of independent rules might suggest.

Consent About AI does not introduce a new consent resource. It profiles the existing FHIR Consent, provides examples for common patient choices, and defines requirements for the systems that author, request, and enforce those choices. The guide is experimental and intended to invite discussion and feedback. Explore the profile, examples, actors, and conformance requirements here:

- GitHub source repository - https://github.com/JohnMoehrke/ConsentAboutAI
- Current FHIR R4 CI build
- Current FHIR R6 CI build

Note that the CI build reflects the current development state. This has been a 100% volunteer project by me. I would very much like to be sponsored to take this through the HL7 process. See my Consulting business, Moehrke Research LLC if you would like to sponsor this project.

Monday, November 2, 2026

AI Helps Write the Translation. It Does Not Translate the Data.

One of my projects is to support the FAST NDH directory IG development in HL7. As part of this, I was asked to create computable mappings from HL7 FHIR Plan-Net Implementation Guide to the HL7 FHIR National Directory of Healthcare Providers and Services (NDH) Implementation Guide. Both describe healthcare directory information. They look similar, but their representations differ: extensions, vocabulary, and profiles are not interchangeable. Similar-looking data is not necessarily conformant data.

FHIR Mapping Language (FML) expresses explicit rules for transforming source data into target data, including copying fields, translating codes, and mapping extensions.

I have been using Visual Studio Code and GitHub Copilot to author and update these maps.

AI is helping write the rules. AI is not translating the data.

The translation is performed by explicit FML rules, executed using the FHIR Validator's transformation capability. There is no language model deciding what a field means each time a resource is processed.

VS Code + Copilot
       |
       v
   FML rules
       |
Source samples --> FHIR Validator transform --> NDH output
                                                   |
                                                   v
                                         Validate NDH profiles

Faster Authoring, Not Automatic Trust

Copilot made authoring and updating the FML much quicker. It helped work through repetitive mapping rules and revise them as testing exposed problems.

That is useful. It is not evidence that the resulting maps are correct.

The rules remain inspectable, editable, and testable without AI. The translation behavior belongs in those rules, not in a prompt.

Samples Are Part of the Work

I use source-conformant examples to exercise the maps continually. The samples include both:

  • Data reflecting how implementations currently use Plan-Net.
  • Comprehensive examples exercising more of what the source format supports.

These serve different purposes. Implementation data shows what is happening. Comprehensive examples exercise fields and extensions that everyday data might never populate.

A map tested only against sparse data can look complete while doing very little.

Multiple sample sources help expose assumptions that a single dataset would hide. Downloaded implementation data also needs scrutiny; being returned by a FHIR server does not establish conformance.

Transform, Validate, Inspect, Repeat

Scripts repeat the transformations and validate the resulting resources against the target NDH profiles. They retain outputs, logs, and per-input results so failures can be investigated.

I also use AI to spot-check source and transformed resources for lost information. Automated checks supplement that inspection, including checks that extensions intended to be preserved actually survive.

These checks answer different questions:

  • Did the transformation execute?
  • Does the output conform to NDH?
  • Was the source information preserved or intentionally translated?

Passing profile validation does not prove that nothing was lost. AI spot inspection does not prove it either. Both are useful, but neither replaces explicit preservation checks and broader test coverage.

The Point

This is a practical use of AI: accelerate development of deterministic, reviewable transformations, then test them repeatedly.

Use AI to help write the translation. Do not confuse that with trusting AI to perform—or certify—the translation.

For a deeper discussion of this approach, see Firely's Language Models Should Write Your FHIR Mappings.

Thursday, August 20, 2026

Of course I use AI tools

This tweet by Scott Manley a few weeks ago keeps coming to my mind... Mostly because it is exactly my thinking. Of course I use AI tools, I have worked too hard to get where I am today to not use them.


Do I trust without question that which comes out of AI, HELL NO! See previous point about having worked too hard to get to where I am today. Which I will note that it is because of my experience that I can detect AI going rogue. It is because of my experience that I can express in the prompt the key important systems-design criteria. It is because of my experience that I define test benchmarks before starting to develop something. 

The deepest thing I have done is use vibe coding to create a security sensitive data labeling service reference implementation -  Security Labeling Service - Reference Implementation

Do I think that AI could kill us all? Well, I have read plenty of science fiction, so I have the background. This worry is also a reason that I use AI, so that I can understand the tool. I do more than just understand, I write about controlling AI, and monitoring AI.

Some blog articles:

AI is neither good nor bad; it is a tool. When AI does something bad, the tool just did what the human/organization asked it to do. So, anything bad or good that AI does is not the responsibility of AI, but the human or organization that used the AI tool. 

Sunday, August 16, 2026

Modeling Legal Emancipation for Healthcare Access Control with FHIR Consent

 Legal emancipation can change who may make healthcare decisions and who may access a minor's health information. It is not, however, a simple demographic attribute. Its meaning depends on the jurisdiction, the court order or other legal instrument, its effective period, and any conditions or exceptions contained in that instrument. A healthcare system should not infer emancipation from a patient's age, living situation, or an unsupported assertion.

The Emancipation Consent implementation guide explores a FHIR R4 pattern for representing the access-control consequences of a verified legal emancipation. The legal order, decree, or other recognized instrument remains the authoritative record. The FHIR resources make the organization's current interpretation of that evidence visible and enforceable.

The pattern uses Patient for the emancipated minor and DocumentReference, with Binary when appropriate, to retain the legal instrument and its metadata. The Consent references that source document through Consent.sourceReference, identifies the organization applying the policy, and carries only the rules that the organization can actually enforce.

Parents and guardians are represented as RelatedPerson resources. This matters because a relationship is still a positive fact even when the emancipation changes that person's access rights. The Consent.provision.actor references the relevant parent or guardian, while the provision expresses the resulting access rule. In FHIR R4, the single root provision establishes the overall deny or permit direction; nested provisions express exceptions by alternating that direction. This lets an implementation start with a baseline rule and then represent only the legally supported exceptions.



This approach does not claim that every emancipation denies every parent access, nor that it grants a minor unrestricted authority in every context. It creates a place to record the healthcare organization's actionable decision, trace it to the legal evidence, and apply it consistently in an access-control engine. Jurisdiction, legal authority, effective period, verification details, and restrictions should remain available in the source document or in well-defined extensions when they must be exchanged as structured data.

The guide is experimental and intended to encourage discussion. For the profile, examples, and implementation details, see:


Wednesday, August 12, 2026

Available consulting capacity

Consulting capacity: I have been working three different contracts that are working to profile FHIR using the Implementation Guide (IG) tooling. Only one is active right now and it is at 75% of the past workload. So, I have capacity available to take on new contracts. 

  1.  Standards Development / revision
  2.  Implementation Guide authoring / revision
  3.  Privacy & Security - Consent, Audit, Provenance
  4.  Trustable AI - AI-Transparency, Consent for/against AI use, etc
  5.  Health Information Exchange - XD*, FHIR/MHD, IPS

More details and contacts on my web site - https://MoehrkeResearch.com.
I do some projects pro bono but would love if someone would care enough about it to contract with me. Sustaining the Work That Sustains Trust: Why I’m Seeking Support for Some of My Standards Efforts