Detached provenance covers state for messages, such as whether a message has been read/acknowledged (activity=read), time limited validity on notifications (using “period”) etc.
It is also used for specifying legal patient context.
The official URL for this profile is:
http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-detached-provenance
This profile builds on Provenance.
This profile was published on Thu May 16 12:32:10 UTC 2019 as a draft by ehealth.sundhed.dk.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
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()) |