<< All versions
Skill v1.0.0
currentAutomated scan100/100mkurman/zorai/openmed
──Details
PublishedJuly 29, 2026 at 12:07 PM
Content Hashsha256:b8dd93ba5580719e...
Git SHAd0acbfaf3d62
──Files
Files (1 file, 3.5 KB)
SKILL.md3.5 KBactive
SKILL.md · 79 lines · 3.5 KB
version: "1.0.0" name: openmed description: "Production-ready medical NLP toolkit (maziyarpanahi/openmed). Entity extraction, assertion detection, PII de-identification, batch processing, REST API, and multilingual support. Covers installation, all model families, configuration, and deployment." tags: [medical-nlp, clinical-text, entity-extraction, deidentification, pii, icd10, healthcare, zorai, openmed]
OpenMed
OpenMed transforms clinical text into structured insights. It bundles curated biomedical NER models, HIPAA-compliant de-identification, batch processing, a Dockerized REST API, and Apple Silicon acceleration — all behind a single analyze_text() call.
When to Use
| Scenario | Start with | |
|---|---|---|
| Extract diseases, drugs, anatomy from clinical notes | references/entity-extraction | |
| Remove PHI/PII before sharing or storing data | references/pii-deidentification | |
| Run NER on hundreds of clinical documents | references/batch-processing | |
| Serve OpenMed behind a REST API | references/rest-service | |
| Set up on Apple Silicon, Docker, or Swift | references/installation | |
| Configure profiles, pick the right model | references/configuration | |
| PII in French, German, Spanish, Portuguese, etc. | references/multilingual-pii | |
| Privacy Filter (OpenAI / Nemotron) families | references/privacy-filter |
Quick Start
bash
git clone https://github.com/maziyarpanahi/openmed.gitcd openmeduv pip install -e ".[hf]"
python
from openmed import analyze_textresult = analyze_text("Patient started imatinib for chronic myeloid leukemia.",model_name="disease_detection_superclinical",)for entity in result.entities:print(f"{entity.label:<12} {entity.text:<35} {entity.confidence:.2f}")# DISEASE chronic myeloid leukemia 0.98# DRUG imatinib 0.95
Model Registry (12+ Models)
| Model | Entity Types | |
|---|---|---|
disease_detection_superclinical | DISEASE, CONDITION, DIAGNOSIS | |
pharma_detection_superclinical | DRUG, MEDICATION, TREATMENT | |
pii_detection_superclinical | NAME, DATE, SSN, PHONE, EMAIL, ADDRESS | |
anatomy_detection_electramed | ANATOMY, ORGAN, BODY_PART | |
gene_detection_genecorpus | GENE, PROTEIN |
Browse the full catalog: openmed.life/docs/model-registry
Key Concepts
- analyze_text() — single-call inference with configurable model, aggregation, format, and confidence threshold
- BatchProcessor — multi-text and multi-file workflows with progress tracking
- extract_pii() / deidentify() — HIPAA-compliant PII detection and redaction
- Configuration Profiles —
dev,prod,test,fastpresets via YAML or env vars - REST API — FastAPI endpoints:
/health,/analyze,/pii/extract,/pii/deidentify
References
- OpenMed docs
- OpenMed arXiv paper
- OpenMed GitHub
references/installation.md— cross-platform install, Docker, Swiftreferences/entity-extraction.md— disease, drug, anatomy, gene modelsreferences/pii-deidentification.md— HIPAA compliance, smart merging, anonymizationreferences/batch-processing.md— BatchProcessor APIreferences/rest-service.md— FastAPI endpoints, Dockerreferences/configuration.md— profiles, model registry, profilingreferences/multilingual-pii.md— 9-language PII supportreferences/privacy-filter.md— OpenAI Privacy Filter, Nemotron, MLX