FHIR Document Reference Endpoint

Dear @adunsulag ,

I have saved a Jpeg file under patient documents, And i can able to take datas through FHIR using the Document Reference Endpoint. I have attached the response below for your reference.

By using the above url response how can i able to view the image or the PDF i have attached in the open EMR.

Best Regards,
Aravindh RN

@brady.miller @stephenwaite

So the URL to view the image is in that content.attachment.url property. If you do a FHIR api call to that url it will return you the binary contents of the image.

Or are you asking how to view the image inside the OpenEMR gui interface?