emr_record 的 occurredAt 只到日期(00:00:00),同日多医生(典型:转诊,吴仲恺先诊断+转诊、 刘柳后做正畸评估)在 localeCompare 下打平 → 排序不稳定、先后乱。 修:emr 排序前预计算排序键 = 同次接诊关联事实(diagnosis/treatment,经 source_encounter_external_id↔ emr_external_id 关联,带真实时分)的最晚时间,fallback emr.occurredAt。 例 王思涵 2021-07-23:吴仲恺 emr(关联08:05)< 刘柳 emr(关联08:58)→ 刘柳正确排为第2次(最近)。 纯前端、渲染期推导,无需重摄。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| adapt-data.ts | Loading commit data... | |
| call-widget.tsx | Loading commit data... | |
| chain-viz.tsx | Loading commit data... | |
| drawer.tsx | Loading commit data... | |
| emr-soap-view.tsx | Loading commit data... | |
| execution-api.ts | Loading commit data... | |
| facts-timeline.tsx | Loading commit data... | |
| mock-data.ts | Loading commit data... | |
| outcome-form.tsx | Loading commit data... | |
| persona-display.ts | Loading commit data... | |
| persona-feature-hover.tsx | Loading commit data... | |
| plan-detail-app.tsx | Loading commit data... | |
| plan-detail-types.ts | Loading commit data... | |
| reason-line.tsx | Loading commit data... | |
| recall-oracle.ts | Loading commit data... | |
| script-viewer.tsx | Loading commit data... | |
| shared.tsx | Loading commit data... | |
| task-drawer.tsx | Loading commit data... | |
| tooth-timeline.tsx | Loading commit data... | |
| use-script-stream.ts | Loading commit data... | |
| use-summary-stream.ts | Loading commit data... |