Hello.
I am using the Python library fhirpy to make Search calls to the Cerner Sandbox. Here is an example of one of the calls:
conditions_raw = fhir.resources("Condition").search(
patient=patient_id, category="encounter-diagnosis", clinicalStatus="active", lastUpdated=f"ge{(now - years_past).isoformat()}"
).limit(10).fetch()
My goal is to return only 10 records. However, this is not working. The function is acting like I did not use it. So, in other words, it is behaving as if I were running instead:
conditions_raw = fhir.resources("Condition").search(
patient=patient_id, category="encounter-diagnosis", clinicalStatus="active", lastUpdated=f"ge{(now - years_past).isoformat()}"
).fetch_all()
This looks to be an issue with Cerner FHIR. I am claiming that because the limit() function DOES work when retrieving data from Epic FHIR servers.
Has anyone else run into this issue? Is there a query parameter I can pass in to achieve the limit functionality, which I am not seeing?
Thanks.
Scott
Background Information:
Failure to provide answers will impact our ability to respond in a timely and effective manner
Developer questions:
Are you an OPN Member? Yes / No
Have you signed up to be in the Healthcare Developer Track? Yes / No
Are you a registered Code Program member? Yes / No
Does your App have a presence on the Oracle Healthcare App Marketplace? Yes / No
Are you developing on behalf of an Oracle Health client? No
Expected Result: a maximum of 10 search results
Actual Result: more than the maximum search results