{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,16]],"date-time":"2026-06-16T18:55:55Z","timestamp":1781636155032,"version":"3.54.5"},"reference-count":31,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2026,2,19]],"date-time":"2026-02-19T00:00:00Z","timestamp":1771459200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,2,19]],"date-time":"2026-02-19T00:00:00Z","timestamp":1771459200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Med Syst"],"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Patients presenting to neurology clinics commonly have a complex history of comorbidities and partially documented health trajectories, making it essential to reliably extract comorbidity information from historical records. However, existing extraction methods, ranging from rule-based systems to classical machine learning (ML), often have limited accuracy, scalability, or adaptability across diverse documents. We present a large language model (LLM)\u2013based framework for comorbidity extraction from diagnostic texts, capable of handling various prompt formats and textual sources such as patient history, comorbidities, and sleep assessments. The instruction fine-tuned Mistral-24B (Instruct-2501) model achieves 95% macro classification accuracy and 92% F1 score across six common classes of comorbidities, achieving strong performance that is competitive with metrics reported in prior clinical phenotyping and information extraction studies, while complementing recent transformer-based clinical NLP frameworks. The proposed method extracts comorbidities through a transparent hierarchical approach, thereby supporting clinical analysis and providing interpretable insights for disease modeling and personalized treatment planning in sleep medicine.<\/jats:p>","DOI":"10.1007\/s10916-026-02343-y","type":"journal-article","created":{"date-parts":[[2026,2,19]],"date-time":"2026-02-19T04:40:00Z","timestamp":1771476000000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Comorbidity Classification from Clinical Free-Text using Large Language Models: Application to Sleep Disorder Patients"],"prefix":"10.1007","volume":"50","author":[{"given":"Yihan","family":"Deng","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fabio","family":"Dennst\u00e4dt","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Irina","family":"Filchenko","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Julia","family":"van der Meer","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaoli","family":"Yang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Markus H.","family":"Schmidt","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Claudio L. A.","family":"Bassetti","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Athina","family":"Tzovara","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kerstin","family":"Denecke","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,2,19]]},"reference":[{"key":"2343_CR1","unstructured":"World Health Organization. International classification of diseases, 11th Revision (ICD-11). World Health Organization. 2019. https:\/\/icd.who.int\/"},{"issue":"5","key":"2343_CR2","doi-asserted-by":"publisher","first-page":"1387","DOI":"10.1378\/chest.14-0970","volume":"146","author":"MJ Sateia","year":"2014","unstructured":"Sateia, M.J., International classification of sleep disorders-third edition. Chest. 146(5), 1387\u20131394 (2014) https:\/\/doi.org\/10.1378\/chest.14-0970","journal-title":"Chest."},{"issue":"2","key":"2343_CR3","doi-asserted-by":"publisher","first-page":"0192360","DOI":"10.1371\/journal.pone.0192360","volume":"13","author":"S Gehrmann","year":"2018","unstructured":"Gehrmann, S., Dernoncourt, F., Li, Y., Carlson, E.T., Wu, J.T., Welt, J., Foote, J., Moseley, E.T., Grant, D.W., Tyler, P.D., and Celi, L.A., Comparing deep learning and concept extraction based methods for patient phenotyping from clinical narratives. PloS One. 13(2):0192360, 2018. https:\/\/doi.org\/10.1371\/journal.pone.0192360","journal-title":"PloS One"},{"key":"2343_CR4","doi-asserted-by":"publisher","unstructured":"Imaichi, O., Yanase, T., Niwa, Y., A comparison of rule-based and machine learning methods for medical information extraction. In: Proceedings of the First Workshop on Natural Language Processing for Medical and Healthcare Fields, pp. 1\u20138, 2013. https:\/\/doi.org\/10.3115\/v1\/W13-4607","DOI":"10.3115\/v1\/W13-4607"},{"issue":"1","key":"2343_CR5","doi-asserted-by":"publisher","first-page":"146","DOI":"10.1186\/s12911-019-0874-0","volume":"19","author":"R Elshawi","year":"2019","unstructured":"Elshawi, R., Al-Mallah, M.H., Sakr, S., On the interpretability of machine learning-based model for predicting hypertension. BMC Med. Inf. Dec. Making 19(1):146, 2019. https:\/\/doi.org\/10.1186\/s12911-019-0874-0","journal-title":"BMC Med. Inf. Dec. Making"},{"issue":"5","key":"2343_CR6","doi-asserted-by":"publisher","first-page":"550","DOI":"10.1197\/jamia.M2444","volume":"14","author":"\u00d6 Uzuner","year":"2007","unstructured":"Uzuner, \u00d6., Luo, Y., Szolovits, P., Evaluating the state-of-the-art in automatic de-identification. J. Am. Med. Inf. Assoc. 14(5):550\u2013563, 2007. https:\/\/doi.org\/10.1197\/jamia.M2444","journal-title":"J. Am. Med. Inf. Assoc."},{"issue":"5","key":"2343_CR7","doi-asserted-by":"publisher","first-page":"301","DOI":"10.1006\/jbin.2001.1029","volume":"34","author":"WW Chapman","year":"2001","unstructured":"Chapman, W.W., Bridewell, W., Hanbury, P., Cooper, G.F., Buchanan, B.G., A simple algorithm for identifying negated findings and diseases in discharge summaries. J. Biomed. Inf. 34(5):301\u2013310, 2001. https:\/\/doi.org\/10.1006\/jbin.2001.1029","journal-title":"J. Biomed. Inf."},{"key":"2343_CR8","doi-asserted-by":"publisher","unstructured":"Shickel, B., Tighe, P., Bihorac, A., Rashidi, P., Large language models in healthcare: Opportunities, challenges, and the future. NPJ Digit. Med. 6(1):75, 2023. https:\/\/doi.org\/10.1038\/s41746-023-00784-0","DOI":"10.1038\/s41746-023-00784-0"},{"issue":"4","key":"2343_CR9","doi-asserted-by":"publisher","first-page":"1234","DOI":"10.1093\/bioinformatics\/btz682","volume":"36","author":"J Lee","year":"2020","unstructured":"Lee, J., Yoon, W., Kim, S., Kim, D., Kim, S., So, C.H., Kang, J., Biobert: a pre-trained biomedical language representation model for biomedical text mining. Bioinformatics 36(4):1234\u20131240, 2020. https:\/\/doi.org\/10.1093\/bioinformatics\/btz682","journal-title":"Bioinformatics"},{"key":"2343_CR10","doi-asserted-by":"publisher","unstructured":"Huang, K., Altosaar, J., Ranganath, R., Clinicalbert: Modeling clinical notes and predicting hospital readmission. 2019. https:\/\/doi.org\/10.48550\/arXiv.1904.05342","DOI":"10.48550\/arXiv.1904.05342"},{"key":"2343_CR11","doi-asserted-by":"publisher","unstructured":"Gu, Y., Tinn, R., Cheng, H., Lucas, M., Usuyama, N., Liu, X., Naumann, T., Gao, J., Poon, H., Domain-specific language model pretraining for biomedical natural language processing. 2020. arXiv:2007.15779https:\/\/doi.org\/10.48550\/arXiv.2007.15779","DOI":"10.48550\/arXiv.2007.15779"},{"key":"2343_CR12","unstructured":"AI, M., Mistral Small 3 24B: A new compact LLM for complex reasoning tasks. 2024. https:\/\/mistral.ai\/news\/mistral-small-3-24b\/. Accessed: 2024-Oct-01"},{"issue":"10","key":"2343_CR13","doi-asserted-by":"publisher","first-page":"1837","DOI":"10.3390\/healthcare10101837","volume":"10","author":"M Rahman","year":"2022","unstructured":"Rahman, M., Nowakowski, S., Agrawal, R., Naik, A., Sharafkhaneh, A., Razjouyan, J., Validation of a natural language processing algorithm for the extraction of the sleep parameters from the polysomnography reports. Healthcare 10(10):1837, 2022. https:\/\/doi.org\/10.3390\/healthcare10101837","journal-title":"Healthcare"},{"issue":"10","key":"2343_CR14","doi-asserted-by":"publisher","first-page":"2217","DOI":"10.1093\/jamia\/ocae177","volume":"31","author":"S Sivarajkumar","year":"2024","unstructured":"Sivarajkumar, S., Tam, T.Y.C., Mohammad, H.A., Viggiano, S., Oniani, D., Visweswaran, S., Wang, Y., Extraction of sleep information from clinical notes of alzheimer\u2019s disease patients using natural language processing. J. Am. Med. Inf. Assoc., 31(10):2217\u20132227, 2024. https:\/\/doi.org\/10.1093\/jamia\/ocae177","journal-title":"J. Am. Med. Inf. Assoc."},{"key":"2343_CR15","doi-asserted-by":"publisher","unstructured":"Zhou, J., Li, X., Xia, Q., Yu, L., Innovations in otolaryngology using llm for early detection of sleep-disordered breathing. SLAS Technol. 32:100278, 2025. https:\/\/doi.org\/10.1016\/j.slast.2025.100278","DOI":"10.1016\/j.slast.2025.100278"},{"key":"2343_CR16","doi-asserted-by":"publisher","unstructured":"Ahmed, A., Rispoli, A., Wasieloski, C., Khurram, I., Zamora-Resendiz, R., Morrow, D., Dong, A., Crivelli, S., Predictive modeling and deep phenotyping of obstructive sleep apnea and associated comorbidities through natural language processing and large language models. 2024. https:\/\/doi.org\/10.1101\/2024.04.19.24306084https:\/\/www.medrxiv.org\/content\/early\/2024\/04\/20\/2024.04.19.24306084.full.pdf","DOI":"10.1101\/2024.04.19.24306084"},{"key":"2343_CR17","doi-asserted-by":"publisher","unstructured":"Nerella, S., Bandyopadhyay, S., Zhang, J., Contreras, M., Siegel, S., Bumin, A., Silva, B., Sena, J., Shickel, B., Bihorac, A., Khezeli, K., Rashidi, P., Transformers and large language models in healthcare: A review. Artif. Intell. Med. 154:102900, 2024. https:\/\/doi.org\/10.1016\/j.artmed.2024.102900","DOI":"10.1016\/j.artmed.2024.102900"},{"issue":"1","key":"2343_CR18","doi-asserted-by":"publisher","first-page":"117","DOI":"10.1093\/jamiaopen\/ooab117","volume":"5","author":"BE Cade","year":"2022","unstructured":"Cade, B.E., Hassan, S.M., Dashti, H.S., Kiernan, M., Pavlova, M.K., Redline, S., Karlson, E.W., Sleep apnea phenotyping and relationship to disease in a large clinical biobank. JAMIA Open 5(1):117, 2022. https:\/\/doi.org\/10.1093\/jamiaopen\/ooab117.","journal-title":"JAMIA Open."},{"key":"2343_CR19","doi-asserted-by":"publisher","unstructured":"Seifen, C., Bahr-Hamm, K., Gouveris, H., Pordzik, J., Blaikie, A., Matthias, C., Kuhn, S., Buhr, C.R., Simulation-based evaluation of large language models for comorbidity detection in sleep medicine \u2013 a pilot study on chatgpt o1 preview. Nat. Sci. Sleep 17:677\u2013688, 2025. https:\/\/doi.org\/10.2147\/NSS.S510254 . eCollection 2025","DOI":"10.2147\/NSS.S510254"},{"key":"2343_CR20","doi-asserted-by":"publisher","unstructured":"Zhang, J., Zhou, J., Zhou, L., Ba, Z., Extracting multifaceted characteristics of patients with chronic disease comorbidity: Framework development using large language models. JMIR Med. Inf. 13:70096, 2025. https:\/\/doi.org\/10.2196\/70096. PMC12123238","DOI":"10.2196\/70096"},{"issue":"7","key":"2343_CR21","doi-asserted-by":"publisher","first-page":"667","DOI":"10.3390\/brainsci15070667","volume":"15","author":"CA Frantzidis","year":"2025","unstructured":"Frantzidis, C.A., From narratives to diagnosis: A machine learning framework for classifying sleep disorders in aging populations: The sleepcare platform. Brain Sci. 15(7):667, 2025. https:\/\/doi.org\/10.3390\/brainsci15070667","journal-title":"Brain Sci."},{"key":"2343_CR22","unstructured":"American Academy of Sleep Medicine, International Classification of Sleep Disorders, Third Edition (ICSD-3). American Academy of Sleep Medicine, Darien, IL, 2014. https:\/\/www.sleepeducation.org\/essentials-of-sleep\/icd-3"},{"issue":"2","key":"2343_CR23","doi-asserted-by":"publisher","first-page":"377","DOI":"10.1016\/j.jbi.2008.08.010","volume":"42","author":"PA Harris","year":"2009","unstructured":"Harris, P.A., Taylor, R., Thielke, R., Payne, J., Gonzalez, N., Conde, J.G., Research electronic data capture (redcap)\u2014a metadata-driven methodology and workflow process for providing translational research informatics support. J. Biomed. Inf., 42(2):377\u2013381, 2009. https:\/\/doi.org\/10.1016\/j.jbi.2008.08.010","journal-title":"J. Biomed. Inf."},{"key":"2343_CR24","doi-asserted-by":"publisher","unstructured":"Aellen, F.M., Meer, J., Dietmann, A., Schmidt, M.H., Bassetti, C.L., Tzovara, A., The bern sleep database: Clustering of patients with sleep disorders. Sleep Med. 100:104097, 2022. https:\/\/doi.org\/10.1016\/j.sleep.2022.08.014","DOI":"10.1016\/j.sleep.2022.08.014"},{"key":"2343_CR25","doi-asserted-by":"publisher","unstructured":"Fiorillo, L., Monachino, G., Meer, J., Pesce, M., Warncke, J.D., Schmidt, M.H., Bassetti, C.L.A., Tzovara, A., Favaro, P., Faraci, F.D., U-sleep\u2019s resilience to aasm guidelines. NPJ Digit. Med.6(1):33, 2023. https:\/\/doi.org\/10.1038\/s41746-023-00784-0","DOI":"10.1038\/s41746-023-00784-0"},{"key":"2343_CR26","doi-asserted-by":"publisher","unstructured":"Bechny, M., Monachino, G., Fiorillo, L., Meer, J., Schmidt, M.H., Bassetti, C.L.A., Tzovara, A., Faraci, F.D., Bridging ai and clinical practice: Integrating automated sleep scoring algorithm with uncertainty-guided physician review. Nat. Sci. Sleep. 16:555\u2013572, 2024. https:\/\/doi.org\/10.2147\/NSS.S455649","DOI":"10.2147\/NSS.S455649"},{"issue":"1","key":"2343_CR27","doi-asserted-by":"publisher","first-page":"12016","DOI":"10.1038\/s41598-025-97172-3","volume":"15","author":"M Bechny","year":"2025","unstructured":"Bechny, M., Kishi, A., Fiorillo, L., Meer, J., Schmidt, M., Bassetti, C., Tzovara, A., Faraci, F., Novel digital markers of sleep dynamics: causal inference approach revealing age and gender phenotypes in obstructive sleep apnea. Sci. Rep. 15(1):12016, 2025. https:\/\/doi.org\/10.1038\/s41598-025-97172-3","journal-title":"Sci. Rep."},{"key":"2343_CR28","doi-asserted-by":"publisher","unstructured":"Johnson, A., Bulgarelli, L., Shen, L., Gayles, A., Shammout, A., Horng, S., Pollard, T., Hao, S., Moody, B., Gow, B., Lehman, L.-w., Celi, L., Mark, R., Mimic-iv, a freely accessible electronic health record dataset. Sci. Data. 10:1, 2023. https:\/\/doi.org\/10.1038\/s41597-022-01899-x","DOI":"10.1038\/s41597-022-01899-x"},{"issue":"1","key":"2343_CR29","doi-asserted-by":"publisher","first-page":"37","DOI":"10.1177\/001316446002000104","volume":"20","author":"J Cohen","year":"1960","unstructured":"Cohen, J., A coefficient of agreement for nominal scales. Educ. Psychol. Meas. 20(1):37\u201346, 1960. https:\/\/doi.org\/10.1177\/001316446002000104","journal-title":"Educ. Psychol. Meas."},{"key":"2343_CR30","doi-asserted-by":"publisher","unstructured":"Es, R., Bloem, J., Daelemans, W., Verhoeven, B., Negation detection in dutch clinical texts: an evaluation of rule-based and machine learning methods. 2022. arXiv:2209.00470https:\/\/doi.org\/10.48550\/arXiv.2209.00470","DOI":"10.48550\/arXiv.2209.00470"},{"key":"2343_CR31","doi-asserted-by":"publisher","unstructured":"Filchenko, I., Meer, J., Bernasconi, C.A., Schmidt, M.H., Bassetti, C.L.A., Sleep and longevity: Insights from sleep macroarchitecture and nocturnal heart rate variability. In: European Journal of Neurology, vol. 32, 2025. https:\/\/doi.org\/10.1111\/ene.70189. Conference abstract","DOI":"10.1111\/ene.70189"}],"container-title":["Journal of Medical Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10916-026-02343-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10916-026-02343-y","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10916-026-02343-y.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,16]],"date-time":"2026-06-16T18:27:59Z","timestamp":1781634479000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10916-026-02343-y"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,2,19]]},"references-count":31,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2026,12]]}},"alternative-id":["2343"],"URL":"https:\/\/doi.org\/10.1007\/s10916-026-02343-y","relation":{},"ISSN":["1573-689X"],"issn-type":[{"value":"1573-689X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,2,19]]},"assertion":[{"value":"2 October 2025","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"13 January 2026","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"19 February 2026","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no competing interests.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}},{"value":"Authors confirm that they do not have any conflicts of interest.","order":3,"name":"Ethics","group":{"name":"EthicsHeading","label":"Conflicts of Interest"}},{"value":"The secondary usage of Bern Sleep\u2013Wake Registry (BSWR) from Inselspital, University Hospital Bern, was approved by the local ethics committee (KEK-Nr. 2022-00415).","order":4,"name":"Ethics","group":{"name":"EthicsHeading","label":"Ethical Approval"}},{"value":"not applicable.","order":5,"name":"Ethics","group":{"name":"EthicsHeading","label":"Clinical trial number"}},{"value":"Yes.","order":6,"name":"Ethics","group":{"name":"EthicsHeading","label":"Consent for publication"}}],"article-number":"23"}}