Open kiwisky opened 1 year ago
I noticed this bug too. For further context, the bulk data spec says that the abbreviation "ndjson" and "application/ndjson" SHALL be accepted the same as "application/fhir+json"
The format for the requested Bulk Data files to be generated as per FHIR Asynchronous Request Pattern. Defaults to application/fhir+ndjson. The server SHALL support Newline Delimited JSON, but MAY choose to support additional output formats. The server SHALL accept the full content type of application/fhir+ndjson as well as the abbreviated representations application/ndjson and ndjson.
https://build.fhir.org/ig/HL7/bulk-data/export.html#query-parameters
_outputformat does not support "application/ndjson" and the ONC INFERNO FHIR Testing tool kit failed with following request for Bulk Data 2.0. Request: get | https://mum8.clinicomp.com:8445/fhir/Group/group.mum.groupyy05/$export?_outputFormat=application/ndjson
Return: { "resourceType": "OperationOutcome", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">
Operation Outcome
<table border=\"0\">Additional context I checked the source, it seems we need to pass the format because it is the same as "application/fhir+ndjson"?