شعار Dicom Metadata Extractor

Dicom Metadata Extractor

مؤسسة
Open-Medica
dicom-metadata-extractor

Extract metadata from DICOM medical images, anonymize protected health information (PHI), and process imaging data for research or clinical workflows. Supports pydicom integration.

نظرة عامة

الناشرOpen-Medica
المستودعopen-medical-skills
اسم المهارةdicom-metadata-extractor
النجوم
32
التفريعات
8
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها Open-Medica على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Dicom Metadata Extractor في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Open-Medica/open-medical-skills/tree/main/skills/dicom-metadata-extractor
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Open-Medica/open-medical-skills.git /tmp/open-medical-skills
mkdir -p .claude/skills
cp -r /tmp/open-medical-skills/skills/dicom-metadata-extractor .claude/skills/dicom-metadata-extractor
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Dicom Metadata Extractor في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Dicom Metadata Extractor تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Dicom Metadata Extractor بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

DICOM Metadata & PHI Anonymization

Extract, inspect, and anonymize metadata from DICOM (Digital Imaging and Communications in Medicine) medical image files. This skill provides AI agents with the ability to parse DICOM headers for study and patient information, batch-extract metadata fields across imaging series, identify and redact protected health information (PHI) embedded in DICOM tags for de-identification, and prepare imaging datasets for research use in compliance with HIPAA Safe Harbor and Expert Determination methods -- powered by the pydicom library.

Quick Install

bash
npx skills add Open-Medica/open-medical-skills --skill dicom-metadata-extractor

What It Does

  • DICOM header parsing to extract all standard metadata fields including Patient ID, Study Date, Modality, Body Part, Series Description, Institution Name, Referring Physician, pixel spacing, slice thickness, and hundreds of additional DICOM tags organized by group
  • Batch metadata extraction across entire imaging studies or series, generating structured CSV or JSON reports of metadata fields for all files in a directory, enabling systematic data audits
  • PHI identification and removal following HIPAA Safe Harbor de-identification (18 identifiers), automatically detecting and redacting patient name, date of birth, medical record number, accession number, institution name, referring physician, and other PHI-containing DICOM tags
  • Pixel data PHI detection for burned-in annotations, identifying text overlays on image pixels that may contain patient identifying information (e.g., patient name rendered in image corners by the modality)
  • Research dataset preparation with configurable anonymization profiles, date shifting (preserving temporal relationships between studies), UID remapping (maintaining series/study relationships while replacing identifiers), and export in standard DICOM or converted formats

Clinical Use Cases

  • Research data preparation: A radiology researcher preparing a dataset of 5,000 chest CTs for a deep learning study needs to anonymize all DICOM files before sharing with collaborators. This skill batch-processes the entire dataset, strips PHI from headers, remaps UIDs consistently, shifts dates by a random offset, and flags files with potential burned-in annotations for manual review.
  • PACS migration quality assurance: A hospital IT team migrating from one PACS system to another can use this skill to extract and compare metadata before and after migration, verifying that no data corruption occurred and that all studies maintained proper series relationships and metadata integrity.
  • Clinical trial imaging core lab: An imaging core lab receiving multi-site trial data can extract standardized metadata from incoming DICOM files, verify protocol compliance (correct modality, slice thickness, contrast phase), and flag submissions that deviate from the imaging protocol.
  • HIPAA compliance audit: A compliance officer can run this skill against a sample of DICOM files stored on a research server to verify that all PHI has been properly removed, generating an audit report listing any residual identifying information found in DICOM headers or burned-in pixel data.

Safety & Evidence

  • Safety Classification: Caution -- This skill processes medical imaging files that may contain protected health information (PHI). Users must ensure that anonymized datasets are validated before sharing or publication. Burned-in annotations in pixel data require visual verification as automated detection may miss some cases. The skill does not modify clinical systems or PACS storage directly.
  • Evidence Level: High -- DICOM is the universal standard for medical imaging (ISO 12052). The pydicom library used by this skill is the most widely adopted open-source DICOM parser in the Python ecosystem, validated across millions of DICOM files. Anonymization follows DICOM Supplement 142 (Clinical Trial De-identification) and HIPAA Safe Harbor guidelines.

Example Usage

Extract metadata from a DICOM study:

Extract all metadata from the DICOM files in /data/imaging/study_001/.
Generate a structured report showing Patient ID, Study Date, Modality,
Series Description, Slice Thickness, Pixel Spacing, and Institution
Name for each series. Output as a CSV file.

Anonymize a dataset for research sharing:

Anonymize all DICOM files in /data/trial/site_003/ using HIPAA Safe
Harbor de-identification. Remove all 18 PHI identifiers from DICOM
headers, remap Study/Series/SOP Instance UIDs while preserving
relationships, shift all dates by a consistent random offset, and
flag any files with suspected burned-in annotations. Save anonymized
files to /data/trial/site_003_anon/.

Technical Details

  • Category: Lab/Imaging
  • Author: OMS Contributors (original: Healthcare MCP Public)
  • License: MIT
  • Core Library: pydicom (Python DICOM parser)
  • Standards: DICOM PS3 (ISO 12052), DICOM Supplement 142 (De-identification), HIPAA Safe Harbor (45 CFR 164.514(b))
  • Supported Modalities: All DICOM-compliant modalities (CT, MRI, US, XR, NM, PT, MG, DX, CR, and more)
  • PHI Tags Handled: All 18 HIPAA Safe Harbor identifiers mapped to DICOM tag equivalents
  • Dependencies: Python 3.8+, pydicom, numpy (for pixel operations), pillow (for burned-in annotation detection)

References


This skill is part of Open Medical Skills, a curated marketplace of medical AI skills maintained by physicians for physicians and the healthcare industry.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Dicom Metadata Extractor؟

Extract metadata from DICOM medical images, anonymize protected health information (PHI), and process imaging data for research or clinical workflows. Supports pydicom integration.

لماذا تستخدم Dicom Metadata Extractor على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Dicom Metadata Extractor عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Dicom Metadata Extractor في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Open-Medica/open-medical-skills/tree/main/skills/dicom-metadata-extractor. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Dicom Metadata Extractor؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Dicom Metadata Extractor؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Dicom Metadata Extractor معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Dicom Metadata Extractor مجانية؟

نعم. نشرها Open-Medica على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇