For create compositions on the server, add error if referenced template do not exist on the server
SPECPR-298
POST /ehr body format doesn't comply with JSON schema
SPECPR-337
REST APIs documentation issues / questions
SPECPR-255
REST Query API Documentation improvement suggestions
SPECPR-253
Four minor design decisions for REST Query API
SPECPR-252
GET COMPOSITION without version_at_time, add clarification
SPECPR-333
Issues on definitions endpoints
SPECPR-289
Definition version-part of Archetype_HRID not clear
SPECPR-294
ISO8601_TIMEZONE limits insufficient for some pacific nations
SPECPR-32
BaseTypes.xsd does not support New Zealand summer time zone
SPECPR-68
Definition error, unknown type
SPECPR-299
What is the usage of the EHR_STATUS.is_modifiable
SPECPR-284
INTERVAL_EVENT questions about the correctness of the specs‏
SPECPR-197
DV_MULTIMEDIA.integrity_check should be multiple bytes
SPECPR-295
Add encoding field for DV_ENCAPSULATED
SPECPR-258
Change VERSION.uid() method to be an attribute VERSION.uid like it is on the subclasses IMPORTED_VERSION and ORIGINAL_VERSION.
SPECPR-228
Error in RESOURCE_DESCRIPTION.details class in RM Common IM spec
SPECPR-137
Reword description of the process of document signing
SPECPR-131
Support newlines and formatting in DV_TEXT
SPECPR-117
PARTY.reverse_relationships should better be a Set<PARTY_REF> ?
SPECPR-104
ACTOR.roles and ACTOR.languages are wrongly required attributes
SPECPR-283
Incorrect type and redefinition of PARTY.uid
SPECPR-282
spec 1.0.2 entry package: missing ACTIVITY.description: ITEM_STRUCTURE in HTML version
SPECPR-270
OBJECT_VERSION_ID typos in format
SPECPR-227
Missing characters in generated HTML for EHR IM v1.0.2
SPECPR-259
spelling error in specifications-ITS/AOM2/XML-schema/Resource.xsd
SPECPR-164
AUDIT_DETAILS.system_id‏ semantics not well defined
SPECPR-99
Date_time class should have real/long instead of Integer as value?
SPECPR-266
Review invariants on DV_IDENTIFIER attributes
SPECPR-202
identification package missing from support spec
SPECPR-246
Adding Folder specific change types
SPECPR-260
AUDIT_DETAILS.change_type should be optional
SPECPR-229
AUDIT_DETAILS.change_type needs to be empty in CONTRIBUTION.audit
SPECPR-111
Composition invariant precludes other_context in Persistent Composition
SPECPR-78
ADL grammar for terminology_extracts not yet well defined.
SPECPR-163
Common IM specification references obsolete openPGP spec
SPECPR-216
Type error in RM-spec: RESOURCE_DESCRIPTION_ITEM
SPECPR-139
Add an attribute to ELEMENT to record 'null reason'
SPECPR-151
Remove language code "no" from openehr_external_terminologies.xml
SPECPR-247
Reference to page number should be a link to the appropriate section + minor spelling error
SPECPR-273
GDL-Tools: Update gdl-tools to support java 8
SPECPR-168
Missing ism_transition of state for "proposed" and "completed and continued"
SPECPR-248
ResourceDescription: details is defined as List<RESOURCE_DESCRIPTION_ITEM>
SPECPR-249
openEHR Terminology 'telephone' concept ambiguous
SPECPR-18
openEHR Terminology Concept ID Duplicated
SPECPR-17
openEHR Terminology contains errors in family relationships terms.
SPECPR-244
Need new application content types (mime types)
SPECPR-97
Need to use the Terminology Resource file developed by Java implementation group as openEHR terminology resource
SPECPR-25
XML-schema not available for openEHR terminology xml file.
SPECPR-3
terminology.xml does not contain Khmer language.
SPECPR-34
issue 1 of 140

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.

Environment

None

Status

Reporter

Pablo Pazos

Labels

Components

Priority

Major