From 57bacca917ad0a05242ba515c3f5ccfa7a303d92 Mon Sep 17 00:00:00 2001 From: derrick rono Date: Fri, 22 Sep 2023 15:08:13 +0300 Subject: [PATCH] POC-535 --- .../visit/visit-details/visit-details.component.html | 9 +++++++++ .../visit/visit-details/visit-details.component.ts | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.html b/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.html index 0ab13d8c5..c005737f1 100644 --- a/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.html +++ b/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.html @@ -164,6 +164,15 @@

>To access clinical forms kindly fill Covid 19 Assessment Form +
+ To access clinical forms kindly fill Enhanced Adherence Encounter Form Form +
diff --git a/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.ts b/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.ts index 84b65c165..2a6a46623 100644 --- a/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.ts +++ b/src/app/patient-dashboard/common/visit/visit-details/visit-details.component.ts @@ -33,6 +33,7 @@ export class VisitDetailsComponent implements OnInit { public retrospectiveAttributeTypeUuid = '3bb41949-6596-4ff9-a54f-d3d7883a69ed'; public qualifiesForCovidScreening = false; + public isViremicHighVL = false; public isRetrospectiveVisit = false; public get visitEncounters(): any[] { @@ -229,9 +230,14 @@ export class VisitDetailsComponent implements OnInit { if (e.errors && e.errors.covidError != null) { this.qualifiesForCovidScreening = true; } + if (e.errors && e.errors.viremiaError != null) { + this.isViremicHighVL = true; + } }); } + console.log('outpue', this.isViremicHighVL); + if ( visitType && Array.isArray(visitType.encounterTypes.allowedEncounters)