FHIR Chat · Returning PDF directly from a FHIR endpoint · implementers

Stream: implementers

Topic: Returning PDF directly from a FHIR endpoint


view this post on Zulip Donn Relacion (Feb 08 2022 at 10:21):

We are using FHIR for Invoices and we want to use the FHIR service to return PDF representation of the Invoice. Is it ok to directly return the PDF using _format parameter like Invoice/<invoicenumber>?_format=application/pdf? The other option is to use a custom operation, but when we go with that, don't you need to return a Binary resource? Pdf's are not stored but are generated on-the-fly by another service.

view this post on Zulip Grahame Grieve (Feb 08 2022 at 10:26):

this is pretty much how we anticipate that it would be done, and we've done this for other content types elsewhere.


Last updated: Apr 12 2022 at 19:14 UTC