COMPOSITION
Create COMPOSITION
Creates the first version of a new COMPOSITION in the EHR identified by ehr_id.
post/ehr/{ehr_id}/composition
Path parameters
ehr_idstring required
Example:7d44b88c-4199-4bad-97dc-d78268e01398
EHR identifier taken from EHR.ehr_id.value.
Headers
Prefer'return=representation' | 'return=minimal'
Request header to indicate the preference over response details. The response will contain the entire resource when the Prefer header has a value of return=representation.
Request body
Response
201 Created is returned when the COMPOSITION was created. Content body is only returned when Prefer header has return=representation, otherwise only headers are returned.