Skip to content

Provenance Profile

Canonical../StructureDefinition/nexus-emr-core-provenance
Statusdraft · 1.26.0
BaseProvenance (constraint)
SourceFSH · 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.

TypedFhir API / TypeScript

The typed accessor surface Provenance exposes for Provenance — generated from this IG's compiled profile; each typed accessor has a validating raw-FHIR twin (xRaw) where marked. The three ports are parity-enforced.

class Provenance extends ClinicalResourcegenerated source

Accessor Type Access Notes
$effectiveDate FuzzyDate | undefined read-only The resource's effective date — the first present of this profile's date elements (precedence), normalized to the canonical FuzzyDatetime f…
$display string | undefined read-only The resource's human headline — a coded concept's label, else a title / name, else undefined.
target References read/write · raw twin The resource(s) this provenance describes
recorded FuzzyDate | undefined read/write When this provenance record was created
reason Concepts read/write · raw twin Reason the activity is occurring
activity Concept | undefined read/write · raw twin What kind of activity produced the target
agent Json[] | undefined read/write Who took part in the action
entity Json[] | undefined read/write The inputs the activity derived from -- for AI, the record context it was given