Stream: hapi
Topic: FHIR Schedule search
Swetha Kumar (Aug 31 2021 at 22:23):
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.
I even tried to search using the below requests and i still got 0 results
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
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
Swetha Kumar (Sep 01 2021 at 18:27):
I was able to resolve this by adding the reference attribute
Last updated: Apr 12 2022 at 19:14 UTC