sending vitals in openMRS from mobile app

Hi All,

Please when i sending vitals from mobile app i see “loading…” instead of values of vitals (cf. Figure 1). but when it’s from openMRS it display values, i don’t know where is it the problem?

Best regards, Roukia

Do you see any errors on the JavaScript console?

Hi Daniel,

No i didn’t see any errors in console

@roukia can you share the tomcat logs?

The vitals widget expects an encounter created by an html form entry module and your mobile app probably doesn’t do that. One way to go around it is to set the form field on the encounter resource to the uuid of the original capture vitals html form. This one: http://devtest04.openmrs.org:8080/openmrs/ws/rest/v1/form/a000cb34-9ec1-4344-a1c8-f692232f6edd

1 Like

There might also be some useful information in this thread: