Features: - Report templates with customizable layouts - Report generator for patient summaries, stats, KPIs - Clinical statistics service with dashboard data - Scheduled reports with email delivery - Export formats: PDF, Excel, CSV Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
575 B
TypeScript
20 lines
575 B
TypeScript
import { Router } from 'express';
|
|
import { DataSource } from 'typeorm';
|
|
import { ReportsClinicalController } from './controllers';
|
|
|
|
export interface ReportsClinicalModuleOptions {
|
|
dataSource: DataSource;
|
|
basePath?: string;
|
|
}
|
|
|
|
export class ReportsClinicalModule {
|
|
public router: Router;
|
|
private controller: ReportsClinicalController;
|
|
|
|
constructor(options: ReportsClinicalModuleOptions) {
|
|
const { dataSource, basePath = '/api' } = options;
|
|
this.controller = new ReportsClinicalController(dataSource, basePath);
|
|
this.router = this.controller.router;
|
|
}
|
|
}
|