Search code examples
resthl7-fhir

FHIR RESTful Adding multiple patients resources in a single call


As the title says really. I've been POSTing patient resources to FHIR via multiple calls and having the patient passed as xml.

I have hundreds of thousands of patients to add (as well as tons of other data). I'm just wondering if there is a more efficient way to post this?


Solution

  • Have you tried a Bundle

    https://www.hl7.org/FHIR/bundle.html

    Creating/updating/deleting a set of resources on a server as a single operation (including doing so as a single atomic transaction) (see Transactions)