FHIR Chat · Search for schedule · implementers

Stream: implementers

Topic: Search for schedule


view this post on Zulip Swetha Kumar (Aug 31 2021 at 21:35):

Hi everyone,

I had a question related to the searching of schedule resource.
I have created the below schedule resource

{
"resourceType": "Schedule",
"active": true,
"actor": [
{
"type": "Location",
"identifier": {
"system": "urn:salesforce:iam:source-system:ath:1000",
"value": "dept1"
},
"display": "Kaiser"
},
{
"type": "Practitioner",
"identifier": {
"system": "urn:salesforce:iam:source-system:ath:1000",
"value": "_https://g.co/fhir/exp/athn/provider-provider_npi_number|1345“
},
"display": "Christina Yang"
}
]
}

I am unable to search for this schedule using the below request. I get 0 results.

https://hapi.fhir.org/baseR4/Schedule/_search?actor:Schedule.actor:Practitioner.identifier=urn:salesforce:iam:source-system:ath:1000|_https://g.co/fhir/exp/athn/provider-provider_npi_number%7C1345&actor:Schedule.actor:Location.identifier=urn:salesforce:iam:source-system:ath:1000|dept1

My use case is to search for schedule by just using the actors identifier.
Can you please let me know if I am missing something

view this post on Zulip Michele Mottini (Aug 31 2021 at 21:47):

actor:Schedule.actor:Practitioner.identifier is not a valid search parameter
Try actor:identifier=. . . .

view this post on Zulip Swetha Kumar (Aug 31 2021 at 21:54):

Thank you for the quick response.
I have tried both
https://hapi.fhir.org/baseR4/Schedule?actor:identifier=urn:salesforce:iam:source-system:ath:1000|dept1
https://hapi.fhir.org/baseR4/Schedule?actor:identifier=urn:salesforce:iam:source-system:ath:1000|_https://g.co/fhir/exp/athn/provider-provider_npi_number%7C1345

I am still not able to get the results

view this post on Zulip Lloyd McKenzie (Aug 31 2021 at 22:07):

I don't know that HAPI supports the 'identifier' modifier. Probably best to ask on #hapi

view this post on Zulip Swetha Kumar (Aug 31 2021 at 22:23):

Sure thank you so much

view this post on Zulip Bhautik (Sep 01 2021 at 06:32):

Hello Everyone

Can i implement OR use FHIR with PHP ?

view this post on Zulip Lloyd McKenzie (Sep 01 2021 at 14:53):

@Bhautik Is this related to "Search for schedule"? What do you mean by "implement OR"?


Last updated: Apr 12 2022 at 19:14 UTC