Aller au contenu
Skillpedia
Analyse et tableurs5.8k · #14736

structuring-radiology-reports

Ce qu’il fait

Cette compétence apprend à un agent à organiser un compte rendu de radiologie en sections comme les constats et la conclusion. Elle extrait les mesures, les côtés du corps et les conseils de suivi pour qu'ils soient faciles à suivre.

Quand l’utiliser

  • ✓Quand un utilisateur dispose d'un compte rendu de scanner, d'IRM ou de radiographie et veut séparer les constats et la conclusion.
  • ✓Quand un utilisateur a besoin de la taille des lésions et des côtés gauche ou droit relevés dans un compte rendu.
  • ✓Quand une équipe doit suivre les constats fortuits et le suivi recommandé par le compte rendu.

Lien du skill

https://github.com/maziyarpanahi/openmed/blob/master/skills/structuring-radiology-reports/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/maziyarpanahi/openmed/blob/master/skills/structuring-radiology-reports/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu séparer mon compte rendu de scanner thoracique en constats et conclusion, et lister le suivi recommandé ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent découpe le compte rendu en ses sections habituelles et repère l'anatomie, les constats et les mesures. Il relie chaque élément à sa phrase source afin qu'un radiologue puisse le relire.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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

  1. De-identify first. openmed.deidentify(report, policy=...); structure from deidentified_text. Patient name, MRN, accession, and dates go before anything is stored or shared.
  2. Split sections by the standard headers (TECHNIQUE, COMPARISON, FINDINGS, IMPRESSION; also HISTORY/INDICATION). Reports vary — fall back to position if headers are missing.
  3. Run analyze_text for anatomy and finding entities; capture measurements ("8 mm", "1.2 cm") and laterality ("right", "left", "bilateral") near each finding.
  4. 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.
  5. Pull the assessment category (BI-RADS 0-6, Lung-RADS 1-4X) from the impression and the recommended follow-up (modality + interval).
  6. Flag incidental findings — findings unrelated to the exam indication — and route them to a follow-up tracker so they aren't lost.
  7. 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

Questions fréquentes

Cela remplace-t-il le radiologue ?

Non. La compétence indique qu'il s'agit d'une aide à la décision, et chaque constat doit renvoyer à sa source pour relecture.

Gère-t-elle BI-RADS et Lung-RADS ?

Oui. Elle relève ces catégories d'évaluation et l'action recommandée lorsqu'elles apparaissent.

Associe-t-elle les constats à des termes standard ?

La compétence mentionne l'association des constats aux termes RadLex ou à un rapport structuré DICOM.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
5.8k
Position au classement
#14736
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires