结合EHR的脑部MRI随访报告撰写
write-report-with-ehr
根据患者记录、工具计算的病灶测量数据以及与最近一次既往影像的变化,撰写上下文感知的脑部 MRI 随访报告。当要求撰写使用患者病史、病历或 EHR 的报告时使用。
- License 许可
- MIT
- 最近更新
- 2026-10-30
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- write-report-with-ehr
- description
- Write a context-aware brain MRI follow-up report from the patient's record, tool-computed lesion measurements, and change from the most recent prior image. Use when asked for a report that uses the patient's history, chart, or EHR.
- argument-hint
- - image_path: required path to the current brain MRI image. The patient_id comes from the filename (`{patient_id}_{study_index}.nii.gz`). - patient_id: optional override if the filename does not follow that convention.
02 资源文件 13
- 参考文档backends/project-board.md693 B
- 参考文档backends/vetted-ops.md717 B
- 参考文档examples.md1.5 KB
- 参考文档findings-format.md3.1 KB
- 参考文档outcomes/body-fields.md3.4 KB
- 参考文档outcomes/keyword-safety.md1.9 KB
- 参考文档outcomes/not-a-findings-file.md965 B
- 参考文档outcomes/proposal.md1.6 KB
- 参考文档outcomes/rollup-entry.md1.3 KB
- 参考文档outcomes/siblings.md1.0 KB
- 参考文档reference.md2.5 KB
- 参考文档tracker-backend.md2.7 KB
- 参考文档tracker-body-template.md1.4 KB
03 SKILL.md 正文
write-report-with-ehr
Combine the patient record with descriptor measurements, then write a comparison-aware report. This skill writes the report itself; it does not delegate to write-report-simple.
How to use
- Look up the record. Invoke
lookup-patient-historywithimage_path. If it returns "Not on file," continue without history and writeCOMPARISON: None available. - Pick the prior image. Use the most recent study in IMAGING HISTORY, before the current study, that has a retained image. Resolve the current and prior image paths to absolute paths.
- Measure. Invoke
write-imaging-factsheetwith the current image and that prior image, or the current image alone if no prior image is retained. Keep its factsheet and each scan'saudit_dir. - Write the report in the format below.
Reading the change
- Check what happened between the prior image and the current exam. If PROCEDURES or TREATMENTS fall between them, such as a resection, the factsheet's change lines compare across that event. Say so, and do not describe the change as growth of the same lesion. Compare with later summary-only studies, such as a post-operative baseline, in words.
- Read change against the treatment timeline. After radiation, enhancement and edema can increase without tumor growth (pseudoprogression or radiation necrosis). When the record allows both treatment effect and tumor, say that imaging alone cannot separate them; do not call progression outright.
- Expected findings are expected. Describe items from EXPECTED POST-TREATMENT FINDINGS in one sentence; do not call them new.
- Answer the order. The IMPRESSION addresses the question in the current study's pending order.
- Medications matter. Mention steroids when describing edema or mass effect.
Sources
- Measurements and change come from the factsheet only, copied verbatim with units. Do not compute, round, or convert numbers. Report on all available measurements, both volumetric and linear.
- Values from summary-only studies, such as midline shift on a CT, are quoted with that study's date; the tools did not measure them.
- Location and side come from the record or your own read of the image; the descriptors assign none.
- Do not invent priors. A finding absent from every prior report and summary is new.
- If LAST RECORD ENTRY NOTE says the record stops before the current exam, do not assume what happened in the gap.
- The report must not mention tools, models, masks, descriptors, or the record's JSON.
Output format
Return the two trace sections first, then the report block last.
## Prior information used
Up to 6 one-line bullets: the record fields and prior studies you relied on, including the prior image you measured against and any procedure between it and the current exam.
## Clinical details used in the report
Up to 10 one-line bullets, one per substantive report phrase, each paired with its source: a record field (`diagnosis`, `procedures`, `medications`, `pending_orders`, `prior report _NNN`, `study _NNN summary`) or a factsheet descriptor ID (`[L1.bidimensional]`). Flag anything with no source.
<confidence>{confidence}</confidence>
<report>
EXAM: {exam from the current pending order}
INDICATION: {indication from the current pending order}
COMPARISON: {the prior image's exam, date, and study_id; then other relevant studies by date and study_id}
TECHNIQUE: {series, plane, and contrast; or "MRI of the brain; sequence details not provided."}
FINDINGS:
{One or two prose paragraphs: the lesion and its change first, with what happened in between; then edema and mass effect; then expected post-treatment findings in one sentence.}
IMPRESSION:
1. {Answer to the order, with the change in context.}
2. {Next finding, if needed.}
</report>
{confidence}:low,medium, orhigh, from how clearly the factsheet and the record support the findings.- The report is plain text, at most 250 words: no markdown, bullets, or bold. Impression numbering is literal text.
04 同仓库更多 Skills
脑部MRI患者病历查询
lookup-patient-history
为给定的脑部 MRI 图像加载合成患者电子病历记录(人口统计学信息、诊断、治疗、用药、预期治疗后表现、既往影像检查和报告、待处理医嘱)。在需要患者病史的上下文感知报告流程中,应作为第一步调用。不调用模型。
结合EHR的脑部MRI报告撰写
write-report-with-ehr
使用患者病历以及工具强制计算的线性和体积测量数据,撰写上下文感知的脑部 MRI 报告。适用于结合 Radiology Assistant (EHR) 进行电子病历报告。
EHR影像事实清单生成
write-imaging-factsheet-ehr
生成 EHR 影像事实清单,强制包含分割、清理、线性尺寸和体积。当 write-report-with-ehr 请求影像证据或明确要求生成此事实清单时使用。
患者病史查询
lookup-patient-history
加载合成患者病历和逐字转录的先前报告,用于 EHR 报告。在测量所选的当前图像和先前图像之前使用;此查询不执行分割或测量。
脑部MRI病灶测量报告撰写
write-report-measured
撰写脑部 MRI 报告,包含工具计算的病灶测量结果,并在提供先前图像时给出相较该先前图像的变化。当 medimageparse 的 `segment`、`clean_segmentation` 和 `describe_lesions` 工具均可用时,用于撰写脑部 MRI 报告。
病灶影像事实清单生成
write-imaging-factsheet
从增强后 T1 MRI 生成仅包含病灶的影像事实清单,可选择与先前图像进行对比。当用户要求生成病灶事实清单或基于描述符的影像摘要时使用。