Provenance Profile¶
| Canonical | ../StructureDefinition/nexus-emr-core-provenance |
|---|---|
| Status | draft · 1.26.0 |
| Base | Provenance (constraint) |
| Source | FSH · JSON |
Attribution for AI-mediated and cross-boundary writes: 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.
Elements / Differential
What this profile constrains beyond Provenance. 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 |
|---|---|---|---|---|
| Provenance | Nexus EMR Provenance Core i Invariants: provenance-target-required, provenance-ai-action-names-agent |
|||
| meta | 0..1 | Meta | ||
| source | S | 0..1 | uri | Identifies EMR instance & pipeline version the resource came from i |
| text | S | 0..1 | Narrative | Narrative i |
| extension | 0..* | Extension | i Slicing: value:url (open) |
|
| extension:attributedFact | S | 0..* | Extension(Attributed Fact) | Per-fact citations for AI-generated text (statement + verbatim quotes) i |
| target | S | 1..* | Reference(Resource) | The resource(s) this provenance describes i |
| occurred[x] | S | 0..1 | Period, dateTime | When the activity happened i |
| recorded | S | 1..1 | instant | When this provenance record was created i |
| activity | S | 0..1 | CodeableConcept | What kind of activity produced the target i |
| agent | S | 1..* | BackboneElement | Who took part in the action i |
| type | S | 1..1 | CodeableConcept | The agent's role (author, verifier, attester, ...) i |
| who | S | 1..1 | Reference(Practitioner Profile | PractitionerRole Profile | Patient Profile | RelatedPerson Profile | Organization Profile | App Device Profile | Device Profile) | The agent itself -- Practitioner, Device (AI/system), Organization, Patient i |
| onBehalfOf | S | 0..1 | Reference(Practitioner Profile | PractitionerRole Profile | Organization Profile) | The party the agent acted for i |
| entity | S | 0..* | BackboneElement | The inputs the activity derived from -- for AI, the record context it was given i |
| role | S | 1..1 | code | |
| what | S | 1..1 | Reference(Resource) | The input resource i |