_id
Search by the resource id
Search by the resource id
FHIR format
Aidbox format
1
GET /fhir/Patient?_id=pt-1
Copied!
1
GET /Patient?_id=pt-1
Copied!
You can search by multiple ids separated by a comma:
FHIR format
Aidbox format
1
GET /Patient?_id=pt-1,pt-2,pt-3
Copied!
1
GET /Patient?_id=pt-1,pt-2,pt-3
Copied!
You can use _id parameter in sort expressions:
FHIR format
Aidbox format
1
GET /fhir/Entity?_sort=_id
2
3
#200
4
resourceType: Bundle
5
type: searchset
6
entry:
7
- resource:
8
type: resource
9
isMeta: true
10
module: auth
11
source: code
12
resourceType: Entity
13
id: AccessPolicy
14
meta: {lastUpdated: '2019-07-30T16:51:52.763470Z', versionId: '0'}
15
....
Copied!
1
GET /Entity?_sort=_id
2
3
# 200
4
resourceType: Bundle
5
type: searchset
6
entry:
7
- resource:
8
type: resource
9
isMeta: true
10
module: auth
11
source: code
12
resourceType: Entity
13
id: AccessPolicy
14
meta: {lastUpdated: '2019-07-30T16:51:52.763470Z', versionId: '0'}
15
....
Copied!
Last modified 6mo ago
Copy link