We're updating the issue view to help you get more done. 

Ehr_Status should be included in body in a consistent way

Description

Both the POST and PUT requests for creating an EHR (without and with a client specified id) may include ehr_status as the request body.

However, in case of POST, the example (and therefore the spec) is including this object as the root object of the request but in case of PUT it is one level below the root object and is identified with key: "ehr_status"

I think we should stick to one method. I'd prefer the one in PUT since this would allow us add other objects to request body as the API evolves, whereas the POST one sets the root object to ehr_status and would lead to a breaking change if we wanted to put more information into body.

Comments are welcome.

Environment

None

Change Description

None

Impact Analysis

None

Status

Assignee

Unassigned

Reporter

Seref Arikan

Components

Priority

Major