This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example of using Provenance for a Patient Merge.
{
"resourceType" : "Provenance",
"id" : "ex-patient-merged",
"target" : [{
"reference" : "Patient/example-merge-survivor"
},
{
"reference" : "Patient/example-merge-subsumed"
},
{
"reference" : "Observation/body-height-merged"
}],
"recorded" : "2024-06-01T19:00:00Z",
"authorization" : [null],
"why" : "Merge Patient Records that were matched by SSN and confirmed by review, with the data linked to the non-surviving patient is also fixed up to point at the surviving patient.",
"activity" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code" : "MDATA"
}]
},
"patient" : {
"reference" : "Patient/example-merge-survivor"
},
"agent" : [{
"type" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"code" : "author"
}]
},
"who" : {
"reference" : "http://example.org/Practitioner/ex-practitioner"
}
}],
"entity" : [{
"role" : "removal",
"what" : {
"reference" : "Patient/example-merge-subsumed",
"identifier" : {
"system" : "http://example.org/mrn",
"value" : "MRN-002"
},
"display" : "Removed Duplicate Patient Record"
}
},
{
"role" : "revision",
"what" : {
"reference" : "Patient/example-merge-survivor",
"identifier" : {
"system" : "http://example.org/mrn",
"value" : "MRN-001"
},
"display" : "Surviving Patient Record after Merge"
}
},
{
"role" : "revision",
"what" : {
"reference" : "Observation/body-height-merged",
"display" : "Body Height Observation from previous Patient is fixed to point at the surviving Patient after Merge"
}
}]
}
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.