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

# Get versioned EHR_STATUS version by id

`GET /ehr/{ehr_id}/versioned_ehr_status/version/{version_uid}`

Retrieves a VERSION identified by `version_uid` of an EHR_STATUS associated with the EHR identified by `ehr_id`.

## Path parameters

- `ehr_id` string, uuid, required
- `version_uid` string, required

## Headers

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

## Response `200`

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

- VersionOfEhrStatus — A VERSION resource
  - `_type` string
  - `contribution` ObjectRefOfHierObjectId, required
    - `namespace` string, required
    - `type` string, required
    - `id` ObjectId, required
      - `_type` string
      - `value` string, required
  - `signature` string
  - `commit_audit` AuditDetails, required — The set of attributes required to document the committal of an information item to a repository.
    - `_type` string
    - `system_id` string, required
    - `time_committed` DvDateTime, required
      - `_type` string
    - `change_type` DvCodedText, required
      - `_type` string
    - `description` DvText
      - `_type` string
    - `committer` PartyProxy, required
      - `_type` string, required
      - `external_ref` PartyRef
        - `namespace` string, required
        - `type` string, required
        - `id` ObjectId, required
          - `_type` string
          - `value` string, required
  - `data` EhrStatus, required
    - `_type` string

## Other responses

- `404` — `404 Not Found` is returned when an EHR with `ehr_id` does not exist, or when the `version_uid` 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)
