docs(iit): REDCap对接技术方案完成与模块状态更新

- 新增《REDCap对接技术方案与实施指南》(1070行)
  - 确定DET+REST API技术方案(不使用External Module)
  - 完整RedcapAdapter/WebhookController/SyncManager代码设计
  - Day 2详细实施步骤与验收标准
- 更新《IIT Manager Agent模块当前状态与开发指南》
  - 记录REDCap本地环境部署完成(15.8.0)
  - 记录对接方案确定过程与技术决策
  - 更新Day 2工作计划(6个阶段详细清单)
  - 整体进度18%(Day 1完成+REDCap环境就绪)
- REDCap环境准备完成
  - 测试项目test0102(PID 16)创建成功
  - DET功能源码验证通过
  - 本地Docker环境稳定运行

技术方案:
- 实时触发: Data Entry Trigger (0秒延迟)
- 数据拉取: REST API exportRecords (增量同步)
- 轮询补充: pg-boss定时任务 (每30分钟)
- 可靠性: Webhook幂等性 + 轮询补充机制
This commit is contained in:
2026-01-02 14:30:38 +08:00
parent dbca1615b5
commit bdfca32305
132 changed files with 1532 additions and 242 deletions

View File

@@ -335,5 +335,6 @@ runTests().catch((error) => {

View File

@@ -314,5 +314,6 @@ Content-Type: application/json

View File

@@ -250,5 +250,6 @@ export const conflictDetectionService = new ConflictDetectionService();

View File

@@ -200,5 +200,6 @@ curl -X POST http://localhost:3000/api/v1/dc/tool-c/test/execute \

View File

@@ -254,5 +254,6 @@ export const streamAIController = new StreamAIController();

View File

@@ -15,3 +15,4 @@ export * from './routes';
export * from './types';

View File

@@ -23,3 +23,4 @@ export async function registerIitRoutes(fastify: FastifyInstance) {
}

View File

@@ -151,3 +151,4 @@ testIitDatabase()
});

View File

@@ -221,3 +221,4 @@ export interface CachedProtocolRules {
}