Disambiguate medical acronyms and abbreviations with context-aware full form lookup. Resolves ambiguous abbreviations (e.g., 'PID' = Pelvic Inflammatory Disease vs. Prolapsed Intervertebral Disc) based on clinical specialty, document context, and usage patterns.
Intelligent medical abbreviation disambiguation tool that resolves ambiguous acronyms using clinical context, specialty-specific knowledge, and document-level semantic analysis.
# Expand single acronym
python scripts/main.py PID
# Expand with context
python scripts/main.py MI --context cardiology
# List known acronyms
python scripts/main.py --list
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
acronym | str | None | Yes | Acronym to expand |
--context, -c | str | general | No | Clinical context (e.g., cardiology, gynecology) |
--list, -l | flag | False | No | List known acronyms |
# Disambiguate with specific context
python scripts/main.py PID --context gynecology
# Check all available acronyms
python scripts/main.py --list
| Acronym | General | Cardiology | Gynecology | Immunology |
|---|---|---|---|---|
| PID | Pelvic Inflammatory Disease | - | Pelvic Inflammatory Disease (90%) | Primary Immunodeficiency (95%) |
| MI | Myocardial Infarction (70%) | Myocardial Infarction (95%) | - | - |
| COPD | Chronic Obstructive Pulmonary Disease | - | - | - |
| HTN | Hypertension | Hypertension | - | - |
| DM | Diabetes Mellitus (90%) | - | - | - |
============================================================
ACRONYM: PID
Context: gynecology
============================================================
1. Pelvic Inflammatory Disease
Confidence: 90.0% ████████████████████
2. Prolapsed Intervertebral Disc
Confidence: 10.0% ██
============================================================
⚠️ AI自主验收状态: 需人工检查
This skill requires:
pip install -r requirements.txt
No external dependencies required.
| Risk Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python scripts executed locally | Low |
| Network Access | No network access | Low |
| File System Access | Read-only | Low |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | No sensitive data exposure | Low |
python scripts/main.py --help
Available in references/:
💡 Tip: When in doubt about the context, try multiple contexts to see which expansion makes the most sense in your specific use case.