Workflow or API calls:
I am building an application that supports clinicians in managing their consults and referrals. In order to do this, I need to retrieve all patients with a specific order that is active.
I have tried a few options:
- GET [r4_base_url]/[tenant_id]/Patient?_has:ServiceRequest:subject:code=https://fhir.cerner.com/[tenant_id]/codeSet/200%7C265642409
- GET [r4_base_url]/[tenant_id]/Patient?_has:ServiceRequest:subject:code=265642409
But I am getting an OperationOutcome with text “_has: parameters cannot have more than one modifier”.
I cannot see much documentation about the _has search parameter in the Oracle Health specifications. Are you please able to advise if this is supported? If not, do you have any suggestions on how I can perform this operation?
Background Information:
Are you an OPN Member? No
Have you signed up to be in the Healthcare Developer Track? No
Are you a registered Code Program member? Yes
Does your App have a presence on the Oracle Healthcare App Marketplace? No
Are you developing on behalf of an Oracle Health client? Yes
If so, which client: Austin Health, Melbourne, Victoria, Australia.
Application ID: f75124c6-8fd7-4855-840a-32a097150e73
Client ID: d527cbba-ae70-4244-a062-a2086d7a782c
Expected Result:
Bundle with Patient and ServiceRequest resources
Actual Result:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"details": {
"text": "_has: parameters cannot have more than one modifier"
}
}
]
}
X-request-id (22/12/2024 10:20 AM AEST): ca410ce8-1c8b-92d9-19e1-9ca474d5020d+Crhl_JPq7
X-request-id (22/12/2024 10:20 AM AEST): e8e2dc6a-8b9c-c371-f906-50865f57a80a+sACh_z4Tp