-
Notifications
You must be signed in to change notification settings - Fork 160
Description
This is regarding a question on _count on search.
I have a scenario as below
POST https://qafhirserver.justtest.in:9443/fhir-server/api/v4/CarePlan/_search
Response
{
"resourceType": "Bundle",
"id": "1be8164a-1484-41e4-91cb-b1d53fede8c2",
"type": "searchset",
"total": 730,
"link": [
{
"relation": "self",
"url": "https://qafhirserver.justtest.in:9443/fhir-server/api/v4/CarePlan/_search?_count=10&_page=1"
},
{
"relation": "next",
"url": "https://qafhirserver.justtest.in:9443/fhir-server/api/v4/CarePlan/_search?_count=10&_page=2"
}
......
....
Now, when I do a GET on https://qafhirserver.justtest.in:9443/fhir-server/api/v4/CarePlan/_search?_count=10&_page=2
I get below response
{
"resourceType": "OperationOutcome",
"id": "ac-1f-1b-dc-d0effbfc-4537-41a7-9384-40da112cb8f7",
"issue": [
{
"severity": "fatal",
"code": "invalid",
"details": {
"text": "Search parameter '_count' is not supported by read."
}
}
]
}
Environment
FHIR Server 4.11.1
Expected behavior
GET on the "next" url returned in the response should work.