Files
AIclinicalresearch/git-cleanup-redcap.ps1
HaHafeng bdfca32305 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幂等性 + 轮询补充机制
2026-01-02 14:30:38 +08:00

19 lines
684 B
PowerShell

# Git cleanup script for REDCap source code folders
# Remove from Git tracking but keep local files
cd D:\MyCursor\AIclinicalresearch
Write-Host "Removing REDCap source folders from Git tracking..." -ForegroundColor Yellow
# Remove from Git cache (but keep local files)
git rm -r --cached redcap15.8.0 2>$null
git rm -r --cached redcap_external_module_framework_docs_main 2>$null
git rm -r --cached redcap_external_module_framework_docs_main/guanfangexternal-module-framework-docs-main 2>$null
Write-Host "Cleanup complete! Files removed from Git but preserved locally." -ForegroundColor Green
Write-Host ""
Write-Host "Next step: Run the commit command" -ForegroundColor Cyan