DataStandardsWales-Provenance

Overview

The Provenance resource tracks information about the activity that created, revised, deleted, or signed a version of a resource, describing the entities and agents involved.

The DataStandardsWales-Provenance profile is derived from the HL7 R4 Provenance. It defines additional rules for use within health and care organisations in Wales.

A direct link to the Data Standards Wales asset can be accessed here - Data Standards Wales Provenance

Formal Views of Profile Content

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionDataStandardsWalesDemographicsAsRecordedI0..1Extension(Complex)
modifierExtension?! I0..*Extension
targetS Σ1..*Reference(Resource)
occurredPeriodPeriod
occurredDateTimedateTime
recordedS Σ1..1instant
policy0..*uri
location0..1Reference(DataStandardsWalesLocation)
reason0..*CodeableConceptBinding
activity0..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
typeΣ0..1CodeableConceptBinding
role0..*CodeableConcept
whoΣ1..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization | DataStandardsWalesRelatedPerson)
onBehalfOf0..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization | DataStandardsWalesRelatedPerson)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
roleΣ1..1codeBinding
whatΣ1..1Reference(Resource)
agent0..*see (agent)
id0..1string
extensionI0..*Extension
typeΣ1..*CodingBinding
whenΣ1..1instant
whoΣ1..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesRelatedPerson | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization)
onBehalfOfΣ0..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesRelatedPerson | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization)
targetFormat0..1codeBinding
sigFormat0..1codeBinding
data0..1base64Binary
idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionDataStandardsWalesDemographicsAsRecordedI0..1Extension(Complex)
modifierExtension?! I0..*Extension
targetS Σ1..*Reference(Resource)
occurredPeriodPeriod
occurredDateTimedateTime
recordedS Σ1..1instant
policy0..*uri
location0..1Reference(DataStandardsWalesLocation)
reason0..*CodeableConceptBinding
activity0..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
typeΣ0..1CodeableConceptBinding
role0..*CodeableConcept
whoΣ1..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization | DataStandardsWalesRelatedPerson)
onBehalfOf0..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization | DataStandardsWalesRelatedPerson)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
roleΣ1..1codeBinding
whatΣ1..1Reference(Resource)
agent0..*see (agent)
id0..1string
extensionI0..*Extension
typeΣ1..*CodingBinding
whenΣ1..1instant
whoΣ1..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesRelatedPerson | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization)
onBehalfOfΣ0..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesRelatedPerson | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization)
targetFormat0..1codeBinding
sigFormat0..1codeBinding
data0..1base64Binary
idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionDataStandardsWalesDemographicsAsRecordedI0..1Extension(Complex)
modifierExtension?! I0..*Extension
targetS Σ1..*Reference(Resource)
occurredPeriodPeriod
occurredDateTimedateTime
recordedS Σ1..1instant
policy0..*uri
location0..1Reference(DataStandardsWalesLocation)
reason0..*CodeableConceptBinding
activity0..1CodeableConceptBinding
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
typeΣ0..1CodeableConceptBinding
role0..*CodeableConcept
whoΣ1..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization | DataStandardsWalesRelatedPerson)
onBehalfOf0..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization | DataStandardsWalesRelatedPerson)
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
roleΣ1..1codeBinding
whatΣ1..1Reference(Resource)
agent0..*see (agent)
id0..1string
extensionI0..*Extension
typeΣ1..*CodingBinding
whenΣ1..1instant
whoΣ1..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesRelatedPerson | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization)
onBehalfOfΣ0..1Reference(DataStandardsWalesPractitioner | DataStandardsWalesPractitionerRole | DataStandardsWalesRelatedPerson | DataStandardsWalesPatient | DataStandardsWalesDevice | DataStandardsWalesOrganization)
targetFormat0..1codeBinding
sigFormat0..1codeBinding
data0..1base64Binary

Mandatory and Must Support Data Elements

Refer to the Mandatory and Must Support page for guidance on how these elements should be interpreted.

Each Provenance must have:

  • One or more targets
  • A recorded timestamp
  • One or more agents

Each Provenance must support:

  • One or more entities if relevant

Implementation Guidance

The Provenance.agent field SHOULD include all agents involved in the activity. Typical agents include

  • Devices such as software systems or components
  • Clinical devices
  • Human users

The Provenance.entity field MAY be used to indicate one or more entities in this activity, and may be used to refer, for example, to an HL7v2 message used to update demographic information within a Patient resource.

The Provenance.recorded field SHALL be include a timestamp to indicate when the activity was recorded/updated.

The Provenance.target field SHALL be populated to reference the FHIR resource(s) that were generated or updated 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.

Please see the Provenance page within the Guidance section for further information.

Extensions

Some use cases require the original demographic data at time of recording to stored directly against the clinical data e.g. for diagnostic reports in Wales. This additional provenace can be captured using the DataStandardsWales-DemographicsAsRecorded extension.