GET ServiceRequest endpoint with _id param maximum allowed size

34 views
Skip to first unread message
Assigned to nishant...@gmail.com by me

pravin tamnar

unread,
Jan 6, 2022, 3:52:27 AM1/6/22
to Cerner FHIR Developers
Hi, I recently validating the GET ServiceRequest endpoint with _id param and
found that it allows multiple ids with comma separated but i doesn't found the max number of id's accepted in this parameter at once in api doc.
While trying multiple scenario i realize that it allows 100 max ids, can anyone confirm is my understanding is correct or it rejects requests based on payload size?

Error returned after 100 ids used comma separated.
400 Bad Request
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"details": {
"text": "Invalid request"
}
}
]
}

Thanks,
Pravin

Nishanth Namana (Cerner)

unread,
Jan 6, 2022, 8:12:23 PM1/6/22
to Cerner FHIR Developers
Hello Pravin,

We do have a constraint on maximum number of id's that can be used for _id param. But that varies by resource. It doesn't depend on the payload size.

Thank you,
Nishanth Namana (Cerner).

pravin tamnar

unread,
Jan 7, 2022, 1:58:40 AM1/7/22
to Cerner FHIR Developers
Thanks Nishanth, 
Can you please confirm the maximum number of id's that can be used for _id param for a resource is same for all environment? and 100 is the correct maximum allowed value for ServiceRequest?

Thanks,
Pravin
Reply all
Reply to author
Forward
0 new messages