Workflow or API calls:
Sometimes when performing a SEARCH Patient call, we receive a 422 Unprocessable Entity response, even though similar searches return successfully.
We've narrowed it down to scenarios where the patient search is likely to return many results, like searching Patient?given=test
in C1941 sandbox, but we're unable to confirm this due to 422 responses.
Background Information:
Developer questions:
Are you an OPN Member? Yes
Have you signed up to be in the Healthcare Developer Track? Yes
Are you a registered Code Program member? Yes
Does your App have a presence on the Oracle Healthcare App Marketplace? Yes
Are you developing on behalf of an Oracle Health client? No
Expected Result:
- The patient search is successful and paginates the results, if there are many patients returned, or
- An OperationOutcome with a more specific error message and code, either:
- signifying that a result cannot be returned due to too many results, or
- the caller needs to provide additional search parameters, because there are too many possible results
Questions:
- If there is a limit to how many patients can be returned in patient search, what is it?
- If there is limit, is it the same for every Cerner deployment or can customers configure the upper limit?
Actual Result:
from 2025/06/25:
**x-request-id:**
ED74BE199AEB3ACF883723722F63321F+paPq_9wXA
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"invalid","details":{"text":"Unprocessable entity"}}]}