0.1.0 - ci-build

TrustAITransparencyIG - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Trust AI Provenance

Official URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/trust-ai-provenance Version: 0.1.0
Draft as of 2026-11-12 Computable Name: Trust_AIProvenance

A Provenance profile linking an AI-generated output to the contributing AI system, source data, and relevant processing or governance context.

Regulatory Requirements

This profile is part of the AI Output Context layer. It implements the following documentation requirements from the Requirements Traceability analysis.

Requirement Law / Source Metadata Field Static / Dynamic
SYS-10 AI Act Art. 12 / EHDS ANNEX II (3) Audit Trail & Access Logging Dynamic
USE-04 GDPR Art. 5(1) Case-Specific Indication Dynamic
LAW-01a GDPR Art. 6(1) Legal Basis (General) Dynamic
LAW-01b GDPR Art. 9(2) Health Data Exception Dynamic
LAW-02 GDPR Art. 22 Automated Decision Flag Dynamic
LAW-03 EHDS Art. 51 / 52 Data Provenance (Primary/Secondary) Dynamic

Element Mapping

Attribute Logical Attribute Card. (matrix) Element(s) in this profile Status Notes
SYS-10.1 Execution Period (Start/End) 1..1 Provenance.occurredPeriod ✅ Covered Also: Trust_AIAuditEvent, Trust_AIObservation.
SYS-10.2 Input Data Reference 1..* Provenance.entity ✅ Covered entity.role = source.
USE-04 Case-Specific Indication 1..* Provenance.extension:caseIndication ✅ Covered Extension case-specific-indication.
LAW-01a Legal Basis Code 1..1 Provenance.authorization:gdprArt6Basis ✅ Covered GDPRArt6LegalBasisVS.
LAW-01b Special Category Exception Code 1..1 Provenance.authorization:gdprArt9Condition ✅ Covered GDPRArt9ConditionVS.
LAW-02 Automated Decision Flag 1..1 Provenance.extension:automatedDecision ✅ Covered Extension automated-decision-flag.
LAW-03.1 Provenance Category 1..1 Provenance.extension:usageCategory ✅ Covered UsageCategoryVS.
LAW-03.2 Data Permit Reference 0..1 Provenance.extension:dataPermit ✅ Covered Complemented by secondaryUsePurpose.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.contained 0..* Resource Contained, inline Resources
Provenance.Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
Provenance.Slices for extension.extension:usageCategory This element must be supported. 1..1 CodeableConcept Primary or secondary use category
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/usage-category
Binding: Usage Category Value Set (required)
Provenance.Slices for extension.extension:secondaryUsePurpose This element must be supported. 0..* CodeableConcept Purpose of secondary use, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/secondary-use-purpose
Binding: Secondary-Use Purpose Value Set (required)
Provenance.Slices for extension.extension:dataPermit This element must be supported. 0..1 Identifier EHDS data permit, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/data-permit
Provenance.Slices for extension.extension:caseIndication This element must be supported. 1..1 CodeableConcept Clinical reason for AI use
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/case-specific-indication
Binding: Trust AI Case-Specific Indication Value Set (extensible)
Provenance.Slices for extension.extension:automatedDecision This element must be supported. 1..1 boolean Automated decision flag
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/automated-decision-flag
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(Resource) Link to the generated AI clinical result
Provenance.occurred[x] This element must be supported. 1..1 Period Period of the activity that generated or influenced the target resource
Provenance.occurred[x].start This element must be supported. This element is included in summaries. C 1..1 dateTime Start of the AI processing activity
Provenance.occurred[x].end This element must be supported. This element is included in summaries. C 1..1 dateTime End of the AI processing activity
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Time when the provenance record was created
Provenance.Slices for authorization This element must be supported. 2..* CodeableReference() Authorization (purposeOfUse) related to the event
Slice: Unordered, Open by value:concept.coding.system
Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for authorization.authorization:gdprArt6Basis This element must be supported. 1..1 CodeableReference() Legal basis under GDPR Article 6
Binding: GDPR Article 6 Legal Basis Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art6-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt9Condition This element must be supported. 1..1 CodeableReference() Condition under GDPR Article 9 for processing health data
Binding: GDPR Article 9 Condition Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art9-codesystem (extensions allowed)
Provenance.agent This element must be supported. This element is included in summaries. C 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.who This element is included in summaries. C 1..1 Reference(Trust AI System Device) AI system that performed the processing activity
Provenance.agent.onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
Provenance.entity This element must be supported. This element is included in summaries. 1..* BackboneElement Input data used to generate the AI output
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element is included in summaries. 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Required Pattern: source (extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Source data processed by the AI system

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.authorization Base example PurposeOfUse 📦3.1.0 THO v7.5
Provenance.authorization:gdprArt6Basis Base required GDPR Article 6 Legal Basis Value Set 📦0.1.0 This IG
Provenance.authorization:gdprArt9Condition Base required GDPR Article 9 Condition Value Set 📦0.1.0 This IG
Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

This structure is derived from Provenance

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
Provenance.Slices for extension.extension:usageCategory This element must be supported. 1..1 CodeableConcept Primary or secondary use category
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/usage-category
Binding: Usage Category Value Set (required)
Provenance.Slices for extension.extension:secondaryUsePurpose This element must be supported. 0..* CodeableConcept Purpose of secondary use, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/secondary-use-purpose
Binding: Secondary-Use Purpose Value Set (required)
Provenance.Slices for extension.extension:dataPermit This element must be supported. 0..1 Identifier EHDS data permit, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/data-permit
Provenance.Slices for extension.extension:caseIndication This element must be supported. 1..1 CodeableConcept Clinical reason for AI use
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/case-specific-indication
Binding: Trust AI Case-Specific Indication Value Set (extensible)
Provenance.Slices for extension.extension:automatedDecision This element must be supported. 1..1 boolean Automated decision flag
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/automated-decision-flag
Provenance.target This element must be supported. 1..* Reference(Resource) Link to the generated AI clinical result
Provenance.occurred[x] This element must be supported. 1..1 Period Period of the activity that generated or influenced the target resource
Provenance.occurred[x].start This element must be supported. 1..1 dateTime Start of the AI processing activity
Provenance.occurred[x].end This element must be supported. 1..1 dateTime End of the AI processing activity
Provenance.Slices for authorization This element must be supported. 2..* CodeableReference() Authorization (purposeOfUse) related to the event
Slice: Unordered, Open by value:concept.coding.system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for authorization.authorization:gdprArt6Basis This element must be supported. 1..1 CodeableReference() Legal basis under GDPR Article 6
Binding: GDPR Article 6 Legal Basis Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.system 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art6-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt6Basis.reference 0..0 Reference to a resource (by instance)
Provenance.Slices for authorization.authorization:gdprArt9Condition This element must be supported. 1..1 CodeableReference() Condition under GDPR Article 9 for processing health data
Binding: GDPR Article 9 Condition Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.system 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art9-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt9Condition.reference 0..0 Reference to a resource (by instance)
Provenance.agent This element must be supported. 1..* BackboneElement Actor involved
Provenance.agent.who 1..1 Reference(Trust AI System Device) AI system that performed the processing activity
Provenance.entity This element must be supported. 1..* BackboneElement Input data used to generate the AI output
Provenance.entity.role 1..1 code revision | quotation | source | instantiates | removal
Required Pattern: source (extensions allowed)
Provenance.entity.what 1..1 Reference(Resource) Source data processed by the AI system

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.authorization:gdprArt6Basis Base required GDPR Article 6 Legal Basis Value Set 📦0.1.0 This IG
Provenance.authorization:gdprArt9Condition Base required GDPR Article 9 Condition Value Set 📦0.1.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.id This element is included in summaries. 0..1 id Logical id of this artifact
Provenance.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
Provenance.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Provenance.contained 0..* Resource Contained, inline Resources
Provenance.Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
Provenance.Slices for extension.extension:usageCategory This element must be supported. 1..1 CodeableConcept Primary or secondary use category
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/usage-category
Binding: Usage Category Value Set (required)
Provenance.Slices for extension.extension:secondaryUsePurpose This element must be supported. 0..* CodeableConcept Purpose of secondary use, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/secondary-use-purpose
Binding: Secondary-Use Purpose Value Set (required)
Provenance.Slices for extension.extension:dataPermit This element must be supported. 0..1 Identifier EHDS data permit, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/data-permit
Provenance.Slices for extension.extension:caseIndication This element must be supported. 1..1 CodeableConcept Clinical reason for AI use
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/case-specific-indication
Binding: Trust AI Case-Specific Indication Value Set (extensible)
Provenance.Slices for extension.extension:automatedDecision This element must be supported. 1..1 boolean Automated decision flag
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/automated-decision-flag
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(Resource) Link to the generated AI clinical result
Provenance.occurred[x] This element must be supported. 1..1 Period Period of the activity that generated or influenced the target resource
Provenance.occurred[x].id 0..1 id Unique id for inter-element referencing
Provenance.occurred[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.occurred[x].start This element must be supported. This element is included in summaries. C 1..1 dateTime Start of the AI processing activity
Provenance.occurred[x].end This element must be supported. This element is included in summaries. C 1..1 dateTime End of the AI processing activity
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Time when the provenance record was created
Provenance.policy 0..* uri Policy or plan the activity was defined by
Provenance.location 0..1 Reference(Location) Where the activity occurred, if relevant
Provenance.Slices for authorization This element must be supported. 2..* CodeableReference() Authorization (purposeOfUse) related to the event
Slice: Unordered, Open by value:concept.coding.system
Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for authorization.authorization:gdprArt6Basis This element must be supported. 1..1 CodeableReference() Legal basis under GDPR Article 6
Binding: GDPR Article 6 Legal Basis Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt6Basis.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt6Basis.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art6-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.Slices for authorization.authorization:gdprArt9Condition This element must be supported. 1..1 CodeableReference() Condition under GDPR Article 9 for processing health data
Binding: GDPR Article 9 Condition Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt9Condition.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt9Condition.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art9-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.activity 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityType (example): The activity that took place.
Provenance.basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
Provenance.patient 0..1 Reference(Patient) The patient is the subject of the data created/updated (.target) by the activity
Provenance.encounter 0..1 Reference(Encounter) Encounter within which this event occurred or which the event is tightly associated
Provenance.agent This element must be supported. This element is included in summaries. C 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
Provenance.agent.id 0..1 string Unique id for inter-element referencing
Provenance.agent.extension 0..* Extension Additional content defined by implementations
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.type This element is included in summaries. 0..1 CodeableConcept How the agent participated
Binding: ParticipationRoleType (example): The type of participation that a provenance agent played with respect to the activity.
Provenance.agent.role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.agent.who This element is included in summaries. C 1..1 Reference(Trust AI System Device) AI system that performed the processing activity
Provenance.agent.onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
Provenance.entity This element must be supported. This element is included in summaries. 1..* BackboneElement Input data used to generate the AI output
Provenance.entity.id 0..1 string Unique id for inter-element referencing
Provenance.entity.extension 0..* Extension Additional content defined by implementations
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element is included in summaries. 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Required Pattern: source (extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Source data processed by the AI system
Provenance.entity.agent 0..* See agent (Provenance) Entity is attributed to this agent
Provenance.signature 0..* Signature Signature on target

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.language Base required All Languages 📍5.0.0 FHIR Std.
Provenance.authorization Base example PurposeOfUse 📦3.1.0 THO v7.5
Provenance.authorization:gdprArt6Basis Base required GDPR Article 6 Legal Basis Value Set 📦0.1.0 This IG
Provenance.authorization:gdprArt9Condition Base required GDPR Article 9 Condition Value Set 📦0.1.0 This IG
Provenance.activity Base example ValueSet of sample of representative activity type codes. 📍5.0.0 FHIR Std.
Provenance.agent.type Base example Participation Role Type 📍5.0.0 FHIR Std.
Provenance.agent.role Base example Security Role Type 📍5.0.0 FHIR Std.
Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.contained 0..* Resource Contained, inline Resources
Provenance.Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
Provenance.Slices for extension.extension:usageCategory This element must be supported. 1..1 CodeableConcept Primary or secondary use category
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/usage-category
Binding: Usage Category Value Set (required)
Provenance.Slices for extension.extension:secondaryUsePurpose This element must be supported. 0..* CodeableConcept Purpose of secondary use, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/secondary-use-purpose
Binding: Secondary-Use Purpose Value Set (required)
Provenance.Slices for extension.extension:dataPermit This element must be supported. 0..1 Identifier EHDS data permit, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/data-permit
Provenance.Slices for extension.extension:caseIndication This element must be supported. 1..1 CodeableConcept Clinical reason for AI use
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/case-specific-indication
Binding: Trust AI Case-Specific Indication Value Set (extensible)
Provenance.Slices for extension.extension:automatedDecision This element must be supported. 1..1 boolean Automated decision flag
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/automated-decision-flag
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(Resource) Link to the generated AI clinical result
Provenance.occurred[x] This element must be supported. 1..1 Period Period of the activity that generated or influenced the target resource
Provenance.occurred[x].start This element must be supported. This element is included in summaries. C 1..1 dateTime Start of the AI processing activity
Provenance.occurred[x].end This element must be supported. This element is included in summaries. C 1..1 dateTime End of the AI processing activity
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Time when the provenance record was created
Provenance.Slices for authorization This element must be supported. 2..* CodeableReference() Authorization (purposeOfUse) related to the event
Slice: Unordered, Open by value:concept.coding.system
Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for authorization.authorization:gdprArt6Basis This element must be supported. 1..1 CodeableReference() Legal basis under GDPR Article 6
Binding: GDPR Article 6 Legal Basis Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art6-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt9Condition This element must be supported. 1..1 CodeableReference() Condition under GDPR Article 9 for processing health data
Binding: GDPR Article 9 Condition Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art9-codesystem (extensions allowed)
Provenance.agent This element must be supported. This element is included in summaries. C 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.who This element is included in summaries. C 1..1 Reference(Trust AI System Device) AI system that performed the processing activity
Provenance.agent.onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
Provenance.entity This element must be supported. This element is included in summaries. 1..* BackboneElement Input data used to generate the AI output
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element is included in summaries. 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Required Pattern: source (extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Source data processed by the AI system

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.authorization Base example PurposeOfUse 📦3.1.0 THO v7.5
Provenance.authorization:gdprArt6Basis Base required GDPR Article 6 Legal Basis Value Set 📦0.1.0 This IG
Provenance.authorization:gdprArt9Condition Base required GDPR Article 9 Condition Value Set 📦0.1.0 This IG
Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

Differential View

This structure is derived from Provenance

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
Provenance.Slices for extension.extension:usageCategory This element must be supported. 1..1 CodeableConcept Primary or secondary use category
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/usage-category
Binding: Usage Category Value Set (required)
Provenance.Slices for extension.extension:secondaryUsePurpose This element must be supported. 0..* CodeableConcept Purpose of secondary use, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/secondary-use-purpose
Binding: Secondary-Use Purpose Value Set (required)
Provenance.Slices for extension.extension:dataPermit This element must be supported. 0..1 Identifier EHDS data permit, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/data-permit
Provenance.Slices for extension.extension:caseIndication This element must be supported. 1..1 CodeableConcept Clinical reason for AI use
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/case-specific-indication
Binding: Trust AI Case-Specific Indication Value Set (extensible)
Provenance.Slices for extension.extension:automatedDecision This element must be supported. 1..1 boolean Automated decision flag
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/automated-decision-flag
Provenance.target This element must be supported. 1..* Reference(Resource) Link to the generated AI clinical result
Provenance.occurred[x] This element must be supported. 1..1 Period Period of the activity that generated or influenced the target resource
Provenance.occurred[x].start This element must be supported. 1..1 dateTime Start of the AI processing activity
Provenance.occurred[x].end This element must be supported. 1..1 dateTime End of the AI processing activity
Provenance.recorded This element must be supported. 1..1 instant Time when the provenance record was created
Provenance.Slices for authorization This element must be supported. 2..* CodeableReference() Authorization (purposeOfUse) related to the event
Slice: Unordered, Open by value:concept.coding.system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for authorization.authorization:gdprArt6Basis This element must be supported. 1..1 CodeableReference() Legal basis under GDPR Article 6
Binding: GDPR Article 6 Legal Basis Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.system 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art6-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt6Basis.reference 0..0 Reference to a resource (by instance)
Provenance.Slices for authorization.authorization:gdprArt9Condition This element must be supported. 1..1 CodeableReference() Condition under GDPR Article 9 for processing health data
Binding: GDPR Article 9 Condition Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.system 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art9-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt9Condition.reference 0..0 Reference to a resource (by instance)
Provenance.agent This element must be supported. 1..* BackboneElement Actor involved
Provenance.agent.who 1..1 Reference(Trust AI System Device) AI system that performed the processing activity
Provenance.entity This element must be supported. 1..* BackboneElement Input data used to generate the AI output
Provenance.entity.role 1..1 code revision | quotation | source | instantiates | removal
Required Pattern: source (extensions allowed)
Provenance.entity.what 1..1 Reference(Resource) Source data processed by the AI system

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.authorization:gdprArt6Basis Base required GDPR Article 6 Legal Basis Value Set 📦0.1.0 This IG
Provenance.authorization:gdprArt9Condition Base required GDPR Article 9 Condition Value Set 📦0.1.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.id This element is included in summaries. 0..1 id Logical id of this artifact
Provenance.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Provenance.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Provenance.language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
Provenance.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Provenance.contained 0..* Resource Contained, inline Resources
Provenance.Slices for extension 3..* Extension Extension
Slice: Unordered, Open by value:url
Provenance.Slices for extension.extension:usageCategory This element must be supported. 1..1 CodeableConcept Primary or secondary use category
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/usage-category
Binding: Usage Category Value Set (required)
Provenance.Slices for extension.extension:secondaryUsePurpose This element must be supported. 0..* CodeableConcept Purpose of secondary use, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/secondary-use-purpose
Binding: Secondary-Use Purpose Value Set (required)
Provenance.Slices for extension.extension:dataPermit This element must be supported. 0..1 Identifier EHDS data permit, where applicable
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/data-permit
Provenance.Slices for extension.extension:caseIndication This element must be supported. 1..1 CodeableConcept Clinical reason for AI use
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/case-specific-indication
Binding: Trust AI Case-Specific Indication Value Set (extensible)
Provenance.Slices for extension.extension:automatedDecision This element must be supported. 1..1 boolean Automated decision flag
URL: http://example.org/fhir/trust-ai-transparency/StructureDefinition/automated-decision-flag
Provenance.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored
Provenance.target This element must be supported. This element is included in summaries. 1..* Reference(Resource) Link to the generated AI clinical result
Provenance.occurred[x] This element must be supported. 1..1 Period Period of the activity that generated or influenced the target resource
Provenance.occurred[x].id 0..1 id Unique id for inter-element referencing
Provenance.occurred[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.occurred[x].start This element must be supported. This element is included in summaries. C 1..1 dateTime Start of the AI processing activity
Provenance.occurred[x].end This element must be supported. This element is included in summaries. C 1..1 dateTime End of the AI processing activity
Provenance.recorded This element must be supported. This element is included in summaries. 1..1 instant Time when the provenance record was created
Provenance.policy 0..* uri Policy or plan the activity was defined by
Provenance.location 0..1 Reference(Location) Where the activity occurred, if relevant
Provenance.Slices for authorization This element must be supported. 2..* CodeableReference() Authorization (purposeOfUse) related to the event
Slice: Unordered, Open by value:concept.coding.system
Binding: PurposeOfUse (example): The authorized purposeOfUse for the activity.

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for authorization.authorization:gdprArt6Basis This element must be supported. 1..1 CodeableReference() Legal basis under GDPR Article 6
Binding: GDPR Article 6 Legal Basis Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt6Basis.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt6Basis.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art6-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices for authorization.authorization:gdprArt6Basis.concept.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.Slices for authorization.authorization:gdprArt9Condition This element must be supported. 1..1 CodeableReference() Condition under GDPR Article 9 for processing health data
Binding: GDPR Article 9 Condition Value Set (required)
Provenance.Slices for authorization.authorization:gdprArt9Condition.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt9Condition.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept This element is included in summaries. 1..1 CodeableConcept Reference to a concept (by class)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.id 0..1 id Unique id for inter-element referencing
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://example.org/fhir/trust-ai-transparency/CodeSystem/gdpr-art9-codesystem (extensions allowed)
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.code This element is included in summaries. C 0..1 code Symbol in syntax defined by the system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.display This element is included in summaries. C 0..1 string Representation defined by the system
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Provenance.Slices for authorization.authorization:gdprArt9Condition.concept.text This element is included in summaries. 0..1 string Plain text representation of the concept
Provenance.activity 0..1 CodeableConcept Activity that occurred
Binding: ProvenanceActivityType (example): The activity that took place.
Provenance.basedOn 0..* Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest | Task) Workflow authorization within which this event occurred
Provenance.patient 0..1 Reference(Patient) The patient is the subject of the data created/updated (.target) by the activity
Provenance.encounter 0..1 Reference(Encounter) Encounter within which this event occurred or which the event is tightly associated
Provenance.agent This element must be supported. This element is included in summaries. C 1..* BackboneElement Actor involved
Constraints: prov-1, prov-2, prov-3
Provenance.agent.id 0..1 string Unique id for inter-element referencing
Provenance.agent.extension 0..* Extension Additional content defined by implementations
Provenance.agent.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.agent.type This element is included in summaries. 0..1 CodeableConcept How the agent participated
Binding: ParticipationRoleType (example): The type of participation that a provenance agent played with respect to the activity.
Provenance.agent.role 0..* CodeableConcept What the agents role was
Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity.
Provenance.agent.who This element is included in summaries. C 1..1 Reference(Trust AI System Device) AI system that performed the processing activity
Provenance.agent.onBehalfOf C 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient) The agent that delegated
Provenance.entity This element must be supported. This element is included in summaries. 1..* BackboneElement Input data used to generate the AI output
Provenance.entity.id 0..1 string Unique id for inter-element referencing
Provenance.entity.extension 0..* Extension Additional content defined by implementations
Provenance.entity.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.entity.role This element is included in summaries. 1..1 code revision | quotation | source | instantiates | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Required Pattern: source (extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Source data processed by the AI system
Provenance.entity.agent 0..* See agent (Provenance) Entity is attributed to this agent
Provenance.signature 0..* Signature Signature on target

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.language Base required All Languages 📍5.0.0 FHIR Std.
Provenance.authorization Base example PurposeOfUse 📦3.1.0 THO v7.5
Provenance.authorization:gdprArt6Basis Base required GDPR Article 6 Legal Basis Value Set 📦0.1.0 This IG
Provenance.authorization:gdprArt9Condition Base required GDPR Article 9 Condition Value Set 📦0.1.0 This IG
Provenance.activity Base example ValueSet of sample of representative activity type codes. 📍5.0.0 FHIR Std.
Provenance.agent.type Base example Participation Role Type 📍5.0.0 FHIR Std.
Provenance.agent.role Base example Security Role Type 📍5.0.0 FHIR Std.
Provenance.entity.role Base required Provenance Entity Role 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Provenance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Provenance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Provenance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Provenance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Provenance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
prov-1 error Provenance.agent Who and onBehalfOf cannot be the same who.resolve().exists() and onBehalfOf.resolve().exists() implies who.resolve() != onBehalfOf.resolve()
prov-2 error Provenance.agent If who is a PractitionerRole, onBehalfOf can't reference the same Practitioner who.resolve().ofType(PractitionerRole).practitioner.resolve().exists() and onBehalfOf.resolve().ofType(Practitioner).exists() implies who.resolve().practitioner.resolve() != onBehalfOf.resolve()
prov-3 error Provenance.agent If who is an organization, onBehalfOf can't be a PractitionerRole within that organization who.resolve().ofType(Organization).exists() and onBehalfOf.resolve().ofType(PractitionerRole).organization.resolve().exists() implies who.resolve() != onBehalfOf.resolve().organization.resolve()

 

Other representations of profile: CSV, Excel, Schematron