COMPOSITION

Get versioned COMPOSITION

Retrieves a VERSIONED_COMPOSITION identified by versioned_object_uid and associated with the EHR identified by ehr_id.

get/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}

Path parameters

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

EHR identifier taken from EHR.ehr_id.value.

versioned_object_uidstring uuid required
Example:8849182c-82ad-4088-a07f-48ead4180515

VERSIONED_COMPOSITION identifier taken from VERSIONED_COMPOSITION.uid.value.

Headers

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

Response

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

_typestring

Example response

{
  "owner_id": {
    "id": {
      "_type": "OBJECT_VERSION_ID",
      "value": "fb458d9c-1323-42bc-b7f8-787f3660a0b5::openEHRSys.example.com::1"
    },
    "namespace": "local",
    "type": "COMPOSITION"
  }
}