Stream: hapi
Topic: Search using identifiers
Swetha Kumar (Nov 08 2021 at 21:59):
Hi everyone,
I wanted too know if any changes were made recently with respect to search by identifiers.
The search for slots using ids work perfectly
Eg: https://hapi.fhir.org/baseR4/Slot/_search?schedule:Schedule.actor:Practitioner._id=2088111&schedule:Schedule.actor:Location._id=2087427&start=ge2021-11-01T06:59:59.474Z&start=le2021-11-05T06:59:59.474Z&status=free&_include=Slot:schedule&_sort=start&_count=500
The same search is not working when I am adding an additional identifier parameter
https://hapi.fhir.org/baseR4/Slot/_search?schedule:Schedule.actor:Practitioner.identifier=1234&schedule:Schedule.actor:Practitioner._id=2088111&schedule:Schedule.actor:Location._id=2087427&start=ge2021-11-01T06:59:59.474Z&start=le2021-11-05T06:59:59.474Z&status=free&_include=Slot:schedule&_sort=start&_count=500
It returns "ERROR: canceling statement due to user request"
I have searched using a combination oof ids and identifiers before and it has worked. Did something change in the way we search now?
Swetha Kumar (Nov 09 2021 at 20:01):
As of Aug 29th, 2021 HAPI was supporting the search using identifiers and we have verified it by running the local instance with a branch created out of HAPI master (on Aug 29th).
Link to the repo - https://github.com/harshatalkad/happydocker/tree/hackathon2021
Please let us know if we need to file a bug or if anything has changed since then?
Vandana Sreenivasa Rao (Feb 21 2022 at 21:25):
Hi all, this is my first time posting on this forum, so please correct me if I need to redirect to different channel.
We have been using HAPI server to test FHIR compatible operations. Recently, /Slot/search stopped working when _id is used in the query;
Working: http://hapi.fhir.org/baseR4/Slot/_search?schedule:Schedule.actor:Practitioner.identifier=urn:salesforce:iam:source-system:ath:1000%7C_https://g.co/fhir/exp/athn/provider-provider_npi_number%7C1345&schedule:Schedule.actor:Location.identifier=urn:salesforce:iam:source-system:ath:1000%7Cdept1&start=ge2021-08-04T17:24:13.632Z&start=le2021-09-08T06:59:59.687Z&status=free&_include=Slot:schedule&_sort=start&_count=500
Not working: https://hapi.fhir.org/baseR4/Slot/_search?schedule:Schedule.actor:Practitioner._id=2088111&schedule:Schedule.actor:Location._id=2087427&start=ge2021-11-01T06:59:59.474Z&start=le2021-11-05T06:59:59.474Z&status=free&_include=Slot:schedule&_sort=start&_count=500 -> This used to work till last few weeks, but it stopped working now. If we modify it to https://hapi.fhir.org/baseR4/Slot/_search?schedule:Schedule.actor=Practitioner/2088111&schedule:Schedule.actor=Location/2087427&start=ge2021-11-01T06:59:59.474Z&start=le2021-11-05T06:59:59.474Z&status=free&_include=Slot:schedule&_sort=start&_count=500 it is working.
Could you help me understand what has changed on FHIR/HAPI in order to resolve this? Thank you.
Last updated: Apr 12 2022 at 19:14 UTC