API for adding data to an EHR

2019-09-27 Thread Georg Fette
Hello, In which part of the openEHR API is the definition of how to add an instance of a template to an existing EHR ? Something like "add to " ? Greetings Georg -- - Dipl.-Inf. Georg Fette Raum: B001 Universität Würzburg

Re: API for adding data to an EHR

2019-09-27 Thread Dileep V S
Please have a look at https://specifications.openehr.org/releases/ITS-REST/Release-1.0.0/ehr.html#composition The instance of the template goes in the body. Different implementations have used different JSON formats for the payload. Ethercis supports both FLAT (originally from ThinkEHR) and it's

Re: API for adding data to an EHR

2019-09-27 Thread Georg Fette
ah, cool, that was what I was looking for. Thank you Am 27.09.2019 um 13:52 schrieb Georg Fette: Hello, In which part of the openEHR API is the definition of how to add an instance of a template to an existing EHR ? Something like "add to EHR>" ? Greetings Georg --

Re: API for adding data to an EHR

2019-09-27 Thread Pablo Pazos
For the record: there is no concept of "instance of a template", there are instances of COMPOSITIONs that comply with a template. The information model class is COMPOSITION, the constraints to which instances of COMPOSITION should comply are defined in a template. On Fri, Sep 27, 2019 at 11:25 AM