Binary Access Read Operation ($binary-access-read)
The Binary Access Read Operation can be used to read back binary content from Attachment elements in a similar way to the write operation.
Example of read operation:
GET http://localhost:7001/oracle-fhir-server/fhir/DocumentReference/499952/$binary-access-read?path=DocumentReference.content.attachment
Note:
The $binary-access-read operation works on any resource that contains base64 data.Example:
/DocumentReference/[id]/$binary-access-read?path=DocumentReference.content.attachment
GET /Binary/[id]/$binary-access-read?path=Binary.data
GET /Media/[id]/$binary-access-read?path=Media.content
Note:
If the data is stored as blob, it is required to switch your response type to "blob" in the client call.
Parent topic: Binary Access Operations