Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Commit fe08742

Browse files
committed
Fixed Typo in SuppressedWithout EACs
1 parent 4a13af0 commit fe08742

File tree

3 files changed

+9
-28
lines changed

3 files changed

+9
-28
lines changed

api/src/main/java/org/openmrs/module/kenyaemr/reporting/builder/common/CaseSurveillanceReportBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected DataSetDefinition caseSurveillance() {
6363
cohortDsd.addColumn("HEI (6-8 weeks) without DNA PCR results", "", ReportUtils.map(publicHealthActionIndicatorLibrary.heiSixToEightWeeksMissingPCRTestsCs(), "startDate=${startDate},endDate=${endDate}"), "");
6464
cohortDsd.addColumn("HEI (24 months) without a final documented outcome", "", ReportUtils.map(publicHealthActionIndicatorLibrary.hei24MonthsUndocumentedOutcomeCs(), "startDate=${startDate},endDate=${endDate}"), "");
6565
cohortDsd.addColumn("Delayed viral load testing (Visited facility were eligible for vl but sample not taken)", "", ReportUtils.map(publicHealthActionIndicatorLibrary.delayedVLTestingZeroGracePeriod(), "startDate=${startDate},endDate=${endDate}"), "");
66-
cohortDsd.addColumn("Virally Unsuppressed without Enhanced Adherence Counselling", "(No EAC past 2 weeks)", ReportUtils.map(publicHealthActionIndicatorLibrary.txCUrrUnsuppressedWithoutEACCs(), "startDate=${startDate},endDate=${endDate}"), "");
66+
cohortDsd.addColumn("Virally Unsuppressed without Enhanced Adherence Counselling", "(No EAC past 2 weeks)", ReportUtils.map(publicHealthActionIndicatorLibrary.txCUrrUnsuppressedWithoutEACs(), "startDate=${startDate},endDate=${endDate}"), "");
6767

6868
return cohortDsd;
6969

api/src/main/java/org/openmrs/module/kenyaemr/reporting/library/ETLReports/publicHealthActionReport/PublicHealthActionCohortLibrary.java

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ public CohortDefinition unsuppressedWithoutEAC() {
907907
* @return the indicator
908908
*/
909909

910-
public CohortDefinition unsuppressedWithoutEACCs() {
910+
public CohortDefinition unsuppressedWithoutEACs() {
911911
String sqlQuery = "SELECT\n" +
912912
" b.patient_id AS unsuppressed_no_eac\n" +
913913
"FROM (\n" +
@@ -941,37 +941,25 @@ public CohortDefinition unsuppressedWithoutEACCs() {
941941
" AND e.visit_date <= DATE(:endDate)\n" +
942942
");";
943943
SqlCohortDefinition cd = new SqlCohortDefinition();
944-
cd.setName("allSuppressedWithoutEACCs");
944+
cd.setName("allSuppressedWithoutEACs");
945945
cd.setQuery(sqlQuery);
946946
cd.addParameter(new Parameter("startDate", "Start Date", Date.class));
947947
cd.addParameter(new Parameter("endDate", "End Date", Date.class));
948948
cd.setDescription("Patients with unsuppressed without Enhanced Adherence Counseling");
949949
return cd;
950950
}
951-
/**
952-
* Number of Tx Curr patients with unsuppressed VL result without Enhanced Adherence Counseling
953-
* @return the indicator
954-
*/
955-
public CohortDefinition txCUrrUnsuppressedWithoutEAC() {
956-
CompositionCohortDefinition cd = new CompositionCohortDefinition();
957-
cd.addParameter(new Parameter("startDate", "Start Date", Date.class));
958-
cd.addParameter(new Parameter("endDate", "End Date", Date.class));
959-
cd.addSearch("txcurr", ReportUtils.map(datimCohortLibrary.currentlyOnArt(), "startDate=${startDate},endDate=${endDate}"));
960-
cd.addSearch("unsuppressedWithoutEAC", ReportUtils.map(unsuppressedWithoutEAC(), "startDate=${startDate},endDate=${endDate}"));
961-
cd.setCompositionString("txcurr and unsuppressedWithoutEAC");
962-
return cd;
963-
}
951+
964952
/**
965953
* Number of Tx Curr patients with unsuppressed VL result without Enhanced Adherence Counseling Case surverillance
966954
* @return the indicator
967955
*/
968-
public CohortDefinition txCUrrUnsuppressedWithoutEACCs() {
956+
public CohortDefinition txCUrrUnsuppressedWithoutEACs() {
969957
CompositionCohortDefinition cd = new CompositionCohortDefinition();
970958
cd.addParameter(new Parameter("startDate", "Start Date", Date.class));
971959
cd.addParameter(new Parameter("endDate", "End Date", Date.class));
972960
cd.addSearch("txcurr", ReportUtils.map(datimCohortLibrary.currentlyOnArt(), "startDate=${startDate},endDate=${endDate}"));
973-
cd.addSearch("unsuppressedWithoutEACCs", ReportUtils.map(unsuppressedWithoutEACCs(), "startDate=${startDate},endDate=${endDate}"));
974-
cd.setCompositionString("txcurr and unsuppressedWithoutEACCs");
961+
cd.addSearch("unsuppressedWithoutEACs", ReportUtils.map(unsuppressedWithoutEACs(), "startDate=${startDate},endDate=${endDate}"));
962+
cd.setCompositionString("txcurr and unsuppressedWithoutEACs");
975963
return cd;
976964
}
977965

api/src/main/java/org/openmrs/module/kenyaemr/reporting/library/ETLReports/publicHealthActionReport/PublicHealthActionIndicatorLibrary.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@ public CohortIndicator unsuppressedWithValidVL() {
7171
public CohortIndicator unsuppressedWithoutValidVL() {
7272
return cohortIndicator("Unsuppressed VL result", ReportUtils.map(cohortLibrary.unsuppressedWithoutValidVL(), "startDate=${startDate},endDate=${endDate}"));
7373
}
74-
/**
75-
* Number of patients with unsuppressed VL result without Enhanced Adherence Counseling
76-
* @return the indicator
77-
*/
78-
public CohortIndicator txCUrrUnsuppressedWithoutEAC() {
79-
return cohortIndicator("Tx Curr Unsuppressed VL without EAC", ReportUtils.map(cohortLibrary.txCUrrUnsuppressedWithoutEAC(), "startDate=${startDate},endDate=${endDate}"));
80-
}
8174

8275
public CohortIndicator delayedVLTestingZeroGracePeriod() {
8376
return cohortIndicator("Tx Curr Due for VL sample not taken", ReportUtils.map(cohortLibrary.delayedVLTestingZeroGracePeriod(), "startDate=${startDate},endDate=${endDate}"));
@@ -87,8 +80,8 @@ public CohortIndicator delayedVLTestingZeroGracePeriod() {
8780
* Tx Curr with unsuppressed VL without EAC
8881
* @return
8982
*/
90-
public CohortIndicator txCUrrUnsuppressedWithoutEACCs() {
91-
return cohortIndicator("Tx Curr with unsuppressed VL without EAC", ReportUtils.map(cohortLibrary.txCUrrUnsuppressedWithoutEACCs(), "startDate=${startDate},endDate=${endDate}"));
83+
public CohortIndicator txCUrrUnsuppressedWithoutEACs() {
84+
return cohortIndicator("Tx Curr with unsuppressed VL without EAC", ReportUtils.map(cohortLibrary.txCUrrUnsuppressedWithoutEACs(), "startDate=${startDate},endDate=${endDate}"));
9285
}
9386
/**
9487
* Number of undocumented LTFU patients

0 commit comments

Comments
 (0)