Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch request may fail because of return=minimal header #50

Open
dogukan10 opened this issue Apr 28, 2023 · 0 comments
Open

Batch request may fail because of return=minimal header #50

dogukan10 opened this issue Apr 28, 2023 · 0 comments
Assignees

Comments

@dogukan10
Copy link
Contributor

Some fhir repositories such as Firely Server does not support return=minimal header for batch requests.

In this case, we get an java.lang.ClassCastException in parseEntryAsResponse function: https://github.com/srdc/onfhir/blob/master/onfhir-common/src/main/scala/io/onfhir/api/client/FHIRBundle.scala#L212
since the response includes an OperationOutcome, indicating that return=minimal header is not supported on interaction the system_batch, which has no response field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants