http://hl7.org/fhir/StructureDefinition/Provenance|5.0.0
Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.
description: Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies. derivation: specialization name: Provenance type: Provenance elements: patient: {isModifier: false, short: The patient is the subject of the data created/updated (.target) by the activity, mustSupport: false, isSummary: false, index: 9} occurred: isModifier: false short: When the activity occurred mustSupport: false choices: [] isSummary: false index: 2 encounter: {isModifier: false, short: Encounter within which this event occurred or which the event is tightly associated, mustSupport: false, isSummary: false, index: 10} authorization: isModifier: false short: Authorization (purposeOfUse) related to the event mustSupport: false array: true binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-PurposeOfUse'} isSummary: false index: 6 signature: {isModifier: false, short: Signature on target, mustSupport: false, array: true, isSummary: false, index: 20} recorded: {isModifier: false, short: When the activity was recorded / updated, mustSupport: false, isSummary: true, index: 3} agent: constraint: prov-1: {human: Who and onBehalfOf cannot be the same, source: 'http://hl7.org/fhir/StructureDefinition/Provenance', severity: error, expression: who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()} prov-3: {human: 'If who is an organization, onBehalfOf can''t be a PractitionerRole within that organization', source: 'http://hl7.org/fhir/StructureDefinition/Provenance', severity: error, expression: who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()} prov-2: {human: 'If who is a PractitionerRole, onBehalfOf can''t reference the same Practitioner', source: 'http://hl7.org/fhir/StructureDefinition/Provenance', severity: error, expression: who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()} min: 1 isModifier: false short: Actor involved index: 11 mustSupport: false array: true elements: type: isModifier: false short: How the agent participated mustSupport: false binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/participation-role-type'} isSummary: true index: 12 role: isModifier: false short: What the agents role was mustSupport: false array: true binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/security-role-type'} isSummary: false index: 13 who: {isModifier: false, short: The agent that participated in the event, mustSupport: false, isSummary: true, index: 14} onBehalfOf: {isModifier: false, short: The agent that delegated, mustSupport: false, isSummary: false, index: 15} required: [who] isSummary: true policy: {isModifier: false, short: Policy or plan the activity was defined by, mustSupport: false, array: true, isSummary: false, index: 4} activity: isModifier: false short: Activity that occurred mustSupport: false binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/provenance-activity-type'} isSummary: false index: 7 target: {min: 1, isModifier: false, short: Target Reference(s) (usually version specific), mustSupport: false, array: true, isSummary: true, index: 0} basedOn: {isModifier: false, short: Workflow authorization within which this event occurred, mustSupport: false, array: true, isSummary: false, index: 8} location: {isModifier: false, short: 'Where the activity occurred, if relevant', mustSupport: false, isSummary: false, index: 5} entity: isModifier: false short: An entity used in this activity mustSupport: false array: true isSummary: true index: 16 elements: role: isModifier: false short: revision | quotation | source | instantiates | removal mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/provenance-entity-role|5.0.0'} isSummary: true index: 17 what: {isModifier: false, short: Identity of entity, mustSupport: false, isSummary: true, index: 18} agent: elementReference: ['http://hl7.org/fhir/StructureDefinition/Provenance', elements, agent] isModifier: false short: Entity is attributed to this agent mustSupport: false array: true isSummary: false index: 19 required: [role, what] class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/Provenance base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 5.0.0 required: [agent, target]