Example Provenance
Example Provenance resource, including references to related Device and DocumentReference resources. The DocumentReference resource can used to link to the message that triggered the insert or update to the record e.g. an HL7v2 ADT^A31 demographic update message.
Where Device resources are not available in within the data store, logical references can be used (see this Provanance example)
- Overview
- Table
- XML
- JSON
- Narrative
Provenance |
id : Example-DataStandardsWales-Provenance-Amend |
meta |
profile : https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Provenance |
target |
reference : Patient/4580d59e/_history/2 |
recorded : 2024-08-08T08:06:07.046012+00:00 |
activity |
coding |
system : http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle |
code : amend |
display : Amend (Update) Record Lifecycle Event |
agent |
type |
coding |
system : http://terminology.hl7.org/CodeSystem/provenance-participant-type |
code : composer |
display : Composer |
who |
reference : Device/Example-DataStandardsWales-Device-WPAS |
display : ABUHB WPAS |
agent |
type |
coding |
system : http://terminology.hl7.org/CodeSystem/provenance-participant-type |
code : assembler |
display : Assembler |
who |
reference : Device/Example-DataStandardsWales-Device-CDRcomponent |
display : HL7 to FHIR conversion engine (CDR) |
entity |
role : source |
what |
reference : DocumentReference/Example-DataStandardsWales-DocumentReference-Provenance |
Provenance.id[0] | Example-DataStandardsWales-Provenance-Amend |
Provenance.meta[0].profile[0] | https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Provenance |
Provenance.target[0].reference[0] | Patient/4580d59e/_history/2 |
Provenance.recorded[0] | 2024-08-08T08:06:07.046012+00:00 |
Provenance.activity[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/iso-21089-lifecycle |
Provenance.activity[0].coding[0].code[0] | amend |
Provenance.activity[0].coding[0].display[0] | Amend (Update) Record Lifecycle Event |
Provenance.agent[0].type[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/provenance-participant-type |
Provenance.agent[0].type[0].coding[0].code[0] | composer |
Provenance.agent[0].type[0].coding[0].display[0] | Composer |
Provenance.agent[0].who[0].reference[0] | Device/Example-DataStandardsWales-Device-WPAS |
Provenance.agent[0].who[0].display[0] | ABUHB WPAS |
Provenance.agent[1].type[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/provenance-participant-type |
Provenance.agent[1].type[0].coding[0].code[0] | assembler |
Provenance.agent[1].type[0].coding[0].display[0] | Assembler |
Provenance.agent[1].who[0].reference[0] | Device/Example-DataStandardsWales-Device-CDRcomponent |
Provenance.agent[1].who[0].display[0] | HL7 to FHIR conversion engine (CDR) |
Provenance.entity[0].role[0] | source |
Provenance.entity[0].what[0].reference[0] | DocumentReference/Example-DataStandardsWales-DocumentReference-Provenance |
</meta>
</target>
</coding>
</activity>
</coding>
</type>
</who>
</agent>
</coding>
</type>
</who>
</agent>
</what>
</entity>
</Provenance>
{
},
],
{
}
]
},
{
{
}
]
},
}
},
{
{
}
]
},
}
}
],
{
}
}
]
}