Skip to content

NPE with order-select containing ServiceRequest #291

@nradov

Description

@nradov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions