简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM