From 6b2f1c1854e5bb784aba167cf0ba1cf0d457121f Mon Sep 17 00:00:00 2001 From: mzntlamelle <32940027+mzntlamelle@users.noreply.github.com> Date: Wed, 10 Sep 2025 12:05:13 +0200 Subject: [PATCH] Update clinical.min.5002d2ca.js to add more restrictions on forms Addition of more restrictions on form: MCH forms for adult females only Under5 for children below five years HEI forms for children below two years VMMC forms for males only --- clinical/clinical.min.5002d2ca.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/clinical/clinical.min.5002d2ca.js b/clinical/clinical.min.5002d2ca.js index 8aa75ad78..eebd49f3f 100644 --- a/clinical/clinical.min.5002d2ca.js +++ b/clinical/clinical.min.5002d2ca.js @@ -20696,16 +20696,29 @@ angular.module('bahmni.clinical') }); return forms; }; - + //Addition of form filters taking into account gender and age $scope.gender = $scope.patient.gender; - + $scope.age = $scope.patient.age; $scope.MCHForms = [ "Nursery Register", "Gynaecology Register", "PNC, Register", "Cervical Cancer Screening Register", "ANC Program", - "Labour and Delivery Register" + "Labour and Delivery Register", + "Family Planning Register", + "HPV REGISTER" + ], + $scope.maleForms = [ + "VMMC - Follow Up", + "VMMC - Intake" + ], + $scope.underFive_form = [ + "Under5" + ], + $scope.HEI_Forms = [ + "Exposed Infant Monitoring", + "HIV Exposed Infant Register" ] // Form Code :: End init();