MCP
knowledge skill
The agent analyzes a free‑text clinical note together with patient age and a stated diagnosis, then selects the most appropriate ICD‑10 code. It returns the code, a confidence score, and a short justification for the selection.
Worked examples
- {"input": {"clinical_note": "Patient presents with crushing chest pain radiating to the left arm, diaphoresis, and shortness of breath. ECG shows ST\u2011segment elevation in leads V2\u2011V4.", "patient_age": 58, "diagnosis": "Acute myocardial infarction"}, "output": {"icd10_code": "I21.3", "confidence": 0.96, "justification": "ST\u2011elevation MI in anterior leads matches I21.3 (ST elevation MI of anterior wall)."}}
- {"input": {"clinical_note": "The child has a fever of 38.5\u00b0C, sore throat, and a red, swollen tonsil with a white exudate. Rapid strep test is positive.", "patient_age": 7, "diagnosis": "Streptococcal pharyngitis"}, "output": {"icd10_code": "J02.0", "confidence": 0.92, "justification": "Positive rapid strep and classic symptoms map to acute streptococcal pharyngitis (J02.0)."}}
Input
- clinical_note: string – raw clinician narrative
- patient_age: integer – patient age in years
- diagnosis: string – brief diagnosis phrase
Output
- icd10_code: string – selected ICD‑10 identifier
- confidence: float – probability (0‑1) of correctness
- justification: string – concise rationale
Details
- Skill type: knowledge skill
- Safety level: safe_public_research
- Version: 1.0.0