Official URL: https://gematik.de/fhir/epa/StructureDefinition/epa-activity-provenance | Version: 1.2.0-ballot.1 | |||
Draft as of 2025-08-01 | Computable Name: EPAActivityProvenance |
Dieses Profil beschreibt die Verwendung der FHIR-Resource Provenance zur Dokumentation von Änderungen und Aktivitäten im Rahmen ePA FHIR Data Services. Es ermöglicht die strukturierte Nachverfolgung, wer zu welchem Zeitpunkt welche Ressourcen erstellt oder verändert hat. Der ePA Änderungseintrag dient damit als technischer und fachlicher Nachweis über den Ursprung und die Verantwortlichkeit von Einträgen in der ePA.
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 | Dieses Profil beschreibt die Verwendung der FHIR-Resource Provenance zur Dokumentation von Änderungen und Aktivitäten im Rahmen der ePA FHIR Data Services. Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() ![]() |
SΣC | 1..* | Reference(Resource) | Gibt die Ressource(n) an, die im Rahmen der Änderung innerhalb der ePA erstellt oder aktualisiert wurden. Es muss eine versionierte Referenz (ResourceType/id/_history/vid) verwendet werden. Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() |
S | 0..1 | dateTime | Gibt den Zeitraum oder Zeitpunkt an, in dem die Änderung tatsächlich stattgefunden hat - also wann die Aktion inhaltlich durchgeführt wurde, z.B. das Erfassen oder Bearbeiten von Daten. |
![]() ![]() ![]() |
SΣ | 1..1 | instant | Gibt den technischen Zeitpunkt an, zu dem dieser Provenance-Eintrag im FHIR Data Service erstellt und persistiert wurde. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Beschreibt die Art der Aktivität, die zu der Änderung im FHIR Data Service der ePA geführt hat. Beispiel CREATE | UPDATE Binding: EPA Activity Provenance Type ValueSet (required) |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Gibt den verantwortlichen Leistungserbringer, die Leistungserbringerinstitution oder das System an, das die Änderung im FHIR Data Service der ePA durchgeführt hat. |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Gibt die Rolle oder Funktion an, die der Agent im Rahmen der dokumentierten Änderung eingenommen hat. Im Kontext dieses Profils ist ausschließlich die Rolle author zulässig, da jede Änderung im FHIR Data Service der ePA fachlich verantwortet sein muss. Binding: EPA Provenance Participant Type ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Reference(TI Practitioner | TI Organization) | Who participated Constraints: ref-1 |
![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierEPAFHIRDataService | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource |
![]() |
Path | Conformance | ValueSet | URI |
Provenance.activity | required | EPAActivityProvenanceTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-activity-provenance-type-vs From this IG | |
Provenance.agent.type | required | EPAProvenanceParticipantTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-provenance-participant-type-vs From this IG |
Id | Grade | Path(s) | Details | Requirements |
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() | |
ref-1 | error | Provenance.target, Provenance.agent.who | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
This structure is derived from Provenance
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Provenance | Dieses Profil beschreibt die Verwendung der FHIR-Resource Provenance zur Dokumentation von Änderungen und Aktivitäten im Rahmen der ePA FHIR Data Services. | |
![]() ![]() ![]() |
S | 1..* | Reference(Resource) | Gibt die Ressource(n) an, die im Rahmen der Änderung innerhalb der ePA erstellt oder aktualisiert wurden. Es muss eine versionierte Referenz (ResourceType/id/_history/vid) verwendet werden. |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() |
S | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() |
S | 0..1 | dateTime | Gibt den Zeitraum oder Zeitpunkt an, in dem die Änderung tatsächlich stattgefunden hat - also wann die Aktion inhaltlich durchgeführt wurde, z.B. das Erfassen oder Bearbeiten von Daten. |
![]() ![]() ![]() |
S | 1..1 | instant | Gibt den technischen Zeitpunkt an, zu dem dieser Provenance-Eintrag im FHIR Data Service erstellt und persistiert wurde. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Beschreibt die Art der Aktivität, die zu der Änderung im FHIR Data Service der ePA geführt hat. Beispiel CREATE | UPDATE Binding: EPA Activity Provenance Type ValueSet (required) |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Gibt den verantwortlichen Leistungserbringer, die Leistungserbringerinstitution oder das System an, das die Änderung im FHIR Data Service der ePA durchgeführt hat. |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Gibt die Rolle oder Funktion an, die der Agent im Rahmen der dokumentierten Änderung eingenommen hat. Im Kontext dieses Profils ist ausschließlich die Rolle author zulässig, da jede Änderung im FHIR Data Service der ePA fachlich verantwortet sein muss. Binding: EPA Provenance Participant Type ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(TI Practitioner | TI Organization) | Who participated |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierEPAFHIRDataService | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Text alternative for the resource |
![]() |
Path | Conformance | ValueSet | URI |
Provenance.activity | required | EPAActivityProvenanceTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-activity-provenance-type-vs From this IG | |
Provenance.agent.type | required | EPAProvenanceParticipantTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-provenance-participant-type-vs From this IG |
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Provenance | Dieses Profil beschreibt die Verwendung der FHIR-Resource Provenance zur Dokumentation von Änderungen und Aktivitäten im Rahmen der ePA FHIR Data Services. Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
SΣC | 1..* | Reference(Resource) | Gibt die Ressource(n) an, die im Rahmen der Änderung innerhalb der ePA erstellt oder aktualisiert wurden. Es muss eine versionierte Referenz (ResourceType/id/_history/vid) verwendet werden. Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
S | 0..1 | dateTime | Gibt den Zeitraum oder Zeitpunkt an, in dem die Änderung tatsächlich stattgefunden hat - also wann die Aktion inhaltlich durchgeführt wurde, z.B. das Erfassen oder Bearbeiten von Daten. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | instant | Gibt den technischen Zeitpunkt an, zu dem dieser Provenance-Eintrag im FHIR Data Service erstellt und persistiert wurde. | ||||
![]() ![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() ![]() |
C | 0..1 | Reference(Location) | Where the activity occurred, if relevant Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reason the activity is occurring Binding: PurposeOfUse (extensible): The reason the activity took place. | |||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Beschreibt die Art der Aktivität, die zu der Änderung im FHIR Data Service der ePA geführt hat. Beispiel CREATE | UPDATE Binding: EPA Activity Provenance Type ValueSet (required) | ||||
![]() ![]() ![]() |
S | 1..* | BackboneElement | Gibt den verantwortlichen Leistungserbringer, die Leistungserbringerinstitution oder das System an, das die Änderung im FHIR Data Service der ePA durchgeführt hat. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Gibt die Rolle oder Funktion an, die der Agent im Rahmen der dokumentierten Änderung eingenommen hat. Im Kontext dieses Profils ist ausschließlich die Rolle author zulässig, da jede Änderung im FHIR Data Service der ePA fachlich verantwortet sein muss. Binding: EPA Provenance Participant Type ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Reference(TI Practitioner | TI Organization) | Who participated Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierEPAFHIRDataService | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..* | BackboneElement | An entity used in this activity | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 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. | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(Resource) | Identity of entity Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() |
0..* | Signature | Signature on target | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Provenance.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
Provenance.target.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
Provenance.reason | extensible | PurposeOfUsehttp://terminology.hl7.org/ValueSet/v3-PurposeOfUse | ||||
Provenance.activity | required | EPAActivityProvenanceTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-activity-provenance-type-vs From this IG | ||||
Provenance.agent.type | required | EPAProvenanceParticipantTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-provenance-participant-type-vs From this IG | ||||
Provenance.agent.role | example | SecurityRoleTypehttp://hl7.org/fhir/ValueSet/security-role-type From the FHIR Standard | ||||
Provenance.agent.who.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
Provenance.entity.role | required | ProvenanceEntityRolehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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() | |
ref-1 | error | Provenance.target, Provenance.location, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity.what | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
This structure is derived from Provenance
Summary
Mandatory: 5 elements
Must-Support: 17 elements
Structures
This structure refers to these other structures:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Provenance | Dieses Profil beschreibt die Verwendung der FHIR-Resource Provenance zur Dokumentation von Änderungen und Aktivitäten im Rahmen der ePA FHIR Data Services. Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url |
![]() ![]() ![]() |
SΣC | 1..* | Reference(Resource) | Gibt die Ressource(n) an, die im Rahmen der Änderung innerhalb der ePA erstellt oder aktualisiert wurden. Es muss eine versionierte Referenz (ResourceType/id/_history/vid) verwendet werden. Constraints: ref-1 |
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() |
S | 0..1 | dateTime | Gibt den Zeitraum oder Zeitpunkt an, in dem die Änderung tatsächlich stattgefunden hat - also wann die Aktion inhaltlich durchgeführt wurde, z.B. das Erfassen oder Bearbeiten von Daten. |
![]() ![]() ![]() |
SΣ | 1..1 | instant | Gibt den technischen Zeitpunkt an, zu dem dieser Provenance-Eintrag im FHIR Data Service erstellt und persistiert wurde. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Beschreibt die Art der Aktivität, die zu der Änderung im FHIR Data Service der ePA geführt hat. Beispiel CREATE | UPDATE Binding: EPA Activity Provenance Type ValueSet (required) |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Gibt den verantwortlichen Leistungserbringer, die Leistungserbringerinstitution oder das System an, das die Änderung im FHIR Data Service der ePA durchgeführt hat. |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Gibt die Rolle oder Funktion an, die der Agent im Rahmen der dokumentierten Änderung eingenommen hat. Im Kontext dieses Profils ist ausschließlich die Rolle author zulässig, da jede Änderung im FHIR Data Service der ePA fachlich verantwortet sein muss. Binding: EPA Provenance Participant Type ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Reference(TI Practitioner | TI Organization) | Who participated Constraints: ref-1 |
![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierEPAFHIRDataService | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource |
![]() |
Path | Conformance | ValueSet | URI |
Provenance.activity | required | EPAActivityProvenanceTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-activity-provenance-type-vs From this IG | |
Provenance.agent.type | required | EPAProvenanceParticipantTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-provenance-participant-type-vs From this IG |
Id | Grade | Path(s) | Details | Requirements |
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() | |
ref-1 | error | Provenance.target, Provenance.agent.who | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
Differential View
This structure is derived from Provenance
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | Provenance | Dieses Profil beschreibt die Verwendung der FHIR-Resource Provenance zur Dokumentation von Änderungen und Aktivitäten im Rahmen der ePA FHIR Data Services. | |
![]() ![]() ![]() |
S | 1..* | Reference(Resource) | Gibt die Ressource(n) an, die im Rahmen der Änderung innerhalb der ePA erstellt oder aktualisiert wurden. Es muss eine versionierte Referenz (ResourceType/id/_history/vid) verwendet werden. |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() |
S | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() |
S | 0..1 | string | Text alternative for the resource |
![]() ![]() ![]() |
S | 0..1 | dateTime | Gibt den Zeitraum oder Zeitpunkt an, in dem die Änderung tatsächlich stattgefunden hat - also wann die Aktion inhaltlich durchgeführt wurde, z.B. das Erfassen oder Bearbeiten von Daten. |
![]() ![]() ![]() |
S | 1..1 | instant | Gibt den technischen Zeitpunkt an, zu dem dieser Provenance-Eintrag im FHIR Data Service erstellt und persistiert wurde. |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Beschreibt die Art der Aktivität, die zu der Änderung im FHIR Data Service der ePA geführt hat. Beispiel CREATE | UPDATE Binding: EPA Activity Provenance Type ValueSet (required) |
![]() ![]() ![]() |
S | 1..* | BackboneElement | Gibt den verantwortlichen Leistungserbringer, die Leistungserbringerinstitution oder das System an, das die Änderung im FHIR Data Service der ePA durchgeführt hat. |
![]() ![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Gibt die Rolle oder Funktion an, die der Agent im Rahmen der dokumentierten Änderung eingenommen hat. Im Kontext dieses Profils ist ausschließlich die Rolle author zulässig, da jede Änderung im FHIR Data Service der ePA fachlich verantwortet sein muss. Binding: EPA Provenance Participant Type ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Representation defined by the system |
![]() ![]() ![]() ![]() |
S | 1..1 | Reference(TI Practitioner | TI Organization) | Who participated |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierEPAFHIRDataService | Logical reference, when literal reference is not known |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | Text alternative for the resource |
![]() |
Path | Conformance | ValueSet | URI |
Provenance.activity | required | EPAActivityProvenanceTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-activity-provenance-type-vs From this IG | |
Provenance.agent.type | required | EPAProvenanceParticipantTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-provenance-participant-type-vs From this IG |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | Provenance | Dieses Profil beschreibt die Verwendung der FHIR-Resource Provenance zur Dokumentation von Änderungen und Aktivitäten im Rahmen der ePA FHIR Data Services. Constraints: dom-2, dom-3, dom-4, dom-5, dom-6 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
SΣC | 1..* | Reference(Resource) | Gibt die Ressource(n) an, die im Rahmen der Änderung innerhalb der ePA erstellt oder aktualisiert wurden. Es muss eine versionierte Referenz (ResourceType/id/_history/vid) verwendet werden. Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
S | 0..1 | dateTime | Gibt den Zeitraum oder Zeitpunkt an, in dem die Änderung tatsächlich stattgefunden hat - also wann die Aktion inhaltlich durchgeführt wurde, z.B. das Erfassen oder Bearbeiten von Daten. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | instant | Gibt den technischen Zeitpunkt an, zu dem dieser Provenance-Eintrag im FHIR Data Service erstellt und persistiert wurde. | ||||
![]() ![]() ![]() |
0..* | uri | Policy or plan the activity was defined by | |||||
![]() ![]() ![]() |
C | 0..1 | Reference(Location) | Where the activity occurred, if relevant Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..* | CodeableConcept | Reason the activity is occurring Binding: PurposeOfUse (extensible): The reason the activity took place. | |||||
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Beschreibt die Art der Aktivität, die zu der Änderung im FHIR Data Service der ePA geführt hat. Beispiel CREATE | UPDATE Binding: EPA Activity Provenance Type ValueSet (required) | ||||
![]() ![]() ![]() |
S | 1..* | BackboneElement | Gibt den verantwortlichen Leistungserbringer, die Leistungserbringerinstitution oder das System an, das die Änderung im FHIR Data Service der ePA durchgeführt hat. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Gibt die Rolle oder Funktion an, die der Agent im Rahmen der dokumentierten Änderung eingenommen hat. Im Kontext dieses Profils ist ausschließlich die Rolle author zulässig, da jede Änderung im FHIR Data Service der ePA fachlich verantwortet sein muss. Binding: EPA Provenance Participant Type ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (example): The role that a provenance agent played with respect to the activity. | |||||
![]() ![]() ![]() ![]() |
SΣC | 1..1 | Reference(TI Practitioner | TI Organization) | Who participated Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | IdentifierKvid10, IdentifierTelematikId, IdentifierEPAFHIRDataService | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson | Patient | Device | Organization) | Who the agent is representing Constraints: ref-1 | ||||
![]() ![]() ![]() |
0..* | BackboneElement | An entity used in this activity | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 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. | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(Resource) | Identity of entity Constraints: ref-1 | ||||
![]() ![]() ![]() ![]() |
0..* | See agent (Provenance) | Entity is attributed to this agent | |||||
![]() ![]() ![]() |
0..* | Signature | Signature on target | |||||
![]() |
Path | Conformance | ValueSet | URI | |||
Provenance.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
Provenance.target.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
Provenance.reason | extensible | PurposeOfUsehttp://terminology.hl7.org/ValueSet/v3-PurposeOfUse | ||||
Provenance.activity | required | EPAActivityProvenanceTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-activity-provenance-type-vs From this IG | ||||
Provenance.agent.type | required | EPAProvenanceParticipantTypeVShttps://gematik.de/fhir/epa/ValueSet/epa-provenance-participant-type-vs From this IG | ||||
Provenance.agent.role | example | SecurityRoleTypehttp://hl7.org/fhir/ValueSet/security-role-type From the FHIR Standard | ||||
Provenance.agent.who.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-types From the FHIR Standard | ||||
Provenance.entity.role | required | ProvenanceEntityRolehttp://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1 From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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() | |
ref-1 | error | Provenance.target, Provenance.location, Provenance.agent.who, Provenance.agent.onBehalfOf, Provenance.entity.what | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
This structure is derived from Provenance
Summary
Mandatory: 5 elements
Must-Support: 17 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron