I just re-tested this widget in our environment here at PIH and it works fine for us. How many results the following REST calls return? One is for the Height obs and the other for the Weight obs. Please replace the PATIENT_UUID below with your test patient.
I changed the maxResults to 20 but unfortunately it didnāt work. I also changed it to 100 and it also didnāt work. I removed the maxAge parameter. See below:
I am running OpenMRS 2.1.3 and Refapp 2.9.0-snapshot
@jesplana: Can you please use Postman or some other tool that formats the json response? It looks like you have no weight and height obs for this patient?
Hi @jesplana, do you have this code deployed to a test server I could access via the browser? I could use the browser debugger to try to understand why this widget does not work in your environment.
Are there any errors in the Javascript DevTools console?
Mystery solved. The QA server does not have the latest coreapps SNAPSHOT that contains the changes I made to the obsgraph widget to support multiple concepts.
@cioan ah perfect. Let me update to the latest coreapps module and re-test. I will restart this conversation in case I run into any more issues.
Thanks a lot for all your help.