hl7-fhirhapi-fhir

JSON for FHIR Patient LIST


I created an FHIR server using the HAPI FHIR libraries.

I can now send JSON FHIR objects for a single Patient Resource.

Ex.

baseurl/patient/123456

Now I have to send multiple Patient Resources.

Ex

baseurl/patient/clinic_id
  1. Can I Use the FHIR bundle resource or a simple JSON array of Patient Resources?

  2. Does HAPI FHIR supports sending multiple Patient Resources as a JSON


Solution

  • HAPI would support using Bundle. A simple JSON array would not be FHIR conformant.