Spaces:
Running
Running
File size: 1,153 Bytes
f78b36a f963af3 f78b36a 9d53e35 f78b36a f963af3 f78b36a f963af3 f78b36a 9d53e35 f78b36a f963af3 f78b36a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 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
* - Email
*/
@Module({
imports: [EmailModule],
controllers: [NotificationsController],
providers: [
NotificationsService,
NotificationOrchestratorService,
EducationalSchedulerService,
],
exports: [NotificationsService, NotificationOrchestratorService],
})
export class NotificationsModule {}
|