Skip to content

Commit

Permalink
POC-610: Updated DQA columns as per request from Mosoriot
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykorir committed Jan 15, 2024
1 parent 2e6f851 commit 1070ad3
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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 ''
// }
// }
},
Expand Down Expand Up @@ -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';
}
},
{
Expand Down Expand Up @@ -276,8 +280,8 @@ export class ChartAbstractionPatientlistComponent implements OnInit {
},
{
field: 'NUPI',
width: 150,
pinned: true
width: 150
// pinned: true
},
{
field: 'upi_number',
Expand Down

0 comments on commit 1070ad3

Please sign in to comment.