Practical overview
When it fits
Use Openmed when building a software workflow that needs clinical entity extraction or de-identification and you can select, acquire and evaluate appropriate model artifacts for the target runtime.
Who it is for
- Developers building clinical text-processing applications.
- Healthcare technology teams evaluating local clinical NLP or de-identification workflows.
- Researchers or engineers who need to extract entities such as diseases and drugs from medical text.
Documented uses
- Extract clinical entities from text, including disease and drug mentions.
- Redact sensitive identifiers from clinical notes.
- Build local clinical text-processing applications for supported desktop, mobile or browser runtimes.
Requirements & limits
The SDK source is released under Apache-2.0. Model and dataset terms vary. Model downloads and some optional integrations may use a network.
- The core runtime can process locally after required model artifacts are available, but acquiring models and using some optional integrations may require network access.
- Supported models and operations vary by runtime and artifacts; the repository does not specify which operations are available through every mobile or browser path.
- The SDK license does not determine model or dataset licensing; review each separately.
- The repository describes a Safe Harbor-aligned configuration targeting 18 identifier categories, while stating that use of the SDK alone does not establish HIPAA compliance.
- Deployment owners are responsible for evaluating privacy behavior and clinical fitness for their application.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install OpenMed with the Hugging Face runtime
Set up OpenMed’s core and Hugging Face runtime on Linux, macOS, or Windows for CPU or CUDA use.
Before you start
- Python 3.10 or later.
- Linux, macOS, or Windows; CPU or CUDA.
Steps
Install the core package and Hugging Face runtime with the command below.
pip install --upgrade "openmed[hf]"Use the Python API example with
analyze_text, passing clinical text and a model name such asdisease_detection_superclinical.Inspect the returned entities, for example by printing each entity’s label and text.
Expected outcome
The package is installed, and the documented API pattern returns structured entities after required model artifacts are available.
Guide limitations
- The local runtime requires model artifacts; model downloads may use a network.
- Model and dataset terms vary and should be reviewed. Clinical fitness, privacy behavior, and deployment suitability require owner validation.
- The documented example does not establish clinical validation.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 7 October 2026
- Original website title
- maziyarpanahi/openmed · Official homepage title · retained in its source language

