El fin de este foro es dar soporte gratuito y comercial a los distintos productos y servicios de CaboLabs.com. El soporte gratuito se brinda en los foros de acceso público y no tiene garantía de tiempo mínimo de respuesta. El soporte comercial se brinda en foros privados donde se garantiza una respuesta dentro de las 24 horas.
Commit health data to ehrserver
I started developing a client side application for ehrserver using its rest api. till now I have created login part, list ehrs, show user info, create ehr etc using requests through ehrserver rest api. But now I am stuck at part where I want to commit medical data in ehrserver through POST /ehrs/$ehrUid/compositions request. the documentation says we have to send an xml or json in request body which will contain health data. But this xml seems too complicated and I am not able to understand how to create this xml. I just want to commit simple medical values like blood pressure, weight etc and I don't care if the document is in openEhr format or not. Suppose I just want to commit only a single value like height=80 to an ehr with ehruid=12345678, what should be my request body, parameters etc?
Comments