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

NPE with order-select containing ServiceRequest #291

Open
nradov opened this issue Oct 13, 2023 · 0 comments
Open

NPE with order-select containing ServiceRequest #291

nradov opened this issue Oct 13, 2023 · 0 comments

Comments

@nradov
Copy link

nradov commented Oct 13, 2023

When we send an order-select hook request containing a ServiceRequest resource in the draftOrders field we receive back a card with "summary": "Unable to (pre)fetch any supported bundles.".

This code appears to cause a NullPointerException when queryResponseBundle is null.
https://github.com/HL7-DaVinci/CRD/blob/master/server/src/main/java/org/hl7/davinci/endpoint/components/QueryBatchRequest.java#L95

Besides the NPE, according to @lmckenzi: "the RI should not be returning a card with a summary like that. Cards should always contain information useful to the end user. If something goes wrong, that's for the log process."
https://chat.fhir.org/#narrow/stream/180803-Da-Vinci-CRD/topic/NPE.20in.20CRD.20RI.20Server/near/391302119

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

1 participant