You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Results in
{"resourceType":"OperationOutcome","id":"c0-a8-56-16-2cba4727-e321-431b-95da-c09785ea7583","issue":[{"severity":"error","code":"invalid","diagnostics":"Resource Type outside of the Patient Compartment in Export"}]}
This is a subtle issue in the processing of the Parameters object where the _type is not specified, and we stop the processing.
Expected behavior
Pickup the Resources in the compartment only.
Additional context
n/a
The text was updated successfully, but these errors were encountered:
- Fix Patient Export without Type results in a failed export #2012
- we now check if it's not set, and add the default resource types from
the compartment
- Add test scripts
- Fix context handling in GroupChunkReader
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
Describe the bug
Patient Export without Type results in a failed export
To Reproduce
Steps to reproduce the behavior:
curl -k -u "fhiruser:${PASS}" -H "Content-Type: application/fhir+json" -X GET
'https://localhost:9443/fhir-server/api/v4/Patient/$export?_outputFormat=application/fhir%2Bndjson'
-v --header "X-FHIR-TENANT-ID: ${TENANT_ID}"
Results in
{"resourceType":"OperationOutcome","id":"c0-a8-56-16-2cba4727-e321-431b-95da-c09785ea7583","issue":[{"severity":"error","code":"invalid","diagnostics":"Resource Type outside of the Patient Compartment in Export"}]}
This is a subtle issue in the processing of the Parameters object where the _type is not specified, and we stop the processing.
Expected behavior
Pickup the Resources in the compartment only.
Additional context
n/a
The text was updated successfully, but these errors were encountered: