Stream: hapi
Topic: Total in HAPI search (Solved)
Dexter (Feb 25 2021 at 05:55):
This query returns total
,
https://hapi.fhir.org/baseR4/Practitioner?_offset=10&_has:PractitionerRole:practitioner:role=primary-physician
but this doesn't. What could be the reason?
https://hapi.fhir.org/baseR4/Practitioner?_offset=10&_has:PractitionerRole:practitioner:role=care-manager
Mirjam Baltus (Feb 25 2021 at 11:20):
I think HAPI stops counting after a certain amount of matching resources, and in that case does not include the total
field. If you need to know the count, you could do this search:
https://hapi.fhir.org/baseR4/Practitioner?_offset=10&_has:PractitionerRole:practitioner:role=care-manager&_summary=count
Dexter (Feb 25 2021 at 12:42):
Yeah that worked! Thank you very much!
Last updated: Apr 12 2022 at 19:14 UTC