structuring-radiology-reports
Skill này làm gì
Skill này dạy agent cách sắp xếp báo cáo chẩn đoán hình ảnh thành các mục như phát hiện và kết luận. Nó lấy ra số đo, bên cơ thể và lời khuyên theo dõi để dễ theo dõi.
Khi nào nên dùng
- ✓Khi người dùng có báo cáo CT, MRI hoặc X quang và muốn tách phần phát hiện và kết luận.
- ✓Khi người dùng cần ghi lại kích thước tổn thương và bên trái hoặc phải từ báo cáo.
- ✓Khi một nhóm phải theo dõi các phát hiện tình cờ và việc theo dõi mà báo cáo khuyến nghị.
Liên kết skill
https://github.com/maziyarpanahi/openmed/blob/master/skills/structuring-radiology-reports/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể tách báo cáo CT ngực của tôi thành phần phát hiện và kết luận, rồi liệt kê mọi việc theo dõi nó khuyến nghị không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tách báo cáo thành các mục thông thường và tìm giải phẫu, phát hiện và số đo. Nó liên kết mỗi mục với câu nguồn để bác sĩ chẩn đoán hình ảnh có thể xem xét.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Structuring radiology reports
A radiology report is prose, but its meaning is structured: a technique, a comparison, a list of findings (each with anatomy, laterality, and a measurement), and an impression that may carry an assessment category (BI-RADS, Lung-RADS) and a follow-up recommendation. This skill turns the narrative into that structure so findings are trackable — especially incidental findings that need downstream follow-up.
OpenMed extracts the anatomy, disease/finding, and measurement spans on-device; this skill organizes them into sectioned, coded findings. It is decision-support, not a diagnostic device — every structured finding must be attributable back to its source sentence for radiologist review.
When to use
- You have a CT/MRI/X-ray/US/mammography report and need
{technique, comparison, findings[], impression}with measurements and laterality. - You must capture BI-RADS (breast) or Lung-RADS (lung screening) assessment categories and the recommended action.
- You need to track incidental findings and the follow-up interval/modality the report recommends.
- You are mapping findings toward RadLex terms or a DICOM-SR structured report.
Quick start
import openmed
report = (
"TECHNIQUE: CT chest without contrast.\n"
"COMPARISON: CT 2023-11-02.\n"
"FINDINGS: A 8 mm solid nodule is noted in the right upper lobe, "
"unchanged. No pleural effusion.\n"
"IMPRESSION: 8 mm right upper lobe nodule, stable. Lung-RADS 2. "
"Recommend annual low-dose CT screening."
)
# 1) De-identify the report on-device first (synthetic example shown).
deid = openmed.deidentify(report, policy="hipaa_safe_harbor")
text = deid.deidentified_text
# 2) Run NER for anatomy / finding / measurement spans.
ents = openmed.analyze_text(
text,
model_name="anatomy_detection_superclinical", # Anatomy category
output_format="dict",
)["entities"]
# 3) Split sections by header, then attach entities + measurements per finding.
import re
SECTION = re.compile(r"(?im)^(TECHNIQUE|COMPARISON|FINDINGS|IMPRESSION)\s*:")
sections, last, name = {}, 0, None
for m in SECTION.finditer(text):
if name: sections[name] = text[last:m.start()].strip()
name, last = m.group(1).upper(), m.end()
if name: sections[name] = text[last:].strip()
structured = {
"technique": sections.get("TECHNIQUE"),
"comparison": sections.get("COMPARISON"),
"findings": _split_findings(sections.get("FINDINGS", "")), # one per sentence
"impression": sections.get("IMPRESSION"),
"measurements": re.findall(r"\b\d+(?:\.\d+)?\s?(?:mm|cm)\b", text),
"laterality": sorted({w for w in ("right", "left", "bilateral")
if re.search(rf"\b{w}\b", text, re.I)}),
"assessment": (re.search(r"\b(?:BI-RADS|Lung-RADS)\s*\d[A-C]?\b", text, re.I)
or [None])[0] if re.search(r"RADS", text, re.I) else None,
"follow_up": _extract_followup(sections.get("IMPRESSION", "")),
}
_split_findings / _extract_followup are your sentence splitter and a
recommendation matcher ("recommend …", "follow-up in N months"); keep each
finding tied to its source sentence offsets.
Workflow
- De-identify first.
openmed.deidentify(report, policy=...); structure fromdeidentified_text. Patient name, MRN, accession, and dates go before anything is stored or shared. - Split sections by the standard headers (TECHNIQUE, COMPARISON, FINDINGS, IMPRESSION; also HISTORY/INDICATION). Reports vary — fall back to position if headers are missing.
- Run
analyze_textfor anatomy and finding entities; capture measurements ("8 mm", "1.2 cm") and laterality ("right", "left", "bilateral") near each finding. - Build one structured finding per observation:
{anatomy, finding, laterality, measurement, change_vs_prior, source_offsets}. "Unchanged", "stable", "increased", "new" capture temporal change against the comparison. - Pull the assessment category (BI-RADS 0-6, Lung-RADS 1-4X) from the impression and the recommended follow-up (modality + interval).
- Flag incidental findings — findings unrelated to the exam indication — and route them to a follow-up tracker so they aren't lost.
- Map toward RadLex / DICOM-SR if you need coded interoperability, and surface the whole structure to a radiologist for verification.
Hand-off to / from OpenMed
OpenMed's `a
Câu hỏi thường gặp
Điều này có thay thế bác sĩ chẩn đoán hình ảnh không?
Không. Skill nói nó là hỗ trợ quyết định, và mỗi phát hiện phải liên kết về nguồn để xem xét.
Nó có xử lý BI-RADS và Lung-RADS không?
Có. Nó ghi nhận các nhóm đánh giá này và hành động khuyến nghị khi chúng xuất hiện.
Nó có ánh xạ phát hiện sang thuật ngữ chuẩn không?
Skill nhắc đến việc ánh xạ phát hiện sang thuật ngữ RadLex hoặc báo cáo có cấu trúc DICOM.
Chi tiết
Mô tả gốc của tác giả
Converts free-text radiology narratives into structured findings and impression — with measurements, laterality, anatomy, and follow-up recommendations — after OpenMed NER. Use when the user has a CT/MRI/X-ray/ultrasound/mammography report and needs the sections split (technique, comparison, findings, impression), lesion measurements and laterality captured, BI-RADS / Lung-RADS assessment categories pulled, or incidental findings and recommended follow-up tracked. Trigger keywords: radiology report, findings, impression, RadLex, DICOM-SR, BI-RADS, Lung-RADS, ACR, laterality, measurement, nodul
repo: maziyarpanahi/openmed
Độ phổ biến
- Sao GitHub
- 5.8k
- Vị trí xếp hạng
- #14736
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
annotating-variants
5.8kGiúp agent dự đoán tác động của biến thể di truyền, đổi tên HGVS sang vị trí bộ gen và gắn tần suất quần thể bằng công cụ chú giải miễn phí.
ask-openmed
5.8kGiúp agent chọn đúng quy trình OpenMed cho yêu cầu về văn bản lâm sàng, luôn kiểm tra quyền riêng tư trước khi có thể có dữ liệu bệnh nhân.
assembling-fhir-bundles
5.8kGói nhiều bản ghi y tế FHIR thành một Bundle giao dịch để gửi tới EHR, với các tham chiếu nội bộ được liên kết đúng.
auditing-deid-leakage
5.8kQuét văn bản lâm sàng đã khử nhận dạng để tìm định danh còn sót như SSN, số thẻ, email và ngày tháng, và chặn phát hành nếu còn sót.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.