Natural Language Processing for Automated Classification of Cleft and Craniofacial Procedures From Operative Notes: Model Development and Feasibility Study
Clinical Snapshot
PICO Framework
| P — Population | Pediatric patients (mean age 3.75 years, range 0-19) undergoing cleft and craniofacial procedures at a single academic medical center |
| I — Intervention | Natural language processing with One-vs-Rest classification framework using random forest classifier for automated operative note classification |
| C — Comparator | Manual classification of operative notes (reference standard) |
| O — Outcomes | Classification accuracy measured by AUC, precision-recall curves, F1-scores, and Hamming loss across three hierarchical levels: primary procedure type, procedural subtype, and specific surgical technique |
Bottom Line
This feasibility study demonstrates that machine learning can accurately classify pediatric craniofacial operative notes with strong performance for primary procedure identification (AUC 0.93). The hierarchical classification approach successfully distinguished between major procedure types and specific surgical techniques, though performance varied by classification complexity. While promising for reducing administrative burden in surgical research and quality improvement, the single-institution design limits immediate generalisability. Australian craniofacial units considering implementation would need local validation studies to account for differences in documentation practices and surgical terminology. The technology shows potential for supporting systematic outcome research in this complex surgical specialty, but requires careful validation before clinical deployment.
Key Findings
P Value: Not reported
Effect Size: AUC 0.93 (SD 0.04) for primary classification
Primary Outcome: Primary procedure type classification accuracy
Nnt Or Sensitivity: Micro-averaged F1-score 0.88 (SD 0.02), macro-averaged F1-score 0.84 (SD 0.03)
Confidence Interval: Not explicitly reported
Clinical Application
Requires institutional investment in text processing infrastructure and validation against local documentation practices Potential application in Australian craniofacial units, but would require validation against local operative note formats and surgical terminology. Could support quality improvement initiatives and research data collection in line with ANZPRAS standards Pediatric patients undergoing cleft and craniofacial procedures in specialist centers
Abstract
BACKGROUND: The accurate classification of operative notes is essential for surgical outcomes research; however, CPT code classification is notoriously nonspecific for many procedures. In such situations, the operative note (or "dictation") must be reviewed manually, a process that is labor-intensive and unsustainable. Natural language processing demonstrates tremendous potential for improving the efficiency and accuracy of procedure classification from unstructured operative notes. To date, it remains unexplored whether natural language processing can reliably differentiate between complex, multicomponent procedures, such as those involved in the care of cleft lip or palate and craniofacial anomalies. OBJECTIVE: This study aims to develop and evaluate a machine learning framework for the automated classification of operative notes for cleft and craniofacial procedures. METHODS: This single-institution, retrospective observational study used operative notes from patients undergoing cleft and craniofacial procedures at a single academic medical center from 2016 to 2024. Each note in the database had been manually classified previously. Notes were preprocessed and vectorized using term frequency-inverse document frequency. A One-vs-Rest classification framework with random forest as the base classifier was developed to categorize procedures at 3 levels: primary procedure type (cleft lip repair, alveolar bone grafting, cleft palate repair, velopharyngeal insufficiency correction, rhinoplasty, and other), procedural subtype (primary vs revision), and specific surgical technique used (eg, Fisher, Mulliken, or rotation-advancement technique for cleft lip repair). Each hierarchical level was developed and evaluated using cross-validation. To improve procedural subtype classification for classes with few samples, synthetic notes were added to the dataset. Area under the receiver operating characteristic curve (AUC), an area under the precision-recall curve, micro- and macro-averaged F1-scores, and Hamming loss were used to assess model performance. RESULTS: The dataset comprised 630 operative notes from 311 pediatric patients undergoing cleft and craniofacial procedures between 2016 and 2024, with a mean age of 3.75 (range 0-19) years. The primary classification model achieved strong performance in distinguishing procedure types with an AUC of 0.93 (SD 0.04), area under the precision-recall curve of 0.84 (SD 0.05), micro-averaged F1-score of 0.88 (SD 0.02), a macro-averaged F1-score of 0.84 (SD 0.03), and a Hamming loss of 0.04 (SD 0.01). Secondary classifiers achieved AUC scores of 1.0 (SD 0.00) for cleft lip revision classification but failed to discriminate between alveolar bone grafting primary and revision procedures (AUC 0.49, SD 0.02). Tertiary classifiers for surgical technique identification showed AUC scores of 0.88 (SD 0.03), 0.89 (SD 0.03), and 0.89 (SD 0.09) for cleft lip, cleft palate, and velopharyngeal insufficiency repair techniques, respectively. CONCLUSIONS: This pilot study demonstrates that machine learning approaches can automate the classification of pediatric craniofacial operative notes across multiple levels of procedural detail. The implementation of such systems could significantly reduce the administrative burden related to surgical research, operations, and quality improvement.
References
- 1.Cox, M., Lin, E., Oleck, N., Jones, C., Li, N. Y., Mithani, S. K., & Allori, A. C. (2026). Natural Language Processing for Automated Classification of Cleft and Craniofacial Procedures From Operative Notes: Model Development and Feasibility Study. JMIR Medical Informatics, 14(1), e87133. https://doi.org/10.2196/87133
Related Research
Journal of the American College of Surgeons
Governance Framework for Safe and Ethical Implementation of Artificial Intelligence in Surgery: A Modified Delphi Consensus
13 June 2026
The Cochrane database of systematic reviews
Surgery for thumb (trapeziometacarpal joint) osteoarthritis
30 May 2026
Scientific reports
Uncertainty estimation and probabilistic skull shape reconstruction using bayesian neural networks
28 May 2026
This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service