Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter

Categories

In this Discussion

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 composition to EHRServer

edited September 4 in EHRServer
Hi all 
I'm try to upload a composition to ehr-server using REST API with postman.
It responds with HTTP 412 and this object {
    "result": {
        "type": "AR",
        "message": "The OPT '' referenced from the commit is not loaded. Please load the OPT to allow data indexing.",
        "code": "EHRSERVER::API::RESPONSE_CODES::1324"
    }
}
and it seams that the template is not loaded or it is not present into the composition.

The composition is generated using the on-line tool http://server001.cloudehrserver.com/cot/opt/json_instance_generator and uploading the template vital_signs_summary.en.v1 directly from the server (it's one of the default template inside ehrserver).

Thank you

Gabriele Carboni





Comments

  • Hi Gabriele,

    This message "The OPT '' referenced from the commit is not loaded" makes me think the template id is not set on the instance generated.

    There should be a field "template_id" with the value "vital_signs_summary.en.v1" in the instance.

    Try creating it as XML, maybe the JSON generator has a bug.

    Best,
    Pablo.
Sign In or Register to comment.