Stream: implementers
Topic: Messaging in FHIR
Wadii TAHRI (Apr 30 2020 at 05:50):
Hello,
I'm new to FHIR. I worked on standard REST APIs. I have some questions on how FHIR implements REST APIs.
As for messaging APIs design, I've seen that there a "bundle" and "MessageHeader" are the standard here.
1- I suppose that we include the MessageHeader in the same API JSON or YAML document with the "Bundle" structure. Do you confirm ?
I've noticed this sentence in https://www.hl7.org/fhir/messageheader.html :
"The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle."
JSON spec
-MessageHeader
-Bundle
-References
2- Where and how references (subjects to REST actions) are included ? Is it in the Bundle or in the MessageHeader ?
Best regards,
Wadii TAHRI
René Spronk (Apr 30 2020 at 09:13):
You may wish to read http://build.fhir.org/messaging.html and http://build.fhir.org/http.html#transaction ..
Wadii TAHRI (Apr 30 2020 at 09:20):
René Spronk said:
You may wish to read http://build.fhir.org/messaging.html and http://build.fhir.org/http.html#transaction ..
Thank you René for your answer!
Yes Indeed, I've been reading http://build.fhir.org/messaging.html but had questions since some tips are not too clear and I'm new on the standard.
Lloyd McKenzie (Apr 30 2020 at 14:13):
The messaging page is pretty clear that MessageHeader appears as the first entry in the Bundle. There's also an example message hanging off the MessageHeader resource.
Wadii TAHRI (Apr 30 2020 at 17:07):
Lloyd McKenzie said:
The messaging page is pretty clear that MessageHeader appears as the first entry in the Bundle. There's also an example message hanging off the MessageHeader resource.
Thanks Lloyd!
Last updated: Apr 12 2022 at 19:14 UTC