From 1070ad36daaac6c2b509098622fca55998d2d528 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Mon, 15 Jan 2024 17:47:41 +0300 Subject: [PATCH] POC-610: Updated DQA columns as per request from Mosoriot --- .../chart-abstraction-patientlist.component.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 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 8486c8e90..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 @@ -111,7 +111,8 @@ export class ChartAbstractionPatientlistComponent implements OnInit { visit_type: 'Visit Type', status: 'Status', // is_crag_screened: 'Baseline CrAG Screened', - cur_who_stage: 'Current Who Stage' + cur_who_stage: 'Current Who Stage', + category: 'Category' }; for (const indicator in extraColumns) { if (indicator) { @@ -146,7 +147,10 @@ export class ChartAbstractionPatientlistComponent implements OnInit { field: 'arv_first_regimen_start_date' // cellRenderer: (column) => { // if (column.value != null) { - // return moment(column.value).format('DD-MM-YYYY'); + // if (moment(column.value).isBefore('1900-01-01', 'year')){ + // return column.value; + // } + // return '' // } // } }, @@ -188,9 +192,9 @@ export class ChartAbstractionPatientlistComponent implements OnInit { width: 150, cellRenderer: (column) => { if (column.value === 0) { - return 'N'; + return 'No'; } - return 'Y'; + return 'Yes'; } }, { @@ -276,8 +280,8 @@ export class ChartAbstractionPatientlistComponent implements OnInit { }, { field: 'NUPI', - width: 150, - pinned: true + width: 150 + // pinned: true }, { field: 'upi_number',