Workflow or API calls:
We would like to get list of patients associated with a specific tentant.
I tried with /Patient endpoint but it returns this in response:
at least one of _id, identifier, name, family, given, birthdate, phone, email, address-postalcode, or -pageContext must be provided
so if i pass birthdate as ?birthdate=ge1970-01-01&birthdate=le1970-12-31 then the search result is also 0. But if i use sandbox tentant_id same request does returns list of patients.
Is there any way to get list without passing name, id as params?
Expected Result:
Actual Result:
at least one of _id, identifier, name, family, given, birthdate, phone, email, address-postalcode, or -pageContext must be provided