For create compositions on the server, add error if referenced template do not exist on the server
Raise
Analysis
Raise
Analysis
Description
PR is addressed in
relates to
Activity
Show:
Done
Details
Details
Created January 16, 2019 at 12:44 AM
Updated November 3, 2019 at 3:29 PM
Resolved July 19, 2019 at 5:05 PM
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.