Files
AIclinicalresearch/docs/02-通用能力层/05-医学NLP引擎
HaHafeng 8eef9e0544 feat(asl): Complete Week 4 - Results display and Excel export with hybrid solution
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
2025-11-21 20:12:38 +08:00
..

医学NLP引擎

能力定位: 通用能力层
复用率: 14% (1个模块依赖)
优先级: P2
状态: 待实现


📋 能力概述

医学NLP引擎负责

  • 医学实体识别NER
  • 医学术语标准化
  • 疾病/药物识别

📊 依赖模块

1个模块依赖14%复用率):

  1. DC - 数据清洗整理病例数据NER提取

💡 核心功能

1. 医学实体识别

  • 疾病识别
  • 药物识别
  • 手术识别
  • TNM分期提取

2. 术语标准化

  • ICD编码
  • ATC编码

3. 关系抽取

  • 疾病-药物关系
  • 症状-疾病关系

🏗️ 技术方案

云端版(高准确率)

# 基于LLM APIClaude/GPT
# JSON Mode结构化输出

单机版(隐私优先)

# 基于spaCy + 医学模型
# 100%本地运行

🔗 相关文档


最后更新: 2025-11-06
维护人: 技术架构师