diff --git a/api/src/main/java/org/openmrs/module/pihcore/apploader/CustomAppLoaderFactory.java b/api/src/main/java/org/openmrs/module/pihcore/apploader/CustomAppLoaderFactory.java index 9a9b1e0e0..86c2faa64 100644 --- a/api/src/main/java/org/openmrs/module/pihcore/apploader/CustomAppLoaderFactory.java +++ b/api/src/main/java/org/openmrs/module/pihcore/apploader/CustomAppLoaderFactory.java @@ -1897,9 +1897,7 @@ private void enableMCHForms() { enterStandardHtmlFormLink(PihCoreUtil.getFormResource("obGyn.xml") + "&returnUrl=/" + WebConstants.CONTEXT_PATH + "/" + patientVisitsPageWithSpecificVisitUrl), // always redirect to visit page after clicking this link PihEmrConfigConstants.PRIVILEGE_TASK_EMR_ENTER_MCH, and(sessionLocationHasTag("Maternal and Child Location"), - visitDoesNotHaveEncounterOfType(PihEmrConfigConstants.ENCOUNTERTYPE_OB_GYN_UUID), and(patientIsFemale())))); - } }