pre-approval: not yet approved by the openEHR SEC · Trial mode: runs, results and verdicts are complete, and no certificate is issued.

Veredictum

A COMPOSITION sent as canonical XML is created and reads back as sent

composition_xml/create_composition-xml

Description

Creates an EHR, then creates an event COMPOSITION sent as canonical XML and asks for the full representation as JSON, and retrieves the version its uid names as JSON. The version holds the COMPOSITION sent: its archetype_node_id, template_id, setting code and EVALUATION quantity.

document: composition_xml

Where it sits

Chapter
EHR
Capability
COMPOSITIONcomposition
Option
It runs only when a statement selects one of these arms.

Spec citation

description
Creates the first version of a new COMPOSITION in the EHR identified by `ehr_id`.

An expectation is refuted by a better reading of the cited text, and by nothing else.

Steps

StepOperationDescription
create-ehr$sourceDescriptions.ehr.ehr_create_with_idCreate the EHR with the client-supplied ehr_id.
commit$sourceDescriptions.ehr.composition_createCreate the COMPOSITION from canonical XML and keep the version_uid of the full representation it answers with.
read$sourceDescriptions.ehr.composition_getRetrieve the committed version as JSON.