2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

6.5.6 Resource Provenance - Detailed Descriptions

Detailed Descriptions for the elements in the Provenance resource.

Provenance
Definition

Provenance information that describes the activity that led to the creation of a set of resources. This information can be used to help determine their reliability or trace where the information in them came from. The focus of the provenance resource is record keeping, audit and traceability, and not explicit statements of clinical significance.

Control1..1
Alternate NamesHistory; Event; Activity
Comments

Some parties may be duplicated between the target resource and its provenance. For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.

Provenance.target
Definition

The Reference(s) that were generated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.

Control1..*
TypeReference(Any)
Comments

Target references are usually version specific, but may not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource may not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.

Provenance.period
Definition

The period during which the activity occurred.

Control0..1
TypePeriod
Comments

The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.

Provenance.recorded
Definition

The instant of time at which the activity was recorded.

Control1..1
Typeinstant
Comments

This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource.

Provenance.reason
Definition

The reason that the activity was taking place.

Control0..1
TypeCodeableConcept
Provenance.location
Definition

Where the activity occurred, if relevant.

Control0..1
TypeReference(Location)
Provenance.policy
Definition

Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.

Control0..*
Typeuri
Provenance.agent
Definition

An agent takes a role in an activity such that the agent can be assigned some degree of responsibility for the activity taking place. An agent can be a person, a piece of software, an inanimate object, an organization, or other entities that may be ascribed responsibility.

Control0..*
Comments

Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.

Provenance.agent.role
Definition

The role that the participant played.

Control1..1
BindingProvenanceAgentRole: Preferred: See http://hl7.org/fhir/vs/provenance-agent-role (The role that a provenance agent played)
TypeCoding
Provenance.agent.type
Definition

The type of the participant.

Control1..1
BindingProvenanceAgentType: Preferred: See http://hl7.org/fhir/vs/provenance-agent-type (The type of a provenance agent)
TypeCoding
Comments

If the type is "Resource" then the resource itself was the participant. If the type is a type of resource, then the entity identified by the resource is the participant.

Provenance.agent.reference
Definition

Identity of participant. May be a logical or physical uri and maybe absolute or relative.

Control1..1
Typeuri
Comments

identity may be a reference to a resource or to something else, depending on the type.

Provenance.agent.display
Definition

Human-readable description of the participant.

Control0..1
Typestring
Provenance.entity
Definition

An entity used in this activity.

Control0..*
Provenance.entity.role
Definition

How the entity was used during the activity.

Control1..1
BindingProvenanceEntityRole: Required: http://hl7.org/fhir/provenance-entity-role (How an entity was used in an activity)
Typecode
Provenance.entity.type
Definition

The type of the entity. If the entity is a resource, then this is a resource type.

Control1..1
BindingProvenanceEntityType: Preferred: See http://hl7.org/fhir/vs/resource-types (The type of an entity used in an activity)
TypeCoding
Comments

If the type is "resource" then the resource itself was the participant. If the type is a type of resource, then the entity identified by the resource is the participant.

Provenance.entity.reference
Definition

Identity of participant. May be a logical or physical uri and maybe absolute or relative.

Control1..1
Typeuri
Comments

identity may be a reference to a resource or to something else, depending on the type.

Provenance.entity.display
Definition

Human-readable description of the entity.

Control0..1
Typestring
Provenance.entity.agent
Definition

The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.

Control0..1
TypeSee Provenance.agent
Provenance.integritySignature
Definition

A digital signature on the target Reference(s). The signature should match a Provenance.agent.reference in the provenance resource. The signature is only added to support checking cryptographic integrity of the resource, and not to represent workflow and clinical aspects of the signing process, or to support non-repudiation.

Control0..1
Typestring
Comments

Whether the content is XML or JSON, the representation is as a base64 of the XML signature of the resource.