'find all HealthcareService resources for a given Practitioner - fhir search
I'm struggling a bit with reverse chaining in fhir search.
I can find all PractitionerRole resources for a given Practitioner with:
[base]/PractitionerRole?practitioner:Practitioner:id=100
How do I combine chaning and reverse chaining to find all HealthcareService resources for a given Practitioner? I tried the below and some variations of it.
[base]/HealthcareService?_has:PractitionerRole:practitioner:Practitioner:id=100
Solution 1:[1]
I would use:
[base]/PractitionerRole?practitioner=100&_include=PractitionerRole.service
It's more likely to be supported, and would also give you the roles in which the Practitioner is associated with the service.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Lloyd McKenzie |
