From 69c53fd2f2c493a50765f512babddf818cafd470 Mon Sep 17 00:00:00 2001 From: Alfred-Mutai Date: Wed, 7 Feb 2024 11:07:12 +0300 Subject: [PATCH] DATIM patient list update --- src/app/build-version/build-version.component.ts | 4 ++-- .../tx-ml-report-patient-list.component.ts | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/build-version/build-version.component.ts b/src/app/build-version/build-version.component.ts index d1f229b80..7d1241ad5 100644 --- a/src/app/build-version/build-version.component.ts +++ b/src/app/build-version/build-version.component.ts @@ -8,7 +8,7 @@ import { VERSION } from '../../environments/version'; }) export class BuildVersionComponent implements OnInit { public version: string; - public buildDate: Date; + public buildDate: string; public hash: string; constructor() {} @@ -20,7 +20,7 @@ export class BuildVersionComponent implements OnInit { try { this.version = VERSION.version; this.hash = VERSION.hash; - this.buildDate = new Date(VERSION.buildDate); + this.buildDate = 'build Jan 15, 2024, 6:51:04 PM'; // new Date(VERSION.buildDate); } catch (e) {} } } diff --git a/src/app/hiv-care-lib/tx-ml-report/tx-ml-report-patient-list/tx-ml-report-patient-list.component.ts b/src/app/hiv-care-lib/tx-ml-report/tx-ml-report-patient-list/tx-ml-report-patient-list.component.ts index b489dc493..5cc0afd57 100644 --- a/src/app/hiv-care-lib/tx-ml-report/tx-ml-report-patient-list/tx-ml-report-patient-list.component.ts +++ b/src/app/hiv-care-lib/tx-ml-report/tx-ml-report-patient-list/tx-ml-report-patient-list.component.ts @@ -54,12 +54,15 @@ export class TxMlReportPatientListComponent implements OnInit { public addExtraColumns() { const extraColumns = { + weight: 'Weight', phone_number: 'Phone', enrollment_date: 'Enrolment Date', last_appointment: 'Last Appointment', latest_rtc_date: 'Latest RTC Date', days_since_rtc_date: 'Days since RTC', arv_first_regimen: 'ARV first regimen', + cd4_1: 'CD4', + cd4_1_date: 'CD4 Date', arv_first_regimen_start_date: 'First ARV start date', cur_meds: 'Current Regimen', cur_arv_line: 'Current ARV Line',