Openmrs OperationTheatre Module

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.

Can someone help me out.How Can I make this module up and running.

I am using opermrs 2.0.5 Build 9f9213

@naveed1228 did you download it from
give the repo if you don’t mind so we can look at the version compatibilty

It’s not available on the repository on the documentation.It is stated that you need to clone and build and upload through manage module interface.

However if am not mistaken says it requires Java 8 and Platform 2.6 while

So during the build you need to configure the pom.xml and config files.

Do you mind upgrading to Platform 2.6

Hi @naveed1228,

Can you please have a look at here,

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.

cc : @merovingienne

1 Like

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)

Hello Naveed,

I will take a look at this and get back to you asap. In the meantime, check what the server logs say when you try to run OT scheduling.