Clinical NLP & Coding · Open-Source Medical Text AI (medspaCy / MedCAT / scispaCy)
Clinical Note NLP Extractor & SNOMED-CT / ICD-10 Negation Lab
Parse free-text clinical notes into structured SNOMED-CT, ICD-10-CM, RxNorm, and LOINC entities with live ConText negation, uncertainty, and family-history detection — 100% browser-local.
Paste a de-identified clinical note to automatically extract diagnoses, symptoms, medications, and diagnostic tests mapped to SNOMED-CT, ICD-10-CM, RxNorm, and LOINC codes. A built-in ConText engine distinguishes Affirmed findings from Negated ('denies', 'no evidence of'), Uncertain ('possible', 'evaluate for'), Historical, and Family History mentions, exporting directly to FHIR R4 JSON or a medspaCy Python pipeline.
Annotated ConText Output
| Extracted Span | Normalized Concept | Type | SNOMED-CT | ICD-10 / RxNorm / LOINC | ConText Assertion |
|---|---|---|---|---|---|
| “substernal chest pain” | Chest pain | Symptom | 29857009 | ICD-10-CM: R07.9 | Affirmed / Active |
| “diaphoresis” | Diaphoresis | Symptom | 415690000 | ICD-10-CM: R61 | Affirmed / Active |
| “fever” | Fever | Symptom | 386661006 | ICD-10-CM: R50.9 | Negated (Ruled Out)(“denies”) |
| “cough” | Cough | Symptom | 49727002 | ICD-10-CM: R05.9 | Negated (Ruled Out)(“denies”) |
| “hemoptysis” | Hemoptysis | Symptom | 66857006 | ICD-10-CM: R04.2 | Negated (Ruled Out)(“denies”) |
| “syncope” | Syncope | Symptom | 271594007 | ICD-10-CM: R55 | Negated (Ruled Out)(“denies”) |
| “essential hypertension” | Essential hypertension | Diagnosis | 59621000 | ICD-10-CM: I10 | Historical(“past medical history of”) |
| “hyperlipidemia” | Hyperlipidemia | Diagnosis | 55822004 | ICD-10-CM: E78.5 | Historical(“past medical history of”) |
| “lisinopril” | Lisinopril | Medication | 386873009 | RxNorm: 29046 | Affirmed / Active |
| “atorvastatin” | Atorvastatin | Medication | 373444002 | RxNorm: 83367 | Affirmed / Active |
| “myocardial infarction” | Acute myocardial infarction | Diagnosis | 57054005 | ICD-10-CM: I21.9 | Family History(“family history of”) |
| “12-lead ECG” | 12-lead Electrocardiogram | Lab / Test | 29303009 | LOINC: 11524-6 | Affirmed / Active |
| “high-sensitivity troponin” | Cardiac troponin I | Lab / Test | 121868005 | LOINC: 89579-7 | Affirmed / Active |
| “acute myocardial infarction” | Acute myocardial infarction | Diagnosis | 57054005 | ICD-10-CM: I21.9 | Uncertain / Possible(“possible”) |
| “pulmonary embolism” | Pulmonary embolism | Diagnosis | 59282003 | ICD-10-CM: I26.99 | Uncertain / Possible(“evaluate for”) |
| “Chest x-ray” | Chest radiograph | Lab / Test | 399208008 | LOINC: 36643-5 | Affirmed / Active |
| “pneumothorax” | Pneumothorax | Diagnosis | 36118008 | ICD-10-CM: J93.9 | Negated (Ruled Out)(“no evidence of”) |
| “pneumonia” | Pneumonia | Diagnosis | 233604007 | ICD-10-CM: J18.9 | Negated (Ruled Out)(“no evidence of”) |
Open-Source Clinical Text AI
Explore medspaCy, MedCAT, scispaCy & Apache cTAKES in our 50 Healthcare AI Directory
Frequently asked questions
How does clinical negation detection (ConText / medspaCy) work?
Clinical notes frequently list ruled-out conditions ('Patient denies fever or chest pain; no evidence of pneumothorax'). The ConText algorithm scans modifier triggers within the same sentence to classify each extracted medical concept as Affirmed, Negated, Uncertain, Historical, or Family History — preventing false positives in coding and EHR analytics.
Is any clinical note text sent to an external server or LLM?
No. Concept extraction, ConText assertion classification, and FHIR R4 Bundle generation execute 100% deterministically inside your local browser JavaScript runtime with zero network transmission.
Which open-source NLP libraries power production hospital clinical note pipelines?
Production clinical NLP teams commonly combine medspaCy (MIT, ConText negation and section detection), MedCAT (Apache-2.0, SNOMED-CT & UMLS concept linking), scispaCy (Apache-2.0, biomedical NER), EDS-NLP (BSD-3-Clause), and Apache cTAKES (Apache-2.0) — all documented in Zavis's /open-ai directory.