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 / Key elements
The working view: must-support, required, modifier and sliced elements from the effective (snapshot) definition.
| Element | Flags | Card. | Type | Description & Constraints |
|---|---|---|---|---|
| Provenance | 0..* | Nexus EMR Provenance Core i Invariants: dom-2, dom-3, dom-4, dom-5, dom-6, provenance-target-required, provenance-ai-action-names-agent |
||
| meta | 0..1 | Meta | Metadata about the resource Invariants: ele-1 |
|
| source | S | 0..1 | uri | Identifies EMR instance & pipeline version the resource came from i Invariants: ele-1 |
| implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created i Invariants: ele-1 |
| text | S | 0..1 | Narrative | Narrative i Invariants: ele-1 |
| extension:attributedFact | S | 0..* | Extension(Attributed Fact) | Per-fact citations for AI-generated text (statement + verbatim quotes) i Invariants: ele-1, ext-1 |
| target | S | 1..* | Reference(Resource) | The resource(s) this provenance describes i Invariants: ele-1 |
| occurred[x] | S | 0..1 | Period, dateTime | When the activity happened i Invariants: ele-1 |
| recorded | S | 1..1 | instant | When this provenance record was created i Invariants: ele-1 |
| activity | S | 0..1 | CodeableConcept | What kind of activity produced the target i Binding: provenance-activity-type ( extensible)Invariants: ele-1 |
| agent | S | 1..* | BackboneElement | Who took part in the action i Invariants: ele-1 |
| type | S | 1..1 | CodeableConcept | The agent's role (author, verifier, attester, ...) i Binding: provenance-agent-type ( extensible)Invariants: ele-1 |
| 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 Invariants: ele-1 |
| onBehalfOf | S | 0..1 | Reference(Practitioner Profile | PractitionerRole Profile | Organization Profile) | The party the agent acted for i Invariants: ele-1 |
| entity | S | 0..* | BackboneElement | The inputs the activity derived from -- for AI, the record context it was given i Invariants: ele-1 |
| role | S | 1..1 | code | derivation | revision | quotation | source | removal Binding: provenance-entity-role ( required)Invariants: ele-1 |
| what | S | 1..1 | Reference(Resource) | The input resource i Invariants: ele-1 |