From 3653048151e67e71859475c4270cd31bb57af3b3 Mon Sep 17 00:00:00 2001 From: Alfred-Mutai Date: Wed, 7 Feb 2024 11:46:33 +0300 Subject: [PATCH] Update DATIM patient list to meet new requirements --- .../tx-ml/patient-list-txml-template.json | 15 +++++++++++++++ .../tx-ml/tx-ml-report-patient-list-cols.json | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/app/reporting-framework/json-reports/tx-reports/tx-ml/patient-list-txml-template.json b/app/reporting-framework/json-reports/tx-reports/tx-ml/patient-list-txml-template.json index bb80c804c..80b4f6a1a 100644 --- a/app/reporting-framework/json-reports/tx-reports/tx-ml/patient-list-txml-template.json +++ b/app/reporting-framework/json-reports/tx-reports/tx-ml/patient-list-txml-template.json @@ -657,6 +657,21 @@ "alias": "latest_vl", "column": "fh.vl_1" }, + { + "type": "simple_column", + "alias": "weight", + "column": "fh.weight" + }, + { + "type": "simple_column", + "alias": "cd4_1", + "column": "fh.cd4_1" + }, + { + "type": "simple_column", + "alias": "cd4_1_date", + "column": "date_format(fh.cd4_1_date, '%Y-%m-%d')" + }, { "type": "derived_column", "alias": "vl_category", diff --git a/app/reporting-framework/json-reports/tx-reports/tx-ml/tx-ml-report-patient-list-cols.json b/app/reporting-framework/json-reports/tx-reports/tx-ml/tx-ml-report-patient-list-cols.json index ea1290cf7..49f9b2e4a 100644 --- a/app/reporting-framework/json-reports/tx-reports/tx-ml/tx-ml-report-patient-list-cols.json +++ b/app/reporting-framework/json-reports/tx-reports/tx-ml/tx-ml-report-patient-list-cols.json @@ -28,6 +28,11 @@ "field": "age", "width": 100 }, + { + "headerName": "Weight", + "field": "weight", + "width": 100 + }, { "headerName": "Identifiers", "field": "identifiers", @@ -48,6 +53,16 @@ "field": "latest_rtc_date", "width": 100 }, + { + "headerName": "CD4", + "field": "cd4_1", + "width": 100 + }, + { + "headerName": "CD4 Date", + "field": "cd4_1_date", + "width": 100 + }, { "headerName": "Latest VL", "field": "latest_vl",