Features: - Backend statistics API (cloud-native Prisma aggregation) - Results page with hybrid solution (AI consensus + human final decision) - Excel export (frontend generation, zero disk write, cloud-native) - PRISMA-style exclusion reason analysis with bar chart - Batch selection and export (3 export methods) - Fixed logic contradiction (inclusion does not show exclusion reason) - Optimized table width (870px, no horizontal scroll) Components: - Backend: screeningController.ts - add getProjectStatistics API - Frontend: ScreeningResults.tsx - complete results page (hybrid solution) - Frontend: excelExport.ts - Excel export utility (40 columns full info) - Frontend: ScreeningWorkbench.tsx - add navigation button - Utils: get-test-projects.mjs - quick test tool Architecture: - Cloud-native: backend aggregation reduces network transfer - Cloud-native: frontend Excel generation (zero file persistence) - Reuse platform: global prisma instance, logger - Performance: statistics API < 500ms, Excel export < 3s (1000 records) Documentation: - Update module status guide (add Week 4 features) - Update task breakdown (mark Week 4 completed) - Update API design spec (add statistics API) - Update database design (add field usage notes) - Create Week 4 development plan - Create Week 4 completion report - Create technical debt list Test: - End-to-end flow test passed - All features verified - Performance test passed - Cloud-native compliance verified Ref: Week 4 Development Plan Scope: ASL Module MVP - Title Abstract Screening Results Cloud-Native: Backend aggregation + Frontend Excel generation
4.1 KiB
4.1 KiB
[AI对接] 业务模块快速上下文
阅读时间: 2-3分钟 | Token消耗: ~1500 tokens
层级: L1 | 前置阅读: 00-系统总体设计/[AI对接] 快速上下文.md
📋 业务模块层定位
业务模块层是面向用户的产品功能,每个模块都是独立的产品单元。
核心原则:
- ✅ 独立部署(可以单独打包部署)
- ✅ 独立销售(可以单独售卖)
- ✅ 低耦合(模块间不直接依赖)
- ✅ 高内聚(模块内功能完整)
🎯 8个业务模块
核心差异化模块(可独立售卖)
1. ASL - AI智能文献 ⭐⭐⭐⭐⭐ P0
状态: ⏳ 下一步开发(Week 2-4)
核心功能:
- 标题摘要初筛(双模型AI判断)
- 全文复筛(PDF全文分析)
- 数据提取与分析
- 系统评价与Meta分析
商业价值: 可独立售卖给系统评价研究者
独立性: ⭐⭐⭐⭐⭐(极高)
依赖: LLM网关、文档处理、RAG引擎
快速上下文: → ASL-AI智能文献/[AI对接] ASL快速上下文.md
2. DC - 数据清洗整理 ⭐⭐⭐⭐⭐ P1
状态: ⏳ 规划中
核心功能:
- 多表Excel自动JOIN(百万行级)
- 医学NER提取(病理报告、住院小结)
- 数据质量报告
商业价值: 可独立售卖给临床科室
独立性: ⭐⭐⭐⭐⭐(极高)
技术难点: 大数据处理、隐私保护、NER准确率
3. RVW - 稿件审查系统 ⭐⭐⭐⭐⭐ P1
状态: ⚡ 核心功能已完成
核心功能:
- 稿约规范性评估(11项)
- 方法学评估(3部分)
- PDF报告导出
商业价值: 可独立售卖给期刊编辑部
独立性: ⭐⭐⭐⭐⭐(极高,用户群完全不同)
协同模块
4. SSA - 智能统计分析 ⭐⭐⭐⭐⭐ P2
核心功能:
- 队列研究分析
- 预测模型构建
- RCT研究分析
技术栈: Node.js + R语言
5. ST - 统计分析工具 ⭐⭐⭐⭐ P2
核心功能: 100+种轻量化统计工具
协同: 与SSA模块组合售卖
基础模块
6. AIA - AI智能问答 ⭐⭐⭐⭐ 已完成
核心功能:
- 12个智能体(选题评价、PICO梳理等)
- 多轮对话、流式输出
- @知识库问答
状态: ✅ 已完成
7. PKB - 个人知识库 ⭐⭐⭐ 已完成
核心功能:
- 知识库CRUD
- 文档上传(PDF/Word/TXT)
- RAG问答、智能引用
状态: ✅ 已完成
管理模块
8. ADMIN - 运营管理端 ⭐⭐⭐⭐⭐ P1
核心功能(15个模块):
- P0:用户管理、Feature Flag管理、LLM模型管理、系统配置
- P1:Prompt管理、监控日志、成本分析、数据报表
- P2:租户管理、公告管理、帮助文档等
商业价值: SaaS运营基础
📊 模块独立性分析
| 模块 | 独立性 | 商业价值 | 可独立销售 |
|---|---|---|---|
| RVW | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ✅ 是(期刊) |
| ASL | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ✅ 是(研究者) |
| DC | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ✅ 是(科室) |
| ADMIN | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ✅ 是(SaaS) |
| SSA+ST | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⚠️ 组合售卖 |
| AIA+PKB | ⭐⭐⭐ | ⭐⭐⭐⭐ | ⚠️ 平台功能 |
🔗 快速导航
各模块详细文档:
- ASL-AI智能文献 - P0,下一步开发
- DC-数据清洗整理 - P1,核心竞争力
- RVW-稿件审查系统 - P1,独立系统
- ADMIN-运营管理端 - P1,商业基础
- AIA-AI智能问答 - 已完成
- PKB-个人知识库 - 已完成
- SSA-智能统计分析 - P2
- ST-统计分析工具 - P2
最后更新: 2025-11-06
维护人: 技术架构师