Stream: implementers
Topic: FHIR Binary Resource
Vish (Oct 27 2021 at 10:20):
Document Reference:
Do we require to send stylesheet in base64 format along with xml in base64 format in data element of Binary Resource? cardinality of data element is 0..1. Is there expectation from smart apps (Patient and Provider facing) to provide stylesheets along with xml document?
any suggestions if we want to send both xml as well as stylesheet?
Lloyd McKenzie (Oct 27 2021 at 13:25):
FHIR isn't generally interested in stylesheets unless you're sharing FHIR documents, and even then it's optional. SMART apps wouldn't generally make use of stylesheets. If you do need to send a stylesheet - or any other form of non-FHIR XML - you'll need to base64 encode it if you want to wrap it in a Bundle. If you're just accessing binary data directly from an endpoint, no need to base64 encode.
Vish (Oct 27 2021 at 13:40):
Thank You @Lloyd McKenzie .
John Moehrke (Oct 27 2021 at 14:55):
note that this is the recommendation we came to in IHE for non-patient files -- https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_NPFS.pdf
We did use Binary... but we also used DocumetReference to enable discovery of these files
Last updated: Apr 12 2022 at 19:14 UTC