ERA FHIR specification
1.0.0 - draft

ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: MitatointiProvenance

Official URL: https://gen.kanta.fi/fhir/StructureDefinition/MitatointiProvenance Version: 1.0.0
Draft as of 2025-10-08 Computable Name: MitatointiProvenance

Provenance profile used in Kanta Services for invalidating a resource.

Provenance profile used in Kanta Services for invalidating a resource.

Usages:

  • This Profile is not used by any profiles in this Specification

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.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Provenance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
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.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for extension.extension:status 0..1 Coding Record status
URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..1 Reference(Resource) Unique identifier of the resource to be invalidated
Provenance.target.reference This element is included in summaries. C 1..1 string Logical id of the main resource instance to be invalidated
Provenance.target.display This element is included in summaries. 0..1 string Display name
Provenance.recorded This element is included in summaries. 1..1 instant Creation/recording time
Provenance.activity 1..1 CodeableConcept Reason for invalidation
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.activity.coding This element is included in summaries. 0..1 Coding Reason for invalidation
Provenance.activity.coding.system This element is included in summaries. 1..1 uri Code system to be used
Provenance.activity.coding.code This element is included in summaries. 1..1 code Code value of the reason for invalidation
Provenance.activity.coding.display This element is included in summaries. 1..1 string Reason for invalidation
Provenance.activity.text This element is included in summaries. 0..1 string Reason for invalidation
Provenance.Slices for agent 1..* BackboneElement Actor involved
Slice: Unordered, Open by value:role.coding.code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for agent.agent:All Slices Content/Rules for all slices
Provenance.Slices for agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:All Slices.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:All Slices.who This element is included in summaries. 1..1 Reference(KantaPatient | KantaPractitioner | KantaDevice) Who participated
Provenance.Slices for agent.agent:Patient 1..1 BackboneElement Customer or patient
Provenance.Slices for agent.agent:Patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Patient.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Patient.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Patient.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 3 (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Patient.who This element is included in summaries. 1..1 Reference(KantaPatient) {c} Who participated
Provenance.Slices for agent.agent:Patient.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Practitioner 1..1 BackboneElement Person performing the invalidation
Provenance.Slices for agent.agent:Practitioner.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Practitioner.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Practitioner.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Practitioner.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 2 (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Practitioner.who This element is included in summaries. 1..1 Reference(KantaPractitioner) {c} Who participated
Provenance.Slices for agent.agent:Practitioner.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.entity 1..1 BackboneElement An entity used in this activity
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 derivation | revision | quotation | source | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Fixed Value: removal (no extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Identity of entity
Provenance.entity.what.reference This element is included in summaries. C 1..1 string Logical id of the resource instance to be invalidated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Patient.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Practitioner.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()

This structure is derived from Provenance

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.meta 0..1 Meta Metadata about the resource
Provenance.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Provenance.extension 1..* Extension Extension
Provenance.Slices for extension Content/Rules for all slices
Provenance.Slices for extension.extension:status 0..1 Coding Record status
URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status
Provenance.target.id 0..0 Unique id for inter-element referencing
Provenance.target.reference 1..1 string Logical id of the main resource instance to be invalidated
Provenance.target.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.target.identifier 0..0 Logical reference, when literal reference is not known
Provenance.target.display 0..1 string Display name
Provenance.occurred[x] 0..0 When the activity occurred
Provenance.recorded 1..1 instant Creation/recording time
Provenance.policy 0..0 Policy or plan the activity was defined by
Provenance.location 0..0 Where the activity occurred, if relevant
Provenance.reason 0..0 Reason the activity is occurring
Provenance.activity 1..1 CodeableConcept Reason for invalidation
Provenance.activity.id 0..0 Unique id for inter-element referencing
Provenance.activity.coding 0..1 Coding Reason for invalidation
Provenance.activity.coding.id 0..0 Unique id for inter-element referencing
Provenance.activity.coding.system 1..1 uri Code system to be used
Provenance.activity.coding.version 0..0 Version of the system - if relevant
Provenance.activity.coding.code 1..1 code Code value of the reason for invalidation
Provenance.activity.coding.display 1..1 string Reason for invalidation
Provenance.activity.coding.userSelected 0..0 If this coding was chosen directly by the user
Provenance.activity.text 0..1 string Reason for invalidation
Provenance.Slices for agent 1..* BackboneElement Actor involved
Slice: Unordered, Open by value:role.coding.code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for agent.agent:All Slices Content/Rules for all slices
Provenance.Slices for agent.agent:All Slices.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:All Slices.role.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:All Slices.role.text 0..0 Plain text representation of the concept
Provenance.Slices for agent.agent:All Slices.who 1..1 Reference(KantaPatient | KantaPractitioner | KantaDevice) Who participated
Provenance.Slices for agent.agent:All Slices.who.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:All Slices.who.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.Slices for agent.agent:Patient 1..1 BackboneElement Customer or patient
Provenance.Slices for agent.agent:Patient.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.type 0..0 How the agent participated
Provenance.Slices for agent.agent:Patient.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Patient.role.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.role.coding 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Patient.role.coding.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.role.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.version 0..0 Version of the system - if relevant
Provenance.Slices for agent.agent:Patient.role.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 3 (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.display 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Patient.role.coding.userSelected 0..0 If this coding was chosen directly by the user
Provenance.Slices for agent.agent:Patient.role.text 0..0 Plain text representation of the concept
Provenance.Slices for agent.agent:Patient.who 1..1 Reference(KantaPatient) {c} Who participated
Provenance.Slices for agent.agent:Patient.who.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.who.reference 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Patient.who.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.Slices for agent.agent:Patient.who.identifier 0..0 Logical reference, when literal reference is not known
Provenance.Slices for agent.agent:Patient.who.display 0..0 Text alternative for the resource
Provenance.Slices for agent.agent:Patient.onBehalfOf 0..0 Who the agent is representing
Provenance.Slices for agent.agent:Practitioner 1..1 BackboneElement Person performing the invalidation
Provenance.Slices for agent.agent:Practitioner.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.type 0..0 How the agent participated
Provenance.Slices for agent.agent:Practitioner.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Practitioner.role.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.role.coding 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Practitioner.role.coding.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.role.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.version 0..0 Version of the system - if relevant
Provenance.Slices for agent.agent:Practitioner.role.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 2 (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.display 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Practitioner.role.coding.userSelected 0..0 If this coding was chosen directly by the user
Provenance.Slices for agent.agent:Practitioner.role.text 0..0 Plain text representation of the concept
Provenance.Slices for agent.agent:Practitioner.who 1..1 Reference(KantaPractitioner) {c} Who participated
Provenance.Slices for agent.agent:Practitioner.who.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.who.reference 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Practitioner.who.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.Slices for agent.agent:Practitioner.who.identifier 0..0 Logical reference, when literal reference is not known
Provenance.Slices for agent.agent:Practitioner.who.display 0..0 Text alternative for the resource
Provenance.Slices for agent.agent:Practitioner.onBehalfOf 0..0 Who the agent is representing
Provenance.entity 1..1 BackboneElement An entity used in this activity
Provenance.entity.id 0..0 Unique id for inter-element referencing
Provenance.entity.role 1..1 code derivation | revision | quotation | source | removal
Fixed Value: removal (no extensions allowed)
Provenance.entity.what
Provenance.entity.what.id 0..0 Unique id for inter-element referencing
Provenance.entity.what.reference 1..1 string Logical id of the resource instance to be invalidated
Provenance.entity.what.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.entity.what.identifier 0..0 Logical reference, when literal reference is not known
Provenance.entity.what.display 0..0 Display name
Provenance.entity.agent 0..0 Entity is attributed to this agent
Provenance.signature 0..0 Signature on target

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.agent.role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Patient.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Practitioner.​role Base required Value Set Kanta Provenance Role Category 📦1.0.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.meta.id 0..1 string Unique id for inter-element referencing
Provenance.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Provenance.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Provenance.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Provenance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Provenance.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Provenance.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
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 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for extension.extension:status 0..1 Coding Record status
URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..1 Reference(Resource) Unique identifier of the resource to be invalidated
Provenance.target.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.target.reference This element is included in summaries. C 1..1 string Logical id of the main resource instance to be invalidated
Provenance.target.display This element is included in summaries. 0..1 string Display name
Provenance.recorded This element is included in summaries. 1..1 instant Creation/recording time
Provenance.activity 1..1 CodeableConcept Reason for invalidation
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.activity.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.activity.coding This element is included in summaries. 0..1 Coding Reason for invalidation
Provenance.activity.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.activity.coding.system This element is included in summaries. 1..1 uri Code system to be used
Provenance.activity.coding.code This element is included in summaries. 1..1 code Code value of the reason for invalidation
Provenance.activity.coding.display This element is included in summaries. 1..1 string Reason for invalidation
Provenance.activity.text This element is included in summaries. 0..1 string Reason for invalidation
Provenance.Slices for agent 1..* BackboneElement Actor involved
Slice: Unordered, Open by value:role.coding.code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for agent.agent:All Slices Content/Rules for all slices
Provenance.Slices for agent.agent:All Slices.id 0..1 string Unique id for inter-element referencing
Provenance.Slices for agent.agent:All Slices.extension 0..* Extension Additional content defined by implementations
Provenance.Slices for agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:All Slices.type This element is included in summaries. 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity.
Provenance.Slices for agent.agent:All Slices.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:All Slices.role.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:All Slices.role.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Provenance.Slices for agent.agent:All Slices.who This element is included in summaries. 1..1 Reference(KantaPatient | KantaPractitioner | KantaDevice) Who participated
Provenance.Slices for agent.agent:All Slices.who.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:All Slices.who.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Provenance.Slices for agent.agent:All Slices.who.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Provenance.Slices for agent.agent:All Slices.who.display This element is included in summaries. 0..1 string Text alternative for the resource
Provenance.Slices for agent.agent:All Slices.onBehalfOf 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who the agent is representing
Provenance.Slices for agent.agent:Patient 1..1 BackboneElement Customer or patient
Provenance.Slices for agent.agent:Patient.extension 0..* Extension Additional content defined by implementations
Provenance.Slices for agent.agent:Patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Patient.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Patient.role.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Patient.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Patient.role.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Patient.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 3 (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Patient.who This element is included in summaries. 1..1 Reference(KantaPatient) {c} Who participated
Provenance.Slices for agent.agent:Patient.who.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Patient.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Practitioner 1..1 BackboneElement Person performing the invalidation
Provenance.Slices for agent.agent:Practitioner.extension 0..* Extension Additional content defined by implementations
Provenance.Slices for agent.agent:Practitioner.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Practitioner.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Practitioner.role.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Practitioner.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Practitioner.role.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Practitioner.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 2 (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Practitioner.who This element is included in summaries. 1..1 Reference(KantaPractitioner) {c} Who participated
Provenance.Slices for agent.agent:Practitioner.who.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Practitioner.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.entity 1..1 BackboneElement An entity used in this activity
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 derivation | revision | quotation | source | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Fixed Value: removal (no extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Identity of entity
Provenance.entity.what.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.entity.what.reference This element is included in summaries. C 1..1 string Logical id of the resource instance to be invalidated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Provenance.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Provenance.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.type Base extensible Provenance participant type 📍4.0.1 FHIR Std.
Provenance.agent.role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Patient.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Practitioner.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()

This structure is derived from Provenance

Summary

Mandatory: 20 elements(4 nested mandatory elements)
Fixed: 5 elements
Prohibited: 48 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.agent

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Provenance 0..* Provenance Who, What, When for a set of resources
Provenance.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Provenance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
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.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for extension.extension:status 0..1 Coding Record status
URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..1 Reference(Resource) Unique identifier of the resource to be invalidated
Provenance.target.reference This element is included in summaries. C 1..1 string Logical id of the main resource instance to be invalidated
Provenance.target.display This element is included in summaries. 0..1 string Display name
Provenance.recorded This element is included in summaries. 1..1 instant Creation/recording time
Provenance.activity 1..1 CodeableConcept Reason for invalidation
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.activity.coding This element is included in summaries. 0..1 Coding Reason for invalidation
Provenance.activity.coding.system This element is included in summaries. 1..1 uri Code system to be used
Provenance.activity.coding.code This element is included in summaries. 1..1 code Code value of the reason for invalidation
Provenance.activity.coding.display This element is included in summaries. 1..1 string Reason for invalidation
Provenance.activity.text This element is included in summaries. 0..1 string Reason for invalidation
Provenance.Slices for agent 1..* BackboneElement Actor involved
Slice: Unordered, Open by value:role.coding.code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for agent.agent:All Slices Content/Rules for all slices
Provenance.Slices for agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:All Slices.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:All Slices.who This element is included in summaries. 1..1 Reference(KantaPatient | KantaPractitioner | KantaDevice) Who participated
Provenance.Slices for agent.agent:Patient 1..1 BackboneElement Customer or patient
Provenance.Slices for agent.agent:Patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Patient.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Patient.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Patient.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 3 (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Patient.who This element is included in summaries. 1..1 Reference(KantaPatient) {c} Who participated
Provenance.Slices for agent.agent:Patient.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Practitioner 1..1 BackboneElement Person performing the invalidation
Provenance.Slices for agent.agent:Practitioner.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Practitioner.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Practitioner.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Practitioner.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 2 (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Practitioner.who This element is included in summaries. 1..1 Reference(KantaPractitioner) {c} Who participated
Provenance.Slices for agent.agent:Practitioner.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.entity 1..1 BackboneElement An entity used in this activity
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 derivation | revision | quotation | source | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Fixed Value: removal (no extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Identity of entity
Provenance.entity.what.reference This element is included in summaries. C 1..1 string Logical id of the resource instance to be invalidated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Patient.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Practitioner.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()

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.meta 0..1 Meta Metadata about the resource
Provenance.meta.profile 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Provenance.extension 1..* Extension Extension
Provenance.Slices for extension Content/Rules for all slices
Provenance.Slices for extension.extension:status 0..1 Coding Record status
URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status
Provenance.target 1..1 Reference(Resource) Unique identifier of the resource to be invalidated
Provenance.target.id 0..0 Unique id for inter-element referencing
Provenance.target.reference 1..1 string Logical id of the main resource instance to be invalidated
Provenance.target.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.target.identifier 0..0 Logical reference, when literal reference is not known
Provenance.target.display 0..1 string Display name
Provenance.occurred[x] 0..0 When the activity occurred
Provenance.recorded 1..1 instant Creation/recording time
Provenance.policy 0..0 Policy or plan the activity was defined by
Provenance.location 0..0 Where the activity occurred, if relevant
Provenance.reason 0..0 Reason the activity is occurring
Provenance.activity 1..1 CodeableConcept Reason for invalidation
Provenance.activity.id 0..0 Unique id for inter-element referencing
Provenance.activity.coding 0..1 Coding Reason for invalidation
Provenance.activity.coding.id 0..0 Unique id for inter-element referencing
Provenance.activity.coding.system 1..1 uri Code system to be used
Provenance.activity.coding.version 0..0 Version of the system - if relevant
Provenance.activity.coding.code 1..1 code Code value of the reason for invalidation
Provenance.activity.coding.display 1..1 string Reason for invalidation
Provenance.activity.coding.userSelected 0..0 If this coding was chosen directly by the user
Provenance.activity.text 0..1 string Reason for invalidation
Provenance.Slices for agent 1..* BackboneElement Actor involved
Slice: Unordered, Open by value:role.coding.code
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for agent.agent:All Slices Content/Rules for all slices
Provenance.Slices for agent.agent:All Slices.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:All Slices.role.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:All Slices.role.text 0..0 Plain text representation of the concept
Provenance.Slices for agent.agent:All Slices.who 1..1 Reference(KantaPatient | KantaPractitioner | KantaDevice) Who participated
Provenance.Slices for agent.agent:All Slices.who.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:All Slices.who.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.Slices for agent.agent:Patient 1..1 BackboneElement Customer or patient
Provenance.Slices for agent.agent:Patient.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.type 0..0 How the agent participated
Provenance.Slices for agent.agent:Patient.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Patient.role.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.role.coding 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Patient.role.coding.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.role.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.version 0..0 Version of the system - if relevant
Provenance.Slices for agent.agent:Patient.role.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 3 (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.display 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Patient.role.coding.userSelected 0..0 If this coding was chosen directly by the user
Provenance.Slices for agent.agent:Patient.role.text 0..0 Plain text representation of the concept
Provenance.Slices for agent.agent:Patient.who 1..1 Reference(KantaPatient) {c} Who participated
Provenance.Slices for agent.agent:Patient.who.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Patient.who.reference 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Patient.who.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.Slices for agent.agent:Patient.who.identifier 0..0 Logical reference, when literal reference is not known
Provenance.Slices for agent.agent:Patient.who.display 0..0 Text alternative for the resource
Provenance.Slices for agent.agent:Patient.onBehalfOf 0..0 Who the agent is representing
Provenance.Slices for agent.agent:Practitioner 1..1 BackboneElement Person performing the invalidation
Provenance.Slices for agent.agent:Practitioner.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.type 0..0 How the agent participated
Provenance.Slices for agent.agent:Practitioner.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Practitioner.role.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.role.coding 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Practitioner.role.coding.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.role.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.version 0..0 Version of the system - if relevant
Provenance.Slices for agent.agent:Practitioner.role.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 2 (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.display 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Practitioner.role.coding.userSelected 0..0 If this coding was chosen directly by the user
Provenance.Slices for agent.agent:Practitioner.role.text 0..0 Plain text representation of the concept
Provenance.Slices for agent.agent:Practitioner.who 1..1 Reference(KantaPractitioner) {c} Who participated
Provenance.Slices for agent.agent:Practitioner.who.id 0..0 Unique id for inter-element referencing
Provenance.Slices for agent.agent:Practitioner.who.reference 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Practitioner.who.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.Slices for agent.agent:Practitioner.who.identifier 0..0 Logical reference, when literal reference is not known
Provenance.Slices for agent.agent:Practitioner.who.display 0..0 Text alternative for the resource
Provenance.Slices for agent.agent:Practitioner.onBehalfOf 0..0 Who the agent is representing
Provenance.entity 1..1 BackboneElement An entity used in this activity
Provenance.entity.id 0..0 Unique id for inter-element referencing
Provenance.entity.role 1..1 code derivation | revision | quotation | source | removal
Fixed Value: removal (no extensions allowed)
Provenance.entity.what
Provenance.entity.what.id 0..0 Unique id for inter-element referencing
Provenance.entity.what.reference 1..1 string Logical id of the resource instance to be invalidated
Provenance.entity.what.type 0..0 Type the reference refers to (e.g. "Patient")
Provenance.entity.what.identifier 0..0 Logical reference, when literal reference is not known
Provenance.entity.what.display 0..0 Display name
Provenance.entity.agent 0..0 Entity is attributed to this agent
Provenance.signature 0..0 Signature on target

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Provenance.agent.role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Patient.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Practitioner.​role Base required Value Set Kanta Provenance Role Category 📦1.0.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.meta.id 0..1 string Unique id for inter-element referencing
Provenance.meta.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.meta.versionId This element is included in summaries. 0..1 id Version specific identifier
Provenance.meta.lastUpdated This element is included in summaries. 0..1 instant When the resource version last changed
Provenance.meta.source This element is included in summaries. 0..1 uri Identifies where the resource comes from
Provenance.meta.profile This element is included in summaries. 1..1 canonical(StructureDefinition) Profiles this resource claims to conform to
Provenance.meta.security This element is included in summaries. 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
Provenance.meta.tag This element is included in summaries. 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
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: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
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 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for extension.extension:status 0..1 Coding Record status
URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status
Provenance.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Provenance.target This element is included in summaries. 1..1 Reference(Resource) Unique identifier of the resource to be invalidated
Provenance.target.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.target.reference This element is included in summaries. C 1..1 string Logical id of the main resource instance to be invalidated
Provenance.target.display This element is included in summaries. 0..1 string Display name
Provenance.recorded This element is included in summaries. 1..1 instant Creation/recording time
Provenance.activity 1..1 CodeableConcept Reason for invalidation
Binding: ProvenanceActivityType (extensible): The activity that took place.
Provenance.activity.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.activity.coding This element is included in summaries. 0..1 Coding Reason for invalidation
Provenance.activity.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.activity.coding.system This element is included in summaries. 1..1 uri Code system to be used
Provenance.activity.coding.code This element is included in summaries. 1..1 code Code value of the reason for invalidation
Provenance.activity.coding.display This element is included in summaries. 1..1 string Reason for invalidation
Provenance.activity.text This element is included in summaries. 0..1 string Reason for invalidation
Provenance.Slices for agent 1..* BackboneElement Actor involved
Slice: Unordered, Open by value:role.coding.code

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Provenance.Slices for agent.agent:All Slices Content/Rules for all slices
Provenance.Slices for agent.agent:All Slices.id 0..1 string Unique id for inter-element referencing
Provenance.Slices for agent.agent:All Slices.extension 0..* Extension Additional content defined by implementations
Provenance.Slices for agent.agent:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:All Slices.type This element is included in summaries. 0..1 CodeableConcept How the agent participated
Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity.
Provenance.Slices for agent.agent:All Slices.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:All Slices.role.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:All Slices.role.coding This element is included in summaries. 0..* Coding Code defined by a terminology system
Provenance.Slices for agent.agent:All Slices.who This element is included in summaries. 1..1 Reference(KantaPatient | KantaPractitioner | KantaDevice) Who participated
Provenance.Slices for agent.agent:All Slices.who.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:All Slices.who.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Provenance.Slices for agent.agent:All Slices.who.identifier This element is included in summaries. 0..1 Identifier Logical reference, when literal reference is not known
Provenance.Slices for agent.agent:All Slices.who.display This element is included in summaries. 0..1 string Text alternative for the resource
Provenance.Slices for agent.agent:All Slices.onBehalfOf 0..1 Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) Who the agent is representing
Provenance.Slices for agent.agent:Patient 1..1 BackboneElement Customer or patient
Provenance.Slices for agent.agent:Patient.extension 0..* Extension Additional content defined by implementations
Provenance.Slices for agent.agent:Patient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Patient.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Patient.role.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Patient.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Patient.role.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Patient.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 3 (no extensions allowed)
Provenance.Slices for agent.agent:Patient.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Patient.who This element is included in summaries. 1..1 Reference(KantaPatient) {c} Who participated
Provenance.Slices for agent.agent:Patient.who.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Patient.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.Slices for agent.agent:Practitioner 1..1 BackboneElement Person performing the invalidation
Provenance.Slices for agent.agent:Practitioner.extension 0..* Extension Additional content defined by implementations
Provenance.Slices for agent.agent:Practitioner.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Provenance.Slices for agent.agent:Practitioner.role 1..1 CodeableConcept What the agents role was
Binding: Value Set Kanta Provenance Role Category (required)
Provenance.Slices for agent.agent:Practitioner.role.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Practitioner.role.coding This element is included in summaries. 1..1 Coding Code defined by a terminology system
Provenance.Slices for agent.agent:Practitioner.role.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Practitioner.role.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Fixed Value: 2 (no extensions allowed)
Provenance.Slices for agent.agent:Practitioner.role.coding.display This element is included in summaries. 1..1 string Representation defined by the system
Provenance.Slices for agent.agent:Practitioner.who This element is included in summaries. 1..1 Reference(KantaPractitioner) {c} Who participated
Provenance.Slices for agent.agent:Practitioner.who.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.Slices for agent.agent:Practitioner.who.reference This element is included in summaries. C 1..1 string Reference to the resource to be used
Provenance.entity 1..1 BackboneElement An entity used in this activity
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 derivation | revision | quotation | source | removal
Binding: ProvenanceEntityRole (required): How an entity was used in an activity.
Fixed Value: removal (no extensions allowed)
Provenance.entity.what This element is included in summaries. 1..1 Reference(Resource) Identity of entity
Provenance.entity.what.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Provenance.entity.what.reference This element is included in summaries. C 1..1 string Logical id of the resource instance to be invalidated

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Provenance.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Provenance.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Provenance.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Provenance.activity Base extensible Provenance activity type 📍4.0.1 FHIR Std.
Provenance.agent.type Base extensible Provenance participant type 📍4.0.1 FHIR Std.
Provenance.agent.role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Patient.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.agent:Practitioner.​role Base required Value Set Kanta Provenance Role Category 📦1.0.0 This IG
Provenance.entity.role Base required ProvenanceEntityRole 📍4.0.1 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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()

This structure is derived from Provenance

Summary

Mandatory: 20 elements(4 nested mandatory elements)
Fixed: 5 elements
Prohibited: 48 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Provenance.agent

 

Other representations of profile: CSV, Excel, Schematron