$everything operation on the patient instance. This information typically includes related resources such as basic patient information, visit records, test results, diagnoses, and medications.$everything operation and control the number of items returned per page by using _count.Parameter Name | Type | Required | Description |
HTTP Method | String | Yes | Fixed as GET. |
URL | String | Yes | The operation address, in the format [baseUrl]/Patient/[id]/$everything. |
Authorization | String | Yes | The access token, in the format Bearer <AccessToken>. For details on how to obtain it, see Calling Method. |
Accept | String | No | The response format. It is recommended to use application/fhir+json. |
id | String | Yes | The unique ID of the patient resource. It can be obtained from the id field returned when the resource is created, or by querying the patient list via the Basic Search API. |
_count | Integer | No | Controls the number of records returned per page. |
$everything operation is used to return multiple types of resources associated with the target patient.Bundle. It may be returned in pages if the data volume is large._count parameter.200 OK is typically returned. The response body is usually a Bundle resource, which contains a collection of resources related to the specified patient, along with pagination information.Field | Type | Description |
resourceType | String | Returns the resource type, usually Bundle. |
id | String | Unique ID of the Bundle resource, usually a UUID. |
meta | Object | Metadata of the Bundle, containing fields such as lastUpdated. |
meta.lastUpdated | String | Generation time of the Bundle, in ISO 8601 format. |
type | String | The Bundle type is usually searchset. |
total | Integer | Total number of matched resources. |
link | Array | Pagination link information, such as self, next, and so on. |
entry | Array | List of associated resources. |
entry[].fullUrl | String | The complete access URL of the resource. |
entry[].resource | Object | Resource content related to the patient. |
entry[].resource.id | String | Unique ID of the resource. |
entry[].resource.meta | Object | Metadata of the resource, containing fields such as versionId and lastUpdated. |
entry[].search.mode | String | Search hit mode, usually match. |
GET /INSTANCE_ID/fhir/Patient/1228032/$everything HTTP/1.1Host: HOSTNAMEAuthorization: Bearer <AccessToken>Accept: application/fhir+json
GET /INSTANCE_ID/fhir/Patient/1228032/$everything?_count=50 HTTP/1.1Host: HOSTNAMEAuthorization: Bearer <AccessToken>Accept: application/fhir+json
{"resourceType": "Bundle","id": "c48fc429-6091-4f61-abce-62388b08ccbc","meta": {"lastUpdated": "2026-07-09T18:45:41.430+08:00"},"type": "searchset","total": 3,"link": [{"relation": "self","url": "https://HOSTNAME/INSTANCE_ID/fhir/Patient/1228032/$everything"}],"entry": [{"fullUrl": "https://HOSTNAME/INSTANCE_ID/fhir/Patient/1228032","resource": {"resourceType": "Patient","id": "1228032","meta": {"versionId": "1","lastUpdated": "2022-10-10T07:07:33.086-04:00"}},"search": {"mode": "match"}},{"fullUrl": "https://HOSTNAME/INSTANCE_ID/fhir/Encounter/enc-20001","resource": {"resourceType": "Encounter","id": "enc-20001","meta": {"versionId": "1","lastUpdated": "2022-10-11T08:30:00.000+08:00"},"subject": {"reference": "Patient/1228032"}},"search": {"mode": "match"}},{"fullUrl": "https://HOSTNAME/INSTANCE_ID/fhir/Observation/obs-30001","resource": {"resourceType": "Observation","id": "obs-30001","meta": {"versionId": "1","lastUpdated": "2022-10-12T09:15:00.000+08:00"},"subject": {"reference": "Patient/1228032"}},"search": {"mode": "match"}}]}
Error Code | Description |
400 Bad Request | The request parameter format is incorrect, or the patient ID is invalid. |
401 Unauthorized | Not authenticated, and valid credentials are missing. |
403 Forbidden | Authenticated but not authorized to access the patient's complete data. |
404 Not Found | The specified patient does not exist. |
422 Unprocessable Entity | The request syntax is correct, but it fails business or rule validation. |
500 Internal Server Error | Internal server processing exception. |
피드백