Hello all
I’m new here, I’m trying to get Problems from Specific Patient with this two-line of code :
Patient patient = Context.getPatientService().getPatientByUuid(patientId);
List problems = Context.getPatientService().getProblems(patient.getPerson());
and get the error like this :
Caused by: java.lang.NoSuchMethodError: org.openmrs.api.PatientService.getProblems(Lorg/openmrs/Person;)Ljava/util/List; at org.openmrs.module.cwmrs.auditlog.fragment.controller.EncounterFragmentController.controller(EncounterFragmentController.java:41) … 91 more
Any idea what happens? Note: this error also occurs when getting Allergy by patient