FHIR Chat · pulling data from one server and pushing into another · implementers

Stream: implementers

Topic: pulling data from one server and pushing into another


view this post on Zulip 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?

view this post on Zulip 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

view this post on Zulip Grahame Grieve (Oct 07 2019 at 12:06):

I’m not sure how import times are important?

view this post on Zulip Georg Fette (Oct 07 2019 at 12:06):

I am mainly interested in the data itself and not the meta data or history data

view this post on Zulip 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?

view this post on Zulip 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

view this post on Zulip Grahame Grieve (Oct 07 2019 at 12:41):

You have to track them all and update the references in subsequent data

view this post on Zulip 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