openEHR REST API
The simplest way to use the REST API is to use the official openEHR REST API.
For example, to create a new composition:
POST https://{baseUrl}/openehr/v1/ehr/{ehr_id}/composition
Or to retrieve a composition:
GET https://{baseUrl}/openehr/v1/ehr/{ehr_id}/composition/{uid_based_id}