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": "[email protected]",
"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."
}
]
