diff --git a/src/app/navigation/side-navigation/patient-side-nav/patient-side-nav-routes.factory.ts b/src/app/navigation/side-navigation/patient-side-nav/patient-side-nav-routes.factory.ts index 523d713bf..424b6d435 100644 --- a/src/app/navigation/side-navigation/patient-side-nav/patient-side-nav-routes.factory.ts +++ b/src/app/navigation/side-navigation/patient-side-nav/patient-side-nav-routes.factory.ts @@ -17,7 +17,7 @@ export class PatientRoutesFactory { patientRoutesConfig = this.processSharedRoutes(patientRoutesConfig); const routes: RouteModel[] = []; - if (Moment().diff(Moment(patient.person.birthdate), 'months') <= 18) { + if (patient.enrolledPrograms[26].isEnrolled) { patientRoutesConfig.sharedRoutes.hiv[3] = { url: 'hiv-summary', label: 'HEI Summary',