From 8ed64575aa3fcc994cb2c47ea6ff13d1cda500a2 Mon Sep 17 00:00:00 2001 From: Faith Kamau <121166087+hiqedme@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:12:47 +0300 Subject: [PATCH] POC-746 added data for HEI --- app/registers-framework/registers-db.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/registers-framework/registers-db.js b/app/registers-framework/registers-db.js index dcdc89cf1..84ebd7a19 100644 --- a/app/registers-framework/registers-db.js +++ b/app/registers-framework/registers-db.js @@ -99,6 +99,7 @@ var defs = { }); }, getCareTreatmentDetails: (params) => { + console.log('CareNATreatment: ', params); return new Promise((resolve, reject) => { let queryParts = {}; let sql = ` @@ -146,7 +147,7 @@ var defs = { WHERE fhs.is_clinical_encounter=1 and DATE(fhs.encounter_datetime) = '2024-04-02' - and fhs.location_id in (315); + and fhs.location_id in (315) group by fhs.person_id; `; queryParts = {