structuring-radiology-reports
यह क्या करती है
यह स्किल एजेंट को सिखाती है कि रेडियोलॉजी रिपोर्ट को निष्कर्ष और इम्प्रेशन जैसे सेक्शन में कैसे व्यवस्थित करें। यह माप, शरीर के हिस्से और फ़ॉलो-अप सलाह निकालती है, ताकि उन्हें आसानी से ट्रैक किया जा सके।
कब इस्तेमाल करें
- ✓जब उपयोगकर्ता के पास CT, MRI या X-ray रिपोर्ट हो और वह निष्कर्ष व इम्प्रेशन अलग चाहता है।
- ✓जब उपयोगकर्ता को रिपोर्ट से घाव के आकार और शरीर के बाएँ या दाएँ हिस्से दर्ज करने हों।
- ✓जब टीम को आकस्मिक निष्कर्ष और रिपोर्ट की सुझाई गई फ़ॉलो-अप को ट्रैक करना हो।
Skill का लिंक
https://github.com/maziyarpanahi/openmed/blob/master/skills/structuring-radiology-reports/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी छाती की CT रिपोर्ट को निष्कर्ष और इम्प्रेशन में बाँट सकते हैं, और उसमें सुझाए गए फ़ॉलो-अप की सूची दे सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट रिपोर्ट को उसके सामान्य सेक्शन में बाँटता है और शरीर रचना, निष्कर्ष और माप ढूँढता है। वह हर बिंदु को उसके स्रोत वाक्य से जोड़ता है, ताकि रेडियोलॉजिस्ट उसकी समीक्षा कर सके।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
अक्सर पूछे जाने वाले सवाल
क्या यह रेडियोलॉजिस्ट की जगह लेती है?
नहीं। स्किल कहती है कि यह निर्णय सहायता है, और हर निष्कर्ष की समीक्षा के लिए उसका स्रोत से जुड़ा होना ज़रूरी है।
क्या यह BI-RADS और Lung-RADS संभालती है?
हाँ। ये मूल्यांकन श्रेणियाँ दिखने पर यह उन्हें और सुझाए गए कदम को दर्ज करती है।
क्या यह निष्कर्षों को मानक शब्दों से मैप करती है?
स्किल RadLex शब्दों या DICOM स्ट्रक्चर्ड रिपोर्ट की ओर निष्कर्षों को मैप करने का ज़िक्र करती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 5.8k
- रैंकिंग में स्थान
- #14736
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
annotating-variants
5.8kआपके एजेंट को मुफ़्त सार्वजनिक एनोटेटर से जेनेटिक वेरिएंट का असर बताने, HGVS नामों को जीनोम पोज़िशन में बदलने और जनसंख्या आवृत्ति जोड़ने में मदद करती है।
ask-openmed
5.8kआपके एजेंट को क्लिनिकल टेक्स्ट अनुरोध के लिए सही OpenMed वर्कफ़्लो चुनने में मदद करती है, जहाँ मरीज़ का डेटा हो सकता है वहाँ पहले गोपनीयता जाँच से शुरू करके।
assembling-fhir-bundles
5.8kकई FHIR स्वास्थ्य रिकॉर्ड को एक ट्रांज़ैक्शन Bundle में पैक करती है, जो EHR को भेजने के लिए तैयार हो और आंतरिक संदर्भ सही जुड़े हों।
auditing-deid-leakage
5.8kडी-आइडेंटिफ़ाइड क्लिनिकल टेक्स्ट में बचे पहचानकर्ता जैसे SSN, कार्ड नंबर, ईमेल और तारीखें खोजती है, और कुछ बचा हो तो रिलीज़ रोक देती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।