Segmenting Clinical Sections

Split a clinical note into canonical sections (Chief Complaint, HPI, PMH, Medications, Allergies, Assessment & Plan, etc.) before running OpenMed NER or de-identification, so section context sharpens downstream precision. Use when the user has a free-text note or discharge summary and wants section-aware processing, header detection, mapping headers to LOINC document-section codes, or per-section NER/de-id. Covers heuristic header detection, normalization to canonical section labels, LOINC/SecTag framing, and why a finding in PMH is historical while the same finding in A&P is active. Hand-off: feed each sectioned chunk into openmed.analyze_text / openmed.deidentify. Pairs before extracting-clinical-entities.

maziyarpanahi Updated

File contents

maziyarpanahi/openmed/tree/main/skills/segmenting-clinical-sections commit 8de3882a21

Frequently asked questions

npx skillmds@latest add maziyarpanahi/segmenting-clinical-sections