FHIR Chat · Identifier and _id based search in HAPI · implementers

Stream: implementers

Topic: Identifier and _id based search in HAPI


view this post on Zulip Vandana Sreenivasa Rao (Feb 21 2022 at 21:14):

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