Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.
In scope of the eHealth Infrastructure, Provenance resources are used for a number of different purposes. Some of these purposes are purely internal to the infrastructure, whereas others are of relevance to clients of the infrastructure.
The details of different usages of Provenance resources relevant to clients are described together with the resources and operations they are supporting. In overview this is:
When a client submits measurements in the form of Observation, QuestionnaireResponse and/or Media, the client can submit one or more of these as reused resources, provided that reuse requirements have been met. For each resource where data is reused, the client must construct a Provenance that:
Each such Provenance must be submitted along with the resources containing reused data.
See eHealth-observation for further details.
Provenance resources are created internally by the eHealth infrastructure to link correlated resources which are submitted together in one bundle:
See eHealth-observation for further details.
Provenance resources are submitted by a client for creation when an eHealth-episodeofcare is created using the create-episode-of-care
n operation.
Some of these provenance resources hold information about which legal frame the EpisodeOfCare is created under. This could be for instance the health law (in Danish: “Sundhedsloven”) or other relevant legal frameworks.
Other of these provenance resource define which data privacy regulations are applicable to data concerning patient, practitioners, and suppliers under the episode of care.
See create-episode-of-care for further details.
State related to Message resources, such as whether a message has been read or not, or time limited validity on notifications, is also handled through the use of Provenance resources.
See eHealth-message for further details.
The official URL for this profile is:
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance
This profile builds on Provenance.
This profile was published on Wed May 29 18:05:58 UTC 2019 as a draft by ehealth.sundhed.dk.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Provenance
This structure is derived from Provenance
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Provenance | 0..* | |||
policy | 1..* | uri | Binding: Policies for provenances (required) | |
Documentation for this format |
This structure is derived from Provenance
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Provenance | I | 0..* | Who, What, When for a set of resources | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
target | Σ | 1..* | Reference(Resource) | Target Reference(s) (usually version specific) |
period | 0..1 | Period | When the activity occurred | |
recorded | Σ | 1..1 | instant | When the activity was recorded / updated |
policy | 1..* | uri | Policy or plan the activity was defined by Binding: Policies for provenances (required) | |
location | 0..1 | Reference(Location) | Where the activity occurred, if relevant | |
reason | 0..* | Coding | Reason the activity is occurring Binding: PurposeOfUse (extensible) | |
activity | 0..1 | Coding | Activity that occurred Binding: ProvenanceActivityType (extensible) | |
agent | I | 1..* | BackboneElement | Actor involved |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
role | Σ | 0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (extensible) |
who[x] | Σ | 1..1 | uri, Reference(eHealth Practitioner | eHealth RelatedPerson | eHealth Patient | eHealth Device | eHealth Organization) | Who participated |
onBehalfOf[x] | 0..1 | uri, Reference(eHealth Practitioner | eHealth RelatedPerson | eHealth Patient | eHealth Device | eHealth Organization) | Who the agent is representing | |
relatedAgentType | 0..1 | CodeableConcept | Type of relationship between agents Binding: RoleLinkType (example) | |
entity | I | 0..* | BackboneElement | An entity used in this activity |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
role | Σ | 1..1 | code | derivation | revision | quotation | source | removal Binding: ProvenanceEntityRole (required) |
what[x] | Σ | 1..1 | uri, Reference(Resource), Identifier | Identity of entity |
agent | 0..* | Unknown reference to #Provenance.agent Entity is attributed to this agent | ||
signature | 0..* | Signature | Signature on target | |
Documentation for this format |
This structure is derived from Provenance
Differential View
This structure is derived from Provenance
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Provenance | 0..* | |||
policy | 1..* | uri | Binding: Policies for provenances (required) | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Provenance | I | 0..* | Who, What, When for a set of resources | |
id | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Common Languages (extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
target | Σ | 1..* | Reference(Resource) | Target Reference(s) (usually version specific) |
period | 0..1 | Period | When the activity occurred | |
recorded | Σ | 1..1 | instant | When the activity was recorded / updated |
policy | 1..* | uri | Policy or plan the activity was defined by Binding: Policies for provenances (required) | |
location | 0..1 | Reference(Location) | Where the activity occurred, if relevant | |
reason | 0..* | Coding | Reason the activity is occurring Binding: PurposeOfUse (extensible) | |
activity | 0..1 | Coding | Activity that occurred Binding: ProvenanceActivityType (extensible) | |
agent | I | 1..* | BackboneElement | Actor involved |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
role | Σ | 0..* | CodeableConcept | What the agents role was Binding: SecurityRoleType (extensible) |
who[x] | Σ | 1..1 | uri, Reference(eHealth Practitioner | eHealth RelatedPerson | eHealth Patient | eHealth Device | eHealth Organization) | Who participated |
onBehalfOf[x] | 0..1 | uri, Reference(eHealth Practitioner | eHealth RelatedPerson | eHealth Patient | eHealth Device | eHealth Organization) | Who the agent is representing | |
relatedAgentType | 0..1 | CodeableConcept | Type of relationship between agents Binding: RoleLinkType (example) | |
entity | I | 0..* | BackboneElement | An entity used in this activity |
id | 0..1 | string | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
role | Σ | 1..1 | code | derivation | revision | quotation | source | removal Binding: ProvenanceEntityRole (required) |
what[x] | Σ | 1..1 | uri, Reference(Resource), Identifier | Identity of entity |
agent | 0..* | Unknown reference to #Provenance.agent Entity is attributed to this agent | ||
signature | 0..* | Signature | Signature on target | |
Documentation for this format |
Path | Name | Conformance | ValueSet |
Provenance.language | Common Languages | extensible | Common Languages |
Provenance.policy | Policies for provenances | required | Policies for provenances |
Provenance.reason | PurposeOfUse | extensible | PurposeOfUse |
Provenance.activity | ProvenanceActivityType | extensible | ProvenanceActivityType |
Provenance.agent.role | SecurityRoleType | extensible | SecurityRoleType (missing link) |
Provenance.agent.relatedAgentType | v3 Code System RoleLinkType | example | v3 Code System RoleLinkType |
Provenance.entity.role | ProvenanceEntityRole | required | ProvenanceEntityRole |
Id | Path | Details | Requirements |
dom-2 | Provenance | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-1 | Provenance | If the resource is contained in another resource, it SHALL NOT contain any narrative : contained.text.empty() | |
dom-4 | 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-3 | Provenance | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource : contained.where(('#'+id in %resource.descendants().reference).not()).empty() | |
ele-1 | Provenance.agent | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) | |
ele-1 | Provenance.entity | All FHIR elements must have a @value or children : hasValue() | (children().count() > id.count()) |