Skip to content

Commit

Permalink
POC-535
Browse files Browse the repository at this point in the history
  • Loading branch information
drizzentic committed Sep 22, 2023
1 parent d6d9571 commit 57bacca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,15 @@ <h3 *ngIf="confirmingCancelVisit || confirmingEndVisit">
>To access clinical forms kindly fill Covid 19 Assessment Form</strong
>
</div>
<div
class="alert alert-danger"
*ngIf="isViremicHighVL"
style="margin-top: 10px"
>
<strong
>To access clinical forms kindly fill Enhanced Adherence Encounter Form Form</strong
>
</div>
</div>
</div>
<span style="padding: 10px"></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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[] {
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 57bacca

Please sign in to comment.