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

Simplify SM openEHR platform, I_EHR_SERVICE create EHR operations

Description

Currently there are four operations to create an EHR, the difference between them are the parameters passed.

I would suggest to merge the four operations into one that can receive all the parameters and also does the correspondent validation and error reporting currently explained on each operation.

As a general design approach, I would prefer to have one operation per business goal (e.g. 'create EHR'), and handle all the parameters and internal rules there.

REF: https://specifications.openehr.org/releases/SM/latest/openehr_platform.html#_i_ehr_service_interface

Environment

None

Change Description

None

Impact Analysis

None

Status

Assignee

Thomas Beale

Reporter

Pablo Pazos

Labels

Components

Priority

Major