medical-entity-extractor
Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages.
- License 许可
- MIT
- 最近更新
- 2026-03-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- medical-entity-extractor
- license
- MIT
- metadata
- { "author": "NAPSTER AI", "openclaw": { "requires": { "bins": [] } }, "maintainer": "NAPSTER AI" }
- description
- Extract medical entities (symptoms, medications, lab values, diagnoses) from patient messages.
03 SKILL.md 正文
Medical Entity Extractor
Extract structured medical information from unstructured patient messages.
What This Skill Does
- Symptom Extraction: Identifies symptoms, severity, duration, and progression
- Medication Extraction: Finds medication names, dosages, frequencies, and side effects
- Lab Value Extraction: Parses lab results, vital signs, and measurements
- Diagnosis Extraction: Identifies mentioned diagnoses and conditions
- Temporal Extraction: Captures when symptoms started, how long they've lasted
- Action Items: Identifies requested actions (appointments, refills, questions)
Input Format
[
{
"id": "msg-123",
"priority_score": 78,
"priority_bucket": "P1",
"subject": "Medication side effects",
"from": "patient@example.com",
"date": "2026-02-27T10:30:00Z",
"body": "I've been feeling dizzy since starting the new blood pressure medication (Lisinopril 10mg) three days ago. My BP this morning was 145/92."
}
]
Output Format
[
{
"id": "msg-123",
"entities": {
"symptoms": [
{
"name": "dizziness",
"severity": "moderate",
"duration": "3 days",
"onset": "since starting new medication"
}
],
"medications": [
{
"name": "Lisinopril",
"dosage": "10mg",
"frequency": null,
"context": "new medication"
}
],
"lab_values": [
{
"type": "blood_pressure",
"value": "145/92",
"unit": "mmHg",
"timestamp": "this morning"
}
],
"diagnoses": [
{
"name": "hypertension",
"context": "implied by blood pressure medication"
}
],
"action_items": [
{
"type": "medication_review",
"reason": "possible side effect (dizziness)"
}
]
},
"summary": "Patient reports dizziness after starting Lisinopril 10mg 3 days ago. BP elevated at 145/92. Possible medication side effect requiring review."
}
]
Entity Types
Symptoms
- Name, severity (mild/moderate/severe), duration, onset, progression (improving/stable/worsening)
Medications
- Name, dosage, frequency, route, context (new/existing/stopped)
Lab Values
- Type (BP, glucose, cholesterol, etc.), value, unit, timestamp, normal range
Diagnoses
- Name, context (confirmed/suspected/ruled out)
Vital Signs
- Temperature, heart rate, respiratory rate, oxygen saturation, blood pressure
Action Items
- Type (appointment, refill, question, callback), urgency, reason
Medical Terminology Handling
The skill recognizes:
- Common abbreviations (BP, HR, RR, O2 sat, etc.)
- Brand and generic medication names
- Lay terms for medical conditions ("sugar" → diabetes, "heart attack" → MI)
- Temporal expressions ("since yesterday", "for the past week")
Integration
This skill can be invoked via the OpenClaw CLI:
openclaw skill run medical-entity-extractor --input '[{"id":"msg-1","priority_score":78,...}]' --json
Or programmatically:
const result = await execFileAsync('openclaw', [
'skill', 'run', 'medical-entity-extractor',
'--input', JSON.stringify(scoredMessages),
'--json'
]);
Recommended Model: Claude Sonnet 4.5 (openclaw models set anthropic/claude-sonnet-4-5)
Privacy & Security
- All processing happens locally via OpenClaw
- No data is sent to external services (except Claude API for LLM processing)
- Extracted entities remain in your local environment
04 同仓库更多 Skills
zarr-python
Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.
vaex
Use this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations, lazy evaluation, fast aggregations, efficient visualization of big data, and machine learning on large datasets. Apply when users need to work with large CSV/HDF5/Arrow/Parquet files, perform fast statistics on massive datasets, create visualizations of big data, or build ML pipelines that do not fit in memory.
torch-geometric
Graph Neural Networks (PyG). Node/graph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.
tiledbvcf
Efficient storage and retrieval of genomic variant data using TileDB. Scalable VCF/BCF ingestion, incremental sample addition, compressed storage, parallel queries, and export capabilities for population genomics.
solublempnn
Solubility-optimized protein sequence design using SolubleMPNN. Use this skill when: (1) Designing for E. coli expression, (2) Optimizing solubility of designed proteins, (3) Reducing aggregation propensity, (4) Need high-yield expression, (5) Avoiding inclusion body formation. For standard design, use proteinmpnn. For ligand-aware design, use ligandmpnn.
scvelo
RNA velocity analysis with scVelo. Estimate cell state transitions from unspliced/spliced mRNA dynamics, infer trajectory directions, compute latent time, and identify driver genes in single-cell RNA-seq data. Complements Scanpy/scVI-tools for trajectory inference.