We have a scenario where we are evaluating the use of FHIR to transfer information on planned encounters from a EHR application (source application) to an internet portal application (destination application). The event that triggers this message transfer is that an encounter is planned, or that an planned encounter is canceled.
Quoting https://www.hl7.org/fhir/messaging.html:
In FHIR messaging, a "request message" is sent from a source application to a destination application when an event happens.
Some questions/issues:
- First of all: Is the use of FHIR messaging suitable for this scenario?
- If I understand the FHIR website correctly, the source application should send a "Bundle" to the destination application. Correct?
- The destination application needs various information on the scheduled encounter, such as the location and the referral request. Am I correct in assuming that these "extra" information elements should also be in the bundle, and that the "main" element should somehow reference these elements ?
- How should the main element reference the extra elements? Is there an XML example that shows "intra-bundle" references?
- If I read the spec correctly, the destination application is supposed to send a response message back. What should this response bundle contain to indicate that the message is received OK?
Update
Clarification:
- The source application does not have a FHIR REST endpoint.
- We have decided to push the information from the source application to the destination application (not pull)