From 706bd89b4ee0d45edb46b2e251d47969054ced18 Mon Sep 17 00:00:00 2001 From: Henry Korir <5462699+henrykorir@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:03:32 +0300 Subject: [PATCH 1/5] POC-610: Fixed DQA filter to be a ALL by default (#1696) --- .../chart-abstraction-patientlist.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts b/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts index 468271f78..4746b83bc 100644 --- a/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts +++ b/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts @@ -42,7 +42,7 @@ export class ChartAbstractionPatientlistComponent implements OnInit { startDate: this.params.startDate, endDate: this.params.endDate, patientType: this.params.patientType, - limit: this.params.limit ? this.params.limit : 10, + limit: this.params.limit ? this.params.limit : 'all', offset: 0 }; this.getPatientList(requestParams); From 4e3161ab44c4645261416dfd00a45518c714a2cf Mon Sep 17 00:00:00 2001 From: Alfred Mutai <124869802+Alfred-Mutai@users.noreply.github.com> Date: Mon, 15 Jan 2024 09:58:36 +0300 Subject: [PATCH 2/5] Release build (#1698) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 37405ad0d..4716e62be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-amrs", - "version": "2.18.0", + "version": "2.18.1", "scripts": { "ng": "ng", "start": "ng serve --host 0.0.0.0 --port 3000", From 63d3f19564d21dc6b6e13bf2b41a017bfda1cc05 Mon Sep 17 00:00:00 2001 From: Henry Korir <5462699+henrykorir@users.noreply.github.com> Date: Mon, 15 Jan 2024 18:34:44 +0300 Subject: [PATCH 3/5] POC-610: DQA Updates as per nascop dictionary (#1699) * POC-610: Fixed DQA filter to be a ALL by default * POC-610: Updated DQA Indicators * POC-610: Updated DQA columns as per request from Mosoriot --- ...chart-abstraction-patientlist.component.ts | 211 +++++++++++------- 1 file changed, 127 insertions(+), 84 deletions(-) diff --git a/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts b/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts index 4746b83bc..b2a276c3d 100644 --- a/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts +++ b/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts @@ -71,37 +71,48 @@ export class ChartAbstractionPatientlistComponent implements OnInit { hide = false; } const extraColumns = { - birthdate: 'DOB', - sex_gender: 'Gender', + NUPI: 'NUPI', + sex_gender: 'Sex', + birthdate: 'Date of Birth', + hiv_start_date: 'Date Confirmed HIV Positive', + arv_first_regimen_start_date: 'Date of ART Initiation', + arv_start_date: 'Date of Current ART Initiation', drugs_given: 'Current ART Regimen', + cur_arv_med_basis: 'Current ART Regimen', drugs_duration: 'Drug dosage given (duration)', - weight: 'Weight', - height: 'Height', - muac: 'MUAC', - BMI: 'BMI', + height: 'Height at Last visit', + weight: 'Weight at Last visit', + BMI: 'BMI at Last visit', + muac: 'MUAC at Last visit', + tb_screened_this_visit: 'Was TB Screening done at last visit', + tb_screening_result: 'TB Screening outcomes', + last_ipt_start_date: 'IPT start date', + tpt_status: 'IPT status', + ipt_completion_date: 'IPT outcome date', + viral_load_validity: 'Does the client have a Valid Viral load result', + vl_suppression: 'Is the client virally suppressed', + cd4_1: 'Baseline screening for CD4', + has_cd4_1: 'Does this client have Baseline screening for CD4', + is_crag_screened: 'Does this client have Baseline screening for CrAG', + last_clinical_encounter: 'Last clinical encounter date', sysBP: 'Systolic BP', dysBP: 'Diastolic BP', nutrition: 'Nutrition Assessment Done', DSD: 'DSD Model', - hiv_start_date: 'Date Confirmed HIV Positive', - arv_start_date: 'Date of ART Initiation', - cd4_1: 'Baseline CD4 Test Result', - vl_1: 'Latest Valid VL', - tpt_status: 'IPT Status', + // cd4_1: 'Baseline CD4 Test Result', + // vl_1: 'Latest Valid VL', + vl_1: 'Does the client have a Valid viral load result', ovcid_id: 'OVCID', - last_ipt_start_date: 'IPT Start Date', ipt_stop_date: 'IPT Stop Date', - ipt_completion_date: 'IPT Completion Date', - last_clinical_encounter: 'Last Clinical Encounter', - last_appointment_date: 'Date of Last Appointment', - next_appointment: 'Date of Next Appointment ', + // last_clinical_encounter: 'Last Clinical Encounter', + // last_appointment_date: 'Date of Last Appointment', + next_appointment: 'Next appointment date', + // next_appointment: 'Date of Next Appointment ', visit_type: 'Visit Type', - tb_screened_this_visit: 'TB screening', - tb_screening_result: 'TB Screening Outcomes', status: 'Status', - is_crag_screened: 'Baseline CrAG Screened', - vl_suppression: 'VL Suppression', - cur_who_stage: 'Current Who Stage' + // is_crag_screened: 'Baseline CrAG Screened', + cur_who_stage: 'Current Who Stage', + category: 'Category' }; for (const indicator in extraColumns) { if (indicator) { @@ -112,63 +123,78 @@ export class ChartAbstractionPatientlistComponent implements OnInit { } } this.overrideColumns.push( + { field: 'ccc_number', hide: true, pinned: true }, { field: 'birthdate', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('YYYY-MM-DD'); - } - }, + // cellRenderer: (column) => { + // if (column.value != null) { + // // return moment(column.value).format('YYYY-MM-DD'); + // return moment(column.value).format('DD-MMM-YYYY'); + // } + // return 'missing'; + // }, pinned: false }, { - field: 'last_appointment_date', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - } + field: 'last_appointment_date' + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // } + }, + { + field: 'arv_first_regimen_start_date' + // cellRenderer: (column) => { + // if (column.value != null) { + // if (moment(column.value).isBefore('1900-01-01', 'year')){ + // return column.value; + // } + // return '' + // } + // } }, { field: 'arv_start_date', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - } + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // }, + hide: true }, { - field: 'hiv_start_date', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - } + field: 'hiv_start_date' + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // } }, { - field: 'last_clinical_encounter', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - } + field: 'last_clinical_encounter' + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // } }, { - field: 'next_appointment', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - } + field: 'next_appointment' + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // } }, { field: 'tb_screened_this_visit', width: 150, cellRenderer: (column) => { if (column.value === 0) { - return 'NO'; + return 'No'; } - return 'YES'; + return 'Yes'; } }, { @@ -179,7 +205,7 @@ export class ChartAbstractionPatientlistComponent implements OnInit { } return column.value; }, - hide: false + hide: true }, { field: 'nutrition', @@ -193,43 +219,36 @@ export class ChartAbstractionPatientlistComponent implements OnInit { }, { field: 'last_ipt_start_date', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - }, + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // }, hide: false }, { field: 'ipt_completion_date', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - }, + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // }, hide: false }, { field: 'ipt_stop_date', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - }, + // cellRenderer: (column) => { + // if (column.value != null) { + // return moment(column.value).format('DD-MM-YYYY'); + // } + // }, hide: true, suppressToolPanel: true }, - { - field: 'arv_start_date', - cellRenderer: (column) => { - if (column.value != null) { - return moment(column.value).format('DD-MM-YYYY'); - } - } - }, { field: 'drugs_given', - width: 280 + width: 280, + hide: true }, { field: 'height', @@ -261,11 +280,23 @@ export class ChartAbstractionPatientlistComponent implements OnInit { }, { field: 'NUPI', + width: 150 + // pinned: true + }, + { + field: 'upi_number', width: 150, - pinned: true + hide: true, + pinned: true, + suppressToolPanel: true }, { field: 'drugs_given', + width: 280, + hide: true + }, + { + field: 'cur_arv_med_basis', width: 280 }, { @@ -298,7 +329,9 @@ export class ChartAbstractionPatientlistComponent implements OnInit { }, { field: 'age', - width: 150 + width: 150, + hide: true, + suppressToolPanel: true }, { field: 'sex_gender', @@ -361,6 +394,16 @@ export class ChartAbstractionPatientlistComponent implements OnInit { field: 'is_crag_screened', width: 150, hide: false + }, + { + field: 'status', + width: 150, + hide: true + }, + { + field: 'cd4_1', + width: 150, + hide: true } ); } From 6d238f4392f8b8bd948d1d21c6dda2e9ad8eb918 Mon Sep 17 00:00:00 2001 From: Henry Korir <5462699+henrykorir@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:31:49 +0300 Subject: [PATCH 4/5] POC-610: Update Date formating (#1701) --- ...chart-abstraction-patientlist.component.ts | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts b/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts index b2a276c3d..86c445237 100644 --- a/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts +++ b/src/app/hiv-care-lib/dqa-reports/chart-abstraction-patientlist/chart-abstraction-patientlist.component.ts @@ -73,10 +73,10 @@ export class ChartAbstractionPatientlistComponent implements OnInit { const extraColumns = { NUPI: 'NUPI', sex_gender: 'Sex', - birthdate: 'Date of Birth', - hiv_start_date: 'Date Confirmed HIV Positive', - arv_first_regimen_start_date: 'Date of ART Initiation', - arv_start_date: 'Date of Current ART Initiation', + birthdate: 'Date of Birth (DD/MM/YYYY)', + hiv_start_date: 'Date Confirmed HIV Positive (DD/MM/YYYY)', + arv_first_regimen_start_date: 'Date of ART Initiation (DD/MM/YYYY)', + arv_start_date: 'Date of Current ART Initiation (DD/MM/YYYY)', drugs_given: 'Current ART Regimen', cur_arv_med_basis: 'Current ART Regimen', drugs_duration: 'Drug dosage given (duration)', @@ -86,15 +86,15 @@ export class ChartAbstractionPatientlistComponent implements OnInit { muac: 'MUAC at Last visit', tb_screened_this_visit: 'Was TB Screening done at last visit', tb_screening_result: 'TB Screening outcomes', - last_ipt_start_date: 'IPT start date', + last_ipt_start_date: 'IPT start date (DD/MM/YYYY)', tpt_status: 'IPT status', - ipt_completion_date: 'IPT outcome date', + ipt_completion_date: 'IPT outcome date (DD/MM/YYYY)', viral_load_validity: 'Does the client have a Valid Viral load result', vl_suppression: 'Is the client virally suppressed', cd4_1: 'Baseline screening for CD4', has_cd4_1: 'Does this client have Baseline screening for CD4', is_crag_screened: 'Does this client have Baseline screening for CrAG', - last_clinical_encounter: 'Last clinical encounter date', + last_clinical_encounter: 'Last clinical encounter date (DD/MM/YYYY)', sysBP: 'Systolic BP', dysBP: 'Diastolic BP', nutrition: 'Nutrition Assessment Done', @@ -103,10 +103,10 @@ export class ChartAbstractionPatientlistComponent implements OnInit { // vl_1: 'Latest Valid VL', vl_1: 'Does the client have a Valid viral load result', ovcid_id: 'OVCID', - ipt_stop_date: 'IPT Stop Date', + ipt_stop_date: 'IPT Stop Date (DD/MM/YYYY)', // last_clinical_encounter: 'Last Clinical Encounter', // last_appointment_date: 'Date of Last Appointment', - next_appointment: 'Next appointment date', + next_appointment: 'Next appointment date (DD/MM/YYYY)', // next_appointment: 'Date of Next Appointment ', visit_type: 'Visit Type', status: 'Status', @@ -188,14 +188,14 @@ export class ChartAbstractionPatientlistComponent implements OnInit { // } }, { - field: 'tb_screened_this_visit', - width: 150, - cellRenderer: (column) => { - if (column.value === 0) { - return 'No'; - } - return 'Yes'; - } + field: 'tb_screened_this_visit' + // width: 150, + // cellRenderer: (column) => { + // if (column.value === 0) { + // return 'No'; + // } + // return 'Yes'; + // } }, { field: 'vl_1', From 1127c3d45b87b4e7d595fec049d49ba7e9687833 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:42:05 +0300 Subject: [PATCH 5/5] POC-563:Added sms outcome and comments column (#1703) * added sms outcome column to pre-appoiment line list * POC-563: added sms outcome and comments column on pre-appointment linelist --- .../pre-appointment-outreach.component.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts b/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts index 776052c60..adc07d908 100644 --- a/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts +++ b/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts @@ -223,6 +223,16 @@ export class PreAppointmentOutreachComponent implements OnInit { width: 100, field: 'number_of_failed_phone_attempts' }, + { + headerName: 'Comments ', + width: 100, + field: 'comments' + }, + { + headerName: 'SMS outcome ', + width: 100, + field: 'sms_delivery_status' + }, { headerName: 'Contact Reached', width: 100,