Spaces:
Running
Running
| import { Module } from "@nestjs/common"; | |
| import { NotificationsService } from "./notifications.service"; | |
| import { NotificationOrchestratorService } from "./notification-orchestrator.service"; | |
| import { EducationalSchedulerService } from "./educational-scheduler.service"; | |
| import { NotificationsController } from "./notifications.controller"; | |
| import { EmailModule } from "../email/email.module"; | |
| /** | |
| * Notifications Module | |
| * | |
| * RESPONSIBILITIES: | |
| * - Send care escalation alerts | |
| * - Template-based messaging only | |
| * - No dynamic medical text generation | |
| * - Centralized notification orchestration | |
| * - Educational engagement notifications | |
| * | |
| * CLINICAL SAFETY CONSTRAINTS: | |
| * - No fear-based language | |
| * - No predictions | |
| * - Predefined templates only | |
| * - Clear, actionable guidance | |
| * | |
| * DELIVERY: | |
| * - Push notifications via Expo | |
| */ | |
| ({ | |
| imports: [EmailModule], | |
| controllers: [NotificationsController], | |
| providers: [ | |
| NotificationsService, | |
| NotificationOrchestratorService, | |
| EducationalSchedulerService, | |
| ], | |
| exports: [NotificationsService, NotificationOrchestratorService], | |
| }) | |
| export class NotificationsModule {} | |