mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage-server
synced 2026-05-18 20:08:19 +00:00
- Self-contained NestJS module: types, storage (Redis+JSON), fact providers, action handlers - PriorityConfig CRUD (slider values for task weights, campaign weights, source weights) - Score action handler with SLA multiplier + campaign multiplier formula - Worklist consumer: scores and ranks items before returning - Hospital starter template (7 rules) - REST API: /api/rules/* (CRUD, priority-config, evaluate, templates) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
582 B
TypeScript
15 lines
582 B
TypeScript
// src/rules-engine/rules-engine.module.ts
|
|
|
|
import { Module } from '@nestjs/common';
|
|
import { RulesEngineController } from './rules-engine.controller';
|
|
import { RulesEngineService } from './rules-engine.service';
|
|
import { RulesStorageService } from './rules-storage.service';
|
|
import { WorklistConsumer } from './consumers/worklist.consumer';
|
|
|
|
@Module({
|
|
controllers: [RulesEngineController],
|
|
providers: [RulesEngineService, RulesStorageService, WorklistConsumer],
|
|
exports: [RulesEngineService, RulesStorageService, WorklistConsumer],
|
|
})
|
|
export class RulesEngineModule {}
|