hapi-fhir
hapi-fhir copied to clipboard
Unhandled chained composition.* parameter
It seems that the chained the composition.* parameter on the Bundle endpoint is not handled. Doing eg. https://hapi.fhir.org/baseR4/Bundle?type=document works as intended but doing eg. https://hapi.fhir.org/baseR4/Bundle?type=document&composition.status=final does not return any results.
Also an issue on 5.5.0-PRE5-SNAPSHOT
to add to this, i believe the composition parameter is not working at all.
https://hapi.fhir.org/baseR5/Bundle/4773 returns a bundle with this...
{
"resourceType": "Bundle",
"id": "4773",
"meta": {
"versionId": "6",
"lastUpdated": "2022-04-09T16:19:38.981+00:00",
"source": "#UV14mpJTqHRRQLVY"
},
"identifier": {
"system": "www.oxfordhospital.com",
"value": "OH.0617060018.20220404143000888.001"
},
"type": "document",
"timestamp": "2022-04-04T19:24:30.3238561+03:00",
"entry": [ {
"fullUrl": ["http://hapi.fhir.org/baseR5/Composition/4769"](http://hapi.fhir.org/baseR5/Composition/4769),
"resource": {
"resourceType": "Composition",
"id": "4769",
"meta": {
"versionId": "1",
"lastUpdated": "2022-04-04T03:34:14.634+00:00",
"source": "#4pFNDmp38eSkSPKi"
},
"status": "final",
....
but this returns 0
https://hapi.fhir.org/baseR5/Bundle?composition=4769
and this also returns 0
https://hapi.fhir.org/baseR5/Bundle?composition=Composition/4769