I cloned the code from the github repository of openmrs Operation theater module.Then I build the omod and upload it run successfully.Some operation are working fine like Creating procedure.While add Pre-theater Data Collection and post Post-theater Data collection.I am getting this error on the console.
I posted the error on the paste.Please have a look at it.
https://paste.ubuntu.com/p/V246FCzWS7/
Can someone help me out.How Can I make this module up and running.
This is the updated Operation Theater module for OpenMRS. I think It’s not merged with OpenMRS repo yet. So better to clone this updated repo and continue your progress.
I cloned and build and got the same issue on OT scheduling part.Every thing except OT scheduling is working fine.
jquery-1.12.4.min.js?cache=1523300750743:4 GET http://localhost:8080/openmrs/operationtheater/scheduling/schedule.action? 500 ()
send @ jquery-1.12.4.min.js?cache=1523300750743:4
ajax @ jquery-1.12.4.min.js?cache=1523300750743:4
n.(anonymous function) @ jquery-1.12.4.min.js?cache=1523300750743:4
getJSON @ jquery-1.12.4.min.js?cache=1523300750743:4
(anonymous) @ actionClickEvents.js?cache=1523300750743:53
dispatch @ jquery-1.12.4.min.js?cache=1523300750743:3
r.handle @ jquery-1.12.4.min.js?cache=1523300750743:3
VM828:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at Function.n.parseJSON (jquery-1.12.4.min.js?cache=1523300750743:4)
at Object.handleError (VM770 emr.js:238)
at Object. (actionClickEvents.js?cache=1523300750743:77)
at i (jquery-1.12.4.min.js?cache=1523300750743:2)
at Object.fireWith [as rejectWith] (jquery-1.12.4.min.js?cache=1523300750743:2)
at y (jquery-1.12.4.min.js?cache=1523300750743:4)
at XMLHttpRequest.c (jquery-1.12.4.min.js?cache=1523300750743:4)