From 021e85cf39e244a056223da490e4cba380dbf987 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Tue, 28 Mar 2023 12:14:18 +0300 Subject: [PATCH 1/7] Eka 004 (#1565) * addedreported test date and result to family history * added reported test date and result to family history * Viral load enhancements * Viral load enhancements --- .../patients-requiring-vl-base.component.ts | 8 ++++++ .../hiv-program-snapshot.component.html | 8 ++++++ .../hiv-program-snapshot.component.ts | 26 ++++++++++++++++++- 3 files changed, 41 insertions(+), 1 deletion(-) diff --git a/src/app/hiv-care-lib/patients-requiring-vl/patients-requiring-vl-base.component.ts b/src/app/hiv-care-lib/patients-requiring-vl/patients-requiring-vl-base.component.ts index ccdf1034b..ee07e65b0 100644 --- a/src/app/hiv-care-lib/patients-requiring-vl/patients-requiring-vl-base.component.ts +++ b/src/app/hiv-care-lib/patients-requiring-vl/patients-requiring-vl-base.component.ts @@ -95,6 +95,14 @@ export class PatientsRequiringVLBaseComponent implements OnInit { cellStyle: { 'white-space': 'normal' } + }, + { + headerName: 'VL Category', + field: 'vl_category', + width: 170, + cellStyle: { + 'white-space': 'normal' + } } ]; } diff --git a/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.html b/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.html index 5ed78dea5..45a55b002 100644 --- a/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.html +++ b/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.html @@ -66,6 +66,14 @@ >
++ VL Category: {{ this.viralLoadCategory }} +
+
Date: Thu, 11 May 2023 13:16:45 +0300
Subject: [PATCH 4/7] New ART guidelines revisions
---
.../clinic-lab-orders.component.ts | 5 ++
.../defaulter-list.component.ts | 5 ++
.../hiv-enhanced-program.component.ts | 5 ++
.../patient-status-change-list.component.ts | 5 ++
...entry-statistics-patient-list.component.ts | 5 ++
.../ipt-report-patient-list.component.ts | 1 +
.../moh-731-patientlist.component.ts | 1 +
...retention-report-patient-list.component.ts | 5 ++
.../patient-reminders.component.ts | 1 +
.../patient-reminders.service.ts | 5 ++
.../hiv-summary-latest.component.html | 6 +-
.../hiv-program-snapshot.component.html | 2 +-
.../hiv-program-snapshot.component.ts | 66 +++++++++++++------
...rogram-enrollent-patient-list.component.ts | 5 ++
.../patient-list/patient-list-columns.data.ts | 5 ++
15 files changed, 98 insertions(+), 24 deletions(-)
diff --git a/src/app/clinic-dashboard/general/clinic-lab-orders/clinic-lab-orders.component.ts b/src/app/clinic-dashboard/general/clinic-lab-orders/clinic-lab-orders.component.ts
index f84d8b8ba..a0895a1a0 100644
--- a/src/app/clinic-dashboard/general/clinic-lab-orders/clinic-lab-orders.component.ts
+++ b/src/app/clinic-dashboard/general/clinic-lab-orders/clinic-lab-orders.component.ts
@@ -504,6 +504,11 @@ export class ClinicLabOrdersComponent implements OnInit, OnDestroy {
width: 200,
field: 'last_appointment'
},
+ {
+ headerName: 'Patient Category',
+ width: 150,
+ field: 'patient_category'
+ },
{
headerName: 'Latest RTC Date',
width: 150,
diff --git a/src/app/clinic-dashboard/general/defaulter-list/defaulter-list.component.ts b/src/app/clinic-dashboard/general/defaulter-list/defaulter-list.component.ts
index 99bbe31ab..b1a3b16b7 100644
--- a/src/app/clinic-dashboard/general/defaulter-list/defaulter-list.component.ts
+++ b/src/app/clinic-dashboard/general/defaulter-list/defaulter-list.component.ts
@@ -91,6 +91,11 @@ export class DefaulterListComponent implements OnInit {
width: 200,
field: 'last_appointment'
},
+ {
+ headerName: 'Patient Category',
+ width: 150,
+ field: 'patient_category'
+ },
{
headerName: 'Latest RTC Date',
width: 150,
diff --git a/src/app/clinic-dashboard/hiv/hiv-enhanced-program/hiv-enhanced-program.component.ts b/src/app/clinic-dashboard/hiv/hiv-enhanced-program/hiv-enhanced-program.component.ts
index 0aa313e35..25f745020 100644
--- a/src/app/clinic-dashboard/hiv/hiv-enhanced-program/hiv-enhanced-program.component.ts
+++ b/src/app/clinic-dashboard/hiv/hiv-enhanced-program/hiv-enhanced-program.component.ts
@@ -89,6 +89,11 @@ export class HivEnhancedComponent implements OnInit {
width: 200,
field: 'last_appointment_max'
},
+ {
+ headerName: 'Patient Category',
+ width: 150,
+ field: 'patient_category'
+ },
{
headerName: 'Latest RTC Date',
width: 150,
diff --git a/src/app/clinic-dashboard/hiv/patient-status-change-visualization/patient-status-change-list.component.ts b/src/app/clinic-dashboard/hiv/patient-status-change-visualization/patient-status-change-list.component.ts
index 6ecf9a026..4e004b144 100644
--- a/src/app/clinic-dashboard/hiv/patient-status-change-visualization/patient-status-change-list.component.ts
+++ b/src/app/clinic-dashboard/hiv/patient-status-change-visualization/patient-status-change-list.component.ts
@@ -28,6 +28,11 @@ export class PatientStatusChangeListComponent implements OnInit, OnDestroy {
width: 200,
field: 'last_appointment'
},
+ {
+ headerName: 'Patient Category',
+ width: 150,
+ field: 'patient_category'
+ },
{
headerName: 'Latest RTC Date',
width: 150,
diff --git a/src/app/data-entry-statistics/data-entry-statistics-patient-list.component.ts b/src/app/data-entry-statistics/data-entry-statistics-patient-list.component.ts
index c72f84a28..ee89aac79 100644
--- a/src/app/data-entry-statistics/data-entry-statistics-patient-list.component.ts
+++ b/src/app/data-entry-statistics/data-entry-statistics-patient-list.component.ts
@@ -103,6 +103,11 @@ export class DataEntryStatisticsPatientListComponent
width: 200,
field: 'last_appointment'
},
+ {
+ headerName: 'Patient Category',
+ width: 150,
+ field: 'patient_category'
+ },
{
headerName: 'Latest RTC Date',
width: 150,
diff --git a/src/app/hiv-care-lib/ipt-report/ipt-report-patient-list.component.ts b/src/app/hiv-care-lib/ipt-report/ipt-report-patient-list.component.ts
index 956507994..17f8d855b 100644
--- a/src/app/hiv-care-lib/ipt-report/ipt-report-patient-list.component.ts
+++ b/src/app/hiv-care-lib/ipt-report/ipt-report-patient-list.component.ts
@@ -41,6 +41,7 @@ export class IptReportPatientListComponent implements OnInit {
phone_number: 'Phone Number',
enrollment_date: 'Date Enrolled',
last_appointment: 'Latest Appointment',
+ patient_category: 'Patient Category',
latest_rtc_date: 'Latest RTC Date',
days_since_rtc_date: 'Days Since RTC',
status: 'Current Status',
diff --git a/src/app/hiv-care-lib/moh-731-report/moh-731-patientlist.component.ts b/src/app/hiv-care-lib/moh-731-report/moh-731-patientlist.component.ts
index dc4f1b9b1..9522b7ba9 100644
--- a/src/app/hiv-care-lib/moh-731-report/moh-731-patientlist.component.ts
+++ b/src/app/hiv-care-lib/moh-731-report/moh-731-patientlist.component.ts
@@ -252,6 +252,7 @@ export class Moh731PatientListComponent implements OnInit, OnChanges {
has_pending_vl_test: 'Pending Viral Load Test',
phone_number: 'Phone Number',
last_appointment: 'Latest Appointment',
+ patient_category: 'Patient Category',
latest_rtc_date: 'Latest RTC Date',
latest_vl: 'Latest VL',
latest_vl_date: 'Latest VL Date',
diff --git a/src/app/hiv-care-lib/retention-report/retention-report-patient-list.component.ts b/src/app/hiv-care-lib/retention-report/retention-report-patient-list.component.ts
index 68c3b5051..b7102892b 100644
--- a/src/app/hiv-care-lib/retention-report/retention-report-patient-list.component.ts
+++ b/src/app/hiv-care-lib/retention-report/retention-report-patient-list.component.ts
@@ -98,6 +98,11 @@ export class RetentionReportPatientListComponent implements OnInit {
field: 'visit_type',
width: 200
},
+ {
+ headerName: 'Patient Category',
+ width: 150,
+ field: 'patient_category'
+ },
{
headerName: 'Latest RTC date',
field: 'latest_rtc_date',
diff --git a/src/app/patient-dashboard/common/patient-reminders/patient-reminders.component.ts b/src/app/patient-dashboard/common/patient-reminders/patient-reminders.component.ts
index 524711bd5..2c879f7b5 100644
--- a/src/app/patient-dashboard/common/patient-reminders/patient-reminders.component.ts
+++ b/src/app/patient-dashboard/common/patient-reminders/patient-reminders.component.ts
@@ -98,6 +98,7 @@ export class PatientRemindersComponent implements OnInit, OnDestroy {
this.errorMessage = error;
}
);
+ this.patientReminderService.getVlEligible();
this.subscriptions.push(sub2);
}
}
diff --git a/src/app/patient-dashboard/common/patient-reminders/patient-reminders.service.ts b/src/app/patient-dashboard/common/patient-reminders/patient-reminders.service.ts
index 3bac9b47e..4326c660d 100644
--- a/src/app/patient-dashboard/common/patient-reminders/patient-reminders.service.ts
+++ b/src/app/patient-dashboard/common/patient-reminders/patient-reminders.service.ts
@@ -5,6 +5,7 @@ import { PatientReminderResourceService } from '../../../etl-api/patient-reminde
@Injectable()
export class PatientReminderService {
+ public vl_eligible: any;
constructor(
private patientReminderResourceService: PatientReminderResourceService
) {}
@@ -19,6 +20,7 @@ export class PatientReminderService {
personUuid: data.person_uuid,
generatedReminders: data.reminders
};
+ this.vl_eligible = data.reminders;
return remindersObj;
} else {
return {};
@@ -30,4 +32,7 @@ export class PatientReminderService {
})
);
}
+ public getVlEligible(): string {
+ return this.vl_eligible;
+ }
}
diff --git a/src/app/patient-dashboard/hiv/hiv-summary/hiv-summary-latest.component.html b/src/app/patient-dashboard/hiv/hiv-summary/hiv-summary-latest.component.html
index ed226e9e6..f2643515b 100644
--- a/src/app/patient-dashboard/hiv/hiv-summary/hiv-summary-latest.component.html
+++ b/src/app/patient-dashboard/hiv/hiv-summary/hiv-summary-latest.component.html
@@ -198,14 +198,14 @@
}}
- VL Category: {{ this.viralLoadCategory }}
- VL Category: {{ this.viralLoadCategory }}
From 6e2181a4de9a4ce6eb07a323bcc139bd6409bb99 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Tue, 16 May 2023 13:22:57 +0300 Subject: [PATCH 7/7] Update src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.ts --- .../hiv/program-snapshot/hiv-program-snapshot.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.ts b/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.ts index a3e8b4142..4704060fd 100644 --- a/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.ts +++ b/src/app/patient-dashboard/hiv/program-snapshot/hiv-program-snapshot.component.ts @@ -14,7 +14,6 @@ import { UserDefaultPropertiesService } from '../../../user-default-properties/u import { CervicalCancerScreeningSummaResourceService } from './../../../etl-api/cervical-cancer-screening-summary-resource.service'; import { Covid19ResourceService } from './../../../etl-api/covid-19-resource-service'; import { PatientReminderService } from '../../common/patient-reminders/patient-reminders.service'; -// import { PatientReminderService } from 'src/app/patient-dashboard/common/patient-reminders/patient-reminders.service.ts'; const mdtProgramUuid = 'c4246ff0-b081-460c-bcc5-b0678012659e'; const stdProgramUuid = '781d85b0-1359-11df-a1f1-0026b9348838';