I have defined a function in core (PR) which I’m trying to call in emrapi (PR), but it gives me
this error while building emrapi. For some reason it is not able to find the function that needs to be called though it is defined.
@haripriya999 , Obviously this method doesnt exist any where in the core, it still lives in your PR , theres no way you can call it from here . Until your Pr is merged and at the same time you depend on the latest changes in the master , or probably its back ported to the core version that core apps depends on
Your PR will be basically merged into the core master(latest-snapshot version), yet emr-api module depends on <openMRSVersion>1.11.6</openMRSVersion> .
So that commit will have to be backpoted back to version 1.11.6 or The openmrs version emr-api depends on to be changed to the latest snaphot version()