From e0449365f8dc5fb282a5e011d99a6e2d0494798c Mon Sep 17 00:00:00 2001
From: Faith Kamau <121166087+hiqedme@users.noreply.github.com>
Date: Wed, 24 Jul 2024 09:13:14 +0300
Subject: [PATCH 1/2] Corrections: added verification
---
.../patient-banner.component.html | 74 +++++++++----------
.../patient-banner.component.ts | 12 +++
2 files changed, 49 insertions(+), 37 deletions(-)
diff --git a/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html b/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html
index 7451cc5e9..5234c83b9 100644
--- a/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html
+++ b/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html
@@ -82,24 +82,24 @@
UPI:
{{ searchIdentifiers?.upi }}
-
-
- Verify Patient
-
+
+
+
+ Verify Patient
UPI:
{{ searchIdentifiers?.upi }}
-
-
- Verify Patient
-
+
+
+
+ Verify Patient
) {
+ _.filter(
+ enrolledPrograms,
+ ({ concept }) => concept.uuid === '23e234c3-5d8a-46ca-8465-3b746143dd68'
+ ).length > 0
+ ? (this.isVerifiable = false)
+ : (this.isVerifiable = true);
+ }
private getHIVPatient(enrolledPrograms: Array) {
_.filter(enrolledPrograms, ({ baseRoute }) => baseRoute === 'hiv').length >
From c7762eafa9bee7c4349f8727b3df76457edd2f1c Mon Sep 17 00:00:00 2001
From: Faith Kamau <121166087+hiqedme@users.noreply.github.com>
Date: Wed, 24 Jul 2024 10:18:22 +0300
Subject: [PATCH 2/2] Corrections: added verification
---
.../patient-banner/patient-banner.component.html | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html b/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html
index 5234c83b9..3ce2edc41 100644
--- a/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html
+++ b/src/app/patient-dashboard/common/patient-banner/patient-banner.component.html
@@ -84,7 +84,12 @@