openEHR / specifications-ITS-REST

openEHR REST API Specifications
https://specifications.openehr.org/releases/ITS-REST/latest
Apache License 2.0
18 stars 15 forks source link

Get Versioned_Ehr_Status description in REST api is inconsistent #66

Closed serefarikan closed 5 years ago

serefarikan commented 6 years ago

The get request described here has VERSIONED_EHR_STATUS as its return type. However, the example for the content that should be returned contains the revision_history field, which is not a field of the VERSIONED_EHR_STATUS RM type.

In a slack discussion @bostjanl suggested that VERSIONED_EHR_STATUS is returned from this end point and methods of this type, where relevant are defined as individual endpoints, such as ../revision_history. This makes sense to me and I'll implement this suggestion for the moment unless SEC decides to take another direction.