Stream: implementers
Topic: pulling data from one server and pushing into another
Georg Fette (Oct 07 2019 at 11:51):
I have the need to pull patient data from one FHIR server and push that data into another FHIR server. With this task I have some questions:
- With which pull mechanism do I get the data from the source server ? With a FHIR-REST-search-request I could request the resource of one single patient. Or I could design a search request that pulls all Observations of that patient. But how could I get a deeper nested resource network from the server with all resources somehow belonging to the single patient?
- How can I push the pulled data into the target server with as few effort as possible ? The data could possibly contain referential dependencies so that I perhaps have to order the resources to be stored, so that the validator does not complain about missing reference targets. But how to cope with cyclic dependencies ? What happens with the metadata of the transfered data ? The import time will surely differ. Can it be ensured that the IDs of all resources stay the same after the transfer?
Grahame Grieve (Oct 07 2019 at 12:05):
Pull mechanisms - what subset are you choosing? Do you know about the problems with information dripping out of scope? You should start with the _history interaction first
Grahame Grieve (Oct 07 2019 at 12:06):
I’m not sure how import times are important?
Georg Fette (Oct 07 2019 at 12:06):
I am mainly interested in the data itself and not the meta data or history data
Grahame Grieve (Oct 07 2019 at 12:06):
Ids is hard. Can you be sure you won’t get clashing ids with information sources from elsewhere?
Georg Fette (Oct 07 2019 at 12:07):
hm, I would also be content with new IDs, but they should be consistent within the network of resources belonging to my patient
Grahame Grieve (Oct 07 2019 at 12:41):
You have to track them all and update the references in subsequent data
Yunwei Wang (Oct 07 2019 at 13:49):
@Georg Fette Bulk data export/import may fit your need. https://build.fhir.org/ig/HL7/bulk-data/
Last updated: Apr 12 2022 at 19:14 UTC