This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
500 Internal Server Error if a Diagnostic Report does not contain at least one Observation #574
Labels
bug
Something isn't working
path to test case
fhir-bridge/tests/robot/DIAGNOSTIC/01_create.robot
Using test data from:
fhir-bridge/src/test/resources/DiagnosticReport/create-diagnosticReport-without-observation.json
Description
It is mandatory to have at least one reference to another Observation in a diagnostic report, hence an error 422 needs to be thrown if a Diagnostic Report does not contain at least one Observation. See screenshot from the simplifier profile.
by test case name (wildcards possible)
002 Create Diagnostic Report w/o Observation
robot command to execute related test case(s) in your terminal/console
robot -L TRACE -d results -i diagnostic-reportANDinvalid robot
Actual Result
500
Expected Result
422
The text was updated successfully, but these errors were encountered: