From 96f4f3ed37c720f22ba3ea1dcf52d7dddad1298b Mon Sep 17 00:00:00 2001 From: sainingo Date: Thu, 14 Dec 2023 17:56:10 +0300 Subject: [PATCH] Modify encounter uuid --- src/app/models/group.model.ts | 2 +- .../patient-dashboard/common/formentry/formentry.component.ts | 2 +- .../common/patient-banner/patient-banner.component.ts | 2 +- src/app/program-manager/new-program/new-program.component.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/models/group.model.ts b/src/app/models/group.model.ts index a5a9c6310..eaecc745a 100644 --- a/src/app/models/group.model.ts +++ b/src/app/models/group.model.ts @@ -90,7 +90,7 @@ export class Group extends BaseModel { } public get viralSuppression() { - return this._viralSuppression || 'Unkown ' + '%'; + return this._viralSuppression || 'Unkown %'; } public set viralSuppression(value: string) { diff --git a/src/app/patient-dashboard/common/formentry/formentry.component.ts b/src/app/patient-dashboard/common/formentry/formentry.component.ts index 097a1c066..85b450062 100644 --- a/src/app/patient-dashboard/common/formentry/formentry.component.ts +++ b/src/app/patient-dashboard/common/formentry/formentry.component.ts @@ -1282,7 +1282,7 @@ export class FormentryComponent implements OnInit, OnDestroy { this.handleSuccessfulFormSubmission(data); this.formSubmissionService.setSubmitStatus(false); this.enableSubmitBtn(); - if (this.formUuid === 'e2c0990c-4d2b-4c09-806f-cffe50a8fc27') { + if (this.formUuid === 'ca5ccb72-5623-4b94-97a3-6b5dac5f8560') { this.isOtzProgram = true; this.enrollPatientToOtzProgram(); } diff --git a/src/app/patient-dashboard/common/patient-banner/patient-banner.component.ts b/src/app/patient-dashboard/common/patient-banner/patient-banner.component.ts index 301732f05..6b90d1e65 100644 --- a/src/app/patient-dashboard/common/patient-banner/patient-banner.component.ts +++ b/src/app/patient-dashboard/common/patient-banner/patient-banner.component.ts @@ -321,7 +321,7 @@ export class PatientBannerComponent implements OnInit, OnDestroy, OnChanges { } public enrollToOtz() { - const otzEnrollmentFormUuid = 'e2c0990c-4d2b-4c09-806f-cffe50a8fc27'; + const otzEnrollmentFormUuid = 'ca5ccb72-5623-4b94-97a3-6b5dac5f8560'; this.router.navigate([ '/patient-dashboard/patient/' + this.patient.uuid + diff --git a/src/app/program-manager/new-program/new-program.component.ts b/src/app/program-manager/new-program/new-program.component.ts index 3ed1f81df..4c2488936 100644 --- a/src/app/program-manager/new-program/new-program.component.ts +++ b/src/app/program-manager/new-program/new-program.component.ts @@ -141,7 +141,7 @@ export class NewProgramComponent this.selectedProgram.concept.uuid === 'fd90d6b2-7302-4a9c-ad1b-1f93eff77afb' ) { - const otzEnrollmentFormUuid = 'e2c0990c-4d2b-4c09-806f-cffe50a8fc27'; + const otzEnrollmentFormUuid = 'ca5ccb72-5623-4b94-97a3-6b5dac5f8560'; this.showOtzEnrollmentForm = true; this.router.navigate([ '/patient-dashboard/patient/' +