Provenance Profile¶
| Canonical | https://fhir.apps.health/StructureDefinition/nexus-emr-core-provenance |
|---|---|
| Status | draft · 1.33.0 |
| Base | Provenance (constraint) |
| Source | FSH · JSON |
Attribution for AI-mediated writes, cross-boundary writes and record-lifecycle events such as linking an arriving result to a chart or entering a resource into the record: what was produced, when, by which agent (human or non-human), from what inputs, and -- for generated text -- which verbatim source passage each statement rests on. Used standalone against a produced resource, and contained in an AI-suggestion review Task against the suggestion contained alongside it.
Examples
AI-Drafted Note Accepted by a Clinician · AI-Generated Summary With Per-Fact Citations · Import Provenance for a Migration File · Prov lab link automatic inr 20250402 · Prov lab link confirmed cbc 20250408 · Prov lab link manual us 20260312 · Prov lab unlink manual cbc 20250409
Import Provenance for a Migration File
A Provenance for one import file and the one patient it covers, targeting every record the import wrote for that patient (the migrated immunization and the wellness-program source values), with the file as its source entity and the importer as its agent. This is where a reader finds which file, importer and time a source value came from
Provenance/p-4021 — claims conformance to Provenance Profile
{
"resourceType": "Provenance",
"id": "p-4021",
"meta": {
"profile": [
"https://fhir.apps.health/StructureDefinition/nexus-emr-core-provenance"
]
},
"text": {
"status": "generated",
"div": "<div xmlns='http://www.w3.org/1999/xhtml'><p>Import of one migration export file: the CDS migration importer read DocumentReference mig-4021 on March 4, 2025 and wrote Avery Linwood's migrated influenza immunization and wellness-program source values.</p></div>"
},
"target": [
{
"reference": "Immunization/avery-flu-20191015-migrated",
"display": "Influenza vaccination, 2019-10-15 (migrated)"
},
{
"reference": "Basic/source-values-avery-wellness-program",
"display": "Wellness-program source values (migrated)"
}
],
"recorded": "2025-03-04T02:14:09-05:00",
"agent": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"code": "assembler",
"display": "Assembler"
}
],
"text": "Importer"
},
"who": {
"reference": "Device/cds-importer",
"display": "CDS migration importer"
}
}
],
"entity": [
{
"role": "source",
"what": {
"reference": "DocumentReference/mig-4021",
"display": "Migration export file"
}
}
]
}