Stream: implementers
Topic: Resource merged
John Moehrke (May 21 2019 at 16:35):
Is there a common way for historic records as Resources to be indicated as merged? For example Observation1 and Observation2 have been determined to be duplicates and thus one stays active, the other Dup, with links for record keeping? I don't see a Observation.status to use. I guess Provenance could link and record facts.
Jose Costa Teixeira (May 21 2019 at 19:39):
I don't yet grasp Provenance well, but wouldn't this be a job for Provenance.entity.role ? Would entity.what not link to 2 resources in that case?
Jose Costa Teixeira (May 21 2019 at 19:41):
An interesting case would be a resource (eg observation) that is altered after merging a previous version of itself with another resource.
Jose Costa Teixeira (May 21 2019 at 19:42):
Not pushing for that case - I think 'normal' merging is a valid use case, I just wanted to explore the boundaries
John Moehrke (May 22 2019 at 14:21):
Provenance could certainly do it.. but I think relying on Provenance might be too clunky. For example if I am querying a service that has combined results from many organizations, it will likely have many instances of an AllergyIntollerance that the patient reported. Being able to combine duplicates and return only ONE would be desirable, with Provenance around to enable workflows where someone questions if the merge was proper. I use AllergyIntollerance, but the use-case appears with ANY data that is combined from multiple sources (reconcilliation workflow. Automated and/or manual). Note that IHE does use Provenance this way in three different profiles -- QEDm, mXDE, and RECON.. So I am looking for MORE than what Provenance can do... Even just being able to mark the status element as 'duplicate', would make it disapear from a query on 'active'.
Brian Postlethwaite (Jun 25 2019 at 09:51):
Linkage resource?
John Hrovat (Jun 26 2019 at 01:48):
I would agree with Brain that Linkage resource would be a better suited resource for maintaining a list of related resources. If the FHIR server supports resource versioning, then the Linkage instance could provide some limited historical recording on merge activities, but I would argue that the Provenance resource would provide better context over time as there would exist multiple Provenance instances created for merge activities with each referencing the same Linkage instance.
Last updated: Apr 12 2022 at 19:14 UTC