For create compositions on the server, add error if referenced template do not exist on the server

Description

Ref: https://specifications.openehr.org/releases/ITS-REST/Release-1.0.0/ehr.html#composition-composition-post

A committed COMPOSITION references a template_id, the template should exist in the server before the commit to accept the commit.

Check the template exists, and return HTTP Status Code 400 Bad Request if the template doesn't exists.

PR is addressed in

Activity

Show:
Done

Details

Reporter

Labels

Components

Priority

Created January 16, 2019 at 12:44 AM
Updated November 3, 2019 at 3:29 PM
Resolved July 19, 2019 at 5:05 PM

Flag notifications