From 1127c3d45b87b4e7d595fec049d49ba7e9687833 Mon Sep 17 00:00:00 2001 From: Angie-540 <96350406+Angie-540@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:42:05 +0300 Subject: [PATCH 1/2] POC-563:Added sms outcome and comments column (#1703) * added sms outcome column to pre-appoiment line list * POC-563: added sms outcome and comments column on pre-appointment linelist --- .../pre-appointment-outreach.component.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts b/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts index 776052c60..adc07d908 100644 --- a/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts +++ b/src/app/clinic-dashboard/general/pre-appointment-outreach/pre-appointment-outreach.component.ts @@ -223,6 +223,16 @@ export class PreAppointmentOutreachComponent implements OnInit { width: 100, field: 'number_of_failed_phone_attempts' }, + { + headerName: 'Comments ', + width: 100, + field: 'comments' + }, + { + headerName: 'SMS outcome ', + width: 100, + field: 'sms_delivery_status' + }, { headerName: 'Contact Reached', width: 100, From b6ab85ea3a62bea8d15f33bae279c4342a2bca51 Mon Sep 17 00:00:00 2001 From: Alfred Mutai <124869802+Alfred-Mutai@users.noreply.github.com> Date: Fri, 26 Jan 2024 16:48:56 +0300 Subject: [PATCH 2/2] POC-635 : Patient relationship bug (#1706) * Patient relationship bug * Patient relationship bug --- .../locator-pretty-viewer/locator-pretty-viewer.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/patient-dashboard/common/formentry/locator-pretty-viewer/locator-pretty-viewer.component.ts b/src/app/patient-dashboard/common/formentry/locator-pretty-viewer/locator-pretty-viewer.component.ts index ff1eaaf41..1e95dc6ea 100644 --- a/src/app/patient-dashboard/common/formentry/locator-pretty-viewer/locator-pretty-viewer.component.ts +++ b/src/app/patient-dashboard/common/formentry/locator-pretty-viewer/locator-pretty-viewer.component.ts @@ -31,7 +31,6 @@ export class LocatorPrettyViewerComponent implements OnInit { } } this.mappedAttributes = this.generateMappings(this.data); - console.log('mappedAttributes', this.mappedAttributes); } generateMappings(data: any) { @@ -46,7 +45,9 @@ export class LocatorPrettyViewerComponent implements OnInit { for (const item of data[type]) { if (type === 'obs' && item.concept.name.display) { mappings[type][item.concept.name.display] = - item.value.display || item.value; + item.value && item.value.display + ? item.value.display + : item.value || null; } else if (type === 'attributes' && item.display) { const parts = item.display.split('='); if (parts.length === 2) {