EHR_STATUS

Get EHR_STATUS at time

Changed on

Retrieves a version of the EHR_STATUS associated with the EHR identified by ehr_id.

If version_at_time is supplied, retrieves the version extant at specified time, otherwise retrieves the latest EHR_STATUS version.

When there are ITEM_TAGs associated with the retrieved EHR_STATUS, they will be returned as openehr-item-tag and openehr-version-item-tag response headers, respectively - see item tags headers for more details.

get/ehr/{ehr_id}/ehr_status

Request

  • Base URL
    https://openEHRSys.example.com/v1
  • Auth
    none required

Path parameters

ehr_idstring uuid required
Example:7d44b88c-4199-4bad-97dc-d78268e01398

EHR identifier taken from EHR.ehr_id.value.

Query parameters

version_at_timestring datetime
Example:2015-01-20T19:30:22.765+01:00

A given time in the extended ISO 8601 format.

Headers

Accept'application/json' | 'application/xml' | 'application/openehr.wt.flat+json' | 'application/openehr.wt.structured+json'

Response

200 OK is returned when the requested EHR_STATUS is successfully retrieved.

_typestring

Changes

    • info

      added SECTION discriminator mapping keys to the / response property for the response status

    • info

      added SECTION discriminator mapping keys to the // response property for the response status

    • info

      the /////////////// response's property pattern was changed from /^[><=?]$/ to ^[><=?]$ for the status

    • info

      the ///////////// response's property pattern was changed from /^[><=?]$/ to ^[><=?]$ for the status

    • info

      the /////////////// response's property pattern was changed from /^[><=?]$/ to ^[><=?]$ for the status

    • info

      the ///////////// response's property pattern was changed from /^[><=?]$/ to ^[><=?]$ for the status

    • info

      the /////// response's property pattern was changed from /^[><=?]$/ to ^[><=?]$ for the status

    • info

      the /////// response's property pattern was changed from /^[><=?]$/ to ^[><=?]$ for the status

    • info

      the ///// response's property pattern was changed from /^[><=?]$/ to ^[><=?]$ for the status

    • info

      added the required property /////// to the response with the status

    • info

      added the required property /////// to the response with the status

    • info

      added the new optional header request parameter Accept