I’m using Vanya (version 0.8.5) with Google FHIR Store. It mostly works fine, but when I try to access Binary resources, I receive this error:
One or more errors occurred. (Operation was unsuccessful because of a client error (BadRequest). OperationOutcome: Overall result: FAILURE (1 errors and 0 warnings) [ERROR] invalid_query(further diagnostics: _summary argument is not supported yet: invalid argument) .)
Some searching suggests that `_summary’ is in fact not supported by Google. Is there an alternative for viewing binary resources?
Apologies for the late reply - I’ve been away for a few days.
For the Binary resource Vanya automatically adds the “_summary” parameter unless you’re writing your own query. This means when you click on the “Binary” resource in the resource type list it will always try to run a _summary query, which is failing on Google as it’s not supported.
Vanya does this to keep the page load size down, as all Binary resources almost be definition will have embedded binary data.
You can run a Binary query directly yourself on the “FHIR Search Query” page of Vanya. This query is what you write only, with no added “_summary” parameter.
/Binary
The JSON tab will then show any raw binary data in the Binary.data element.