MaternAlert / src /notifications /notifications.module.ts
Auspicious14's picture
feat(notifications): add educational notifications
f963af3
Raw
History Blame Contribute Delete
1.15 kB
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 {}