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
| 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:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
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 | |
![]() ![]() ![]() |
0..1 | Coding | Record status URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | Reference(Resource) | Unique identifier of the resource to be invalidated | |
![]() ![]() ![]() |
C | 1..1 | string | Logical id of the main resource instance to be invalidated |
![]() ![]() ![]() |
0..1 | string | Display name | |
![]() ![]() |
1..1 | instant | Creation/recording time | |
![]() ![]() |
1..1 | CodeableConcept | Reason for invalidation Binding: ProvenanceActivityType (extensible): The activity that took place. | |
![]() ![]() ![]() |
0..1 | Coding | Reason for invalidation | |
![]() ![]() ![]() ![]() |
1..1 | uri | Code system to be used | |
![]() ![]() ![]() ![]() |
1..1 | code | Code value of the reason for invalidation | |
![]() ![]() ![]() ![]() |
1..1 | string | Reason for invalidation | |
![]() ![]() ![]() |
0..1 | string | Reason for invalidation | |
![]() ![]() |
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 | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient | KantaPractitioner | KantaDevice) | Who participated | |
![]() ![]() ![]() |
1..1 | BackboneElement | Customer or patient | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used |
![]() ![]() ![]() |
1..1 | BackboneElement | Person performing the invalidation | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPractitioner) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used |
![]() ![]() |
1..1 | BackboneElement | An entity used in this activity | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
1..1 | Reference(Resource) | Identity of entity | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | Logical id of the resource instance to be invalidated |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Coding | Record status URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status | |
![]() ![]() |
1..1 | Reference(Resource) | Unique identifier of the resource to be invalidated | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | string | Logical id of the main resource instance to be invalidated | |
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() |
0..1 | string | Display name | |
![]() ![]() |
0..0 | When the activity occurred | ||
![]() ![]() |
1..1 | instant | Creation/recording time | |
![]() ![]() |
0..0 | Policy or plan the activity was defined by | ||
![]() ![]() |
0..0 | Where the activity occurred, if relevant | ||
![]() ![]() |
0..0 | Reason the activity is occurring | ||
![]() ![]() |
1..1 | CodeableConcept | Reason for invalidation | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..1 | Coding | Reason for invalidation | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Code system to be used | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Code value of the reason for invalidation | |
![]() ![]() ![]() ![]() |
1..1 | string | Reason for invalidation | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..1 | string | Reason for invalidation | |
![]() ![]() |
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 | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient | KantaPractitioner | KantaDevice) | Who participated | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Customer or patient | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | How the agent participated | ||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | Who the agent is representing | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Person performing the invalidation | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | How the agent participated | ||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPractitioner) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | Who the agent is representing | ||
![]() ![]() |
1..1 | BackboneElement | An entity used in this activity | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | code | derivation | revision | quotation | source | removal Fixed Value: removal (no extensions allowed) | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | string | Logical id of the resource instance to be invalidated | |
![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() |
0..0 | Display name | ||
![]() ![]() ![]() |
0..0 | Entity is attributed to this agent | ||
![]() ![]() |
0..0 | Signature on target | ||
Documentation for this format | ||||
| 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 |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
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". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..1 | Coding | Record status URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Reference(Resource) | Unique identifier of the resource to be invalidated | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 1..1 | string | Logical id of the main resource instance to be invalidated | ||||
![]() ![]() ![]() |
0..1 | string | Display name | |||||
![]() ![]() |
1..1 | instant | Creation/recording time | |||||
![]() ![]() |
1..1 | CodeableConcept | Reason for invalidation Binding: ProvenanceActivityType (extensible): The activity that took place. | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Coding | Reason for invalidation | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Code system to be used | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value of the reason for invalidation | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Reason for invalidation | |||||
![]() ![]() ![]() |
0..1 | string | Reason for invalidation | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient | KantaPractitioner | KantaDevice) | Who participated | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | |||||
![]() ![]() ![]() |
1..1 | BackboneElement | Customer or patient | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient) {c} | Who participated | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() |
1..1 | BackboneElement | Person performing the invalidation | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPractitioner) {c} | Who participated | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() |
1..1 | BackboneElement | An entity used in this activity | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Identity of entity | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | Logical id of the resource instance to be invalidated | ||||
Documentation for this format | ||||||||
| 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. |
| 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:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
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 | |
![]() ![]() ![]() |
0..1 | Coding | Record status URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
1..1 | Reference(Resource) | Unique identifier of the resource to be invalidated | |
![]() ![]() ![]() |
C | 1..1 | string | Logical id of the main resource instance to be invalidated |
![]() ![]() ![]() |
0..1 | string | Display name | |
![]() ![]() |
1..1 | instant | Creation/recording time | |
![]() ![]() |
1..1 | CodeableConcept | Reason for invalidation Binding: ProvenanceActivityType (extensible): The activity that took place. | |
![]() ![]() ![]() |
0..1 | Coding | Reason for invalidation | |
![]() ![]() ![]() ![]() |
1..1 | uri | Code system to be used | |
![]() ![]() ![]() ![]() |
1..1 | code | Code value of the reason for invalidation | |
![]() ![]() ![]() ![]() |
1..1 | string | Reason for invalidation | |
![]() ![]() ![]() |
0..1 | string | Reason for invalidation | |
![]() ![]() |
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 | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient | KantaPractitioner | KantaDevice) | Who participated | |
![]() ![]() ![]() |
1..1 | BackboneElement | Customer or patient | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used |
![]() ![]() ![]() |
1..1 | BackboneElement | Person performing the invalidation | |
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPractitioner) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used |
![]() ![]() |
1..1 | BackboneElement | An entity used in this activity | |
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |
![]() ![]() ![]() |
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) | |
![]() ![]() ![]() |
1..1 | Reference(Resource) | Identity of entity | |
![]() ![]() ![]() ![]() |
C | 1..1 | string | Logical id of the resource instance to be invalidated |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |
![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Coding | Record status URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status | |
![]() ![]() |
1..1 | Reference(Resource) | Unique identifier of the resource to be invalidated | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | string | Logical id of the main resource instance to be invalidated | |
![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() |
0..1 | string | Display name | |
![]() ![]() |
0..0 | When the activity occurred | ||
![]() ![]() |
1..1 | instant | Creation/recording time | |
![]() ![]() |
0..0 | Policy or plan the activity was defined by | ||
![]() ![]() |
0..0 | Where the activity occurred, if relevant | ||
![]() ![]() |
0..0 | Reason the activity is occurring | ||
![]() ![]() |
1..1 | CodeableConcept | Reason for invalidation | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..1 | Coding | Reason for invalidation | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Code system to be used | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
1..1 | code | Code value of the reason for invalidation | |
![]() ![]() ![]() ![]() |
1..1 | string | Reason for invalidation | |
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..1 | string | Reason for invalidation | |
![]() ![]() |
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 | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient | KantaPractitioner | KantaDevice) | Who participated | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Customer or patient | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | How the agent participated | ||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | Who the agent is representing | ||
![]() ![]() ![]() |
1..1 | BackboneElement | Person performing the invalidation | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | How the agent participated | ||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPractitioner) {c} | Who participated | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Reference to the resource to be used | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() ![]() |
0..0 | Text alternative for the resource | ||
![]() ![]() ![]() ![]() |
0..0 | Who the agent is representing | ||
![]() ![]() |
1..1 | BackboneElement | An entity used in this activity | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | code | derivation | revision | quotation | source | removal Fixed Value: removal (no extensions allowed) | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | string | Logical id of the resource instance to be invalidated | |
![]() ![]() ![]() ![]() |
0..0 | Type the reference refers to (e.g. "Patient") | ||
![]() ![]() ![]() ![]() |
0..0 | Logical reference, when literal reference is not known | ||
![]() ![]() ![]() ![]() |
0..0 | Display name | ||
![]() ![]() ![]() |
0..0 | Entity is attributed to this agent | ||
![]() ![]() |
0..0 | Signature on target | ||
Documentation for this format | ||||
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Provenance | Who, What, When for a set of resources | |||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
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". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..1 | Coding | Record status URL: https://gen.kanta.fi/fhir/StructureDefinition/extension/Status | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Reference(Resource) | Unique identifier of the resource to be invalidated | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 1..1 | string | Logical id of the main resource instance to be invalidated | ||||
![]() ![]() ![]() |
0..1 | string | Display name | |||||
![]() ![]() |
1..1 | instant | Creation/recording time | |||||
![]() ![]() |
1..1 | CodeableConcept | Reason for invalidation Binding: ProvenanceActivityType (extensible): The activity that took place. | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Coding | Reason for invalidation | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Code system to be used | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Code value of the reason for invalidation | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Reason for invalidation | |||||
![]() ![]() ![]() |
0..1 | string | Reason for invalidation | |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | How the agent participated Binding: ProvenanceParticipantType (extensible): The type of participation that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient | KantaPractitioner | KantaDevice) | Who participated | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing | |||||
![]() ![]() ![]() |
1..1 | BackboneElement | Customer or patient | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 3 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPatient) {c} | Who participated | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() ![]() |
1..1 | BackboneElement | Person performing the invalidation | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | What the agents role was Binding: Value Set Kanta Provenance Role Category (required) | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://gen.kanta.fi/figen-cs-provenancerolecategory (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: 2 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(KantaPractitioner) {c} | Who participated | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
C | 1..1 | string | Reference to the resource to be used | ||||
![]() ![]() |
1..1 | BackboneElement | An entity used in this activity | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() |
1..1 | Reference(Resource) | Identity of entity | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | string | Logical id of the resource instance to be invalidated | ||||
Documentation for this format | ||||||||
| 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. |
| 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:
Other representations of profile: CSV, Excel, Schematron