---
title: "Get versioned EHR_STATUS"
method: GET
path: "/ehr/{ehr_id}/versioned_ehr_status"
tags: ["EHR_STATUS"]
---

# Get versioned EHR_STATUS

`GET /ehr/{ehr_id}/versioned_ehr_status`

Retrieves a VERSIONED_EHR_STATUS associated with an EHR identified by `ehr_id`.

## Path parameters

- `ehr_id` string, uuid, required

## Headers

- `Accept` 'application/json' | 'application/xml'
- `Content-Type` 'application/json' | 'application/xml'

## Response `200`

`200 OK` is returned when the requested VERSIONED_EHR_STATUS is successfully retrieved.

- VersionedEhrStatus
  - `_type` string
  - `uid` HierObjectId, required
    - `_type` string
    - `value` string, required
  - `owner_id` ObjectRefOfHierObjectId, required
    - `namespace` string, required
    - `type` string, required
    - `id` ObjectId, required
      - `_type` string
      - `value` string, required
  - `time_created` DvDateTime, required
    - `_type` string

## Other responses

- `404` — `404 Not Found` is returned when an EHR with `ehr_id` does not exist.

---

[API](https://skmtc.net/openehr/apis/ehr-api.md) · [All operations](https://skmtc.net/openehr/apis/ehr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openehr/ehr-api/versions/a0e37a217524/schema)
