Skip to content

v2.2.0

Pre-release
Pre-release

Choose a tag to compare

@fjiexiao fjiexiao released this 29 Mar 00:37
· 335 commits to master since this release

Full Changelog: v2.1.1...v2.2.0

Overview / 概述

v2.2.0 focuses on report lifecycle improvements and more reliable clinical summary behavior.

v2.2.0 主要聚焦于报告管理能力补全,以及临床摘要与可视化口径的一致化。

This release adds end-to-end document deletion support, prevents newly uploaded reports from inheriting stale manual titles, and ensures cumulative aggregation is only used where it is clinically meaningful.

本版本新增了完整的报告删除能力,修复了新上传报告沿用旧标题的问题,并统一了“哪些指标应累计、哪些应取最新”的展示逻辑。

What's Changed / 更新内容

Report management / 报告管理

  • Added document deletion support across API, storage, and mobile report detail flow

  • Deleting a report now removes it from the patient record and triggers recalculation of downstream summaries

  • Storage cleanup is supported for both local file storage and MinIO-backed storage

  • 新增报告删除功能,覆盖 API、存储层和移动端报告详情页

  • 删除报告后,会从患者档案中移除,并触发下游摘要与可视化的重新计算

  • 同时支持本地文件存储和 MinIO 存储的删除清理

Report titles and recognition / 报告标题与识别展示

  • Newly uploaded reports no longer inherit stale manual titles from previous uploads

  • Report display titles now prefer OCR-recognized report labels and classified types

  • Timeline and summary views now align more closely with recognized report content

  • 新上传报告不再沿用上一次手动输入的旧标题

  • 报告展示标题现在优先使用 OCR 识别出的报告标签和分类结果

  • 时间线与摘要页的报告命名现在更贴近真实识别内容

Clinical passport and aggregation rules / 临床护照与汇总规则

  • MRI findings continue to aggregate across multiple reports for cumulative body-map presentation

  • Passport report titles now use recognized labels instead of stale generic names where available

  • Latest-only logic is preserved for blood tests, respiratory monitoring, and cardiac monitoring

  • Strength remains based on the most recent structured record for each muscle group

  • MRI 受累图继续按多份报告累计展示,避免新报告覆盖旧受累分布

  • 临床护照中的报告标题改为优先展示识别结果,而不是沿用旧的通用命名

  • 血检、呼吸、心脏监测继续保持“最新一次”口径

  • 肌力继续按每个肌群最近一次结构化记录展示

Validation / 验证情况

The following checks were completed successfully:

  • npm run lint --workspace @openrd/api
  • npm run build --workspace @openrd/api
  • npm run lint --workspace @openrd/mobile
  • npx tsc --noEmit -p apps/mobile/tsconfig.json

本版本已完成以下检查并通过:

  • npm run lint --workspace @openrd/api
  • npm run build --workspace @openrd/api
  • npm run lint --workspace @openrd/mobile
  • npx tsc --noEmit -p apps/mobile/tsconfig.json

Upgrade Notes / 升级说明

No database migration is required for this release.

本版本不涉及数据库迁移。

If you are already on a v2 deployment:

  • pull the latest release/v2 or checkout v2.2.0
  • rebuild and redeploy the containers or application services
  • no data backfill is required

如果你已经在使用 v2:

  • 拉取最新 release/v2 或直接切到 v2.2.0
  • 重新构建并部署容器或应用服务
  • 不需要额外做历史数据回填

Full Changelog / 完整提交记录

Included in this release:

  • 67cb7f9 fix(passport): align report aggregation and titles
  • 1094f09 feat(reports): add document deletion flow
  • 09dd0d3 fix(mri): aggregate findings across reports
  • 91563bc fix(reports): prefer recognized titles for new uploads

本版本包含以下提交:

  • 67cb7f9 fix(passport): align report aggregation and titles
  • 1094f09 feat(reports): add document deletion flow
  • 09dd0d3 fix(mri): aggregate findings across reports
  • 91563bc fix(reports): prefer recognized titles for new uploads