WorksPubMed
Processing unstructured clinical notes with LLMs: applying the CMQOE framework for hypertension.
A preview from PubMed. Valency holds this work's metadata and abstract, not its full text.
Abstract
Processing clinical unstructured data is crucial in disease research. However, existing approaches often rely on domain-specific annotated data and model fine-tuning, facing challenges such as complex workflows, lack of systematic prompt design, and data security risks. To address these issues, this study proposes a zero-shot data processing paradigm based on large language models (LLMs) and the CMQOE (Concept–Method–Quality–Output–Example) prompt framework. This framework systematically integrates concept definitions, task modeling, quality constraints, output specifications, and comparative examples to guide general-purpose LLMs in semantic parsing and structured transformation of medical texts—without requiring task-specific training. Using outpatient medical records of hypertension patients as a case study, experiments demonstrate that the CMQOE framework significantly outperforms conventional prompt methods across multiple LLMs. For instance, with Qwen2.5-14B, it achieved an accuracy of 99.70%, a precision of 98.85%, a specificity of 99.89%, and an F1-score of 98.29%. Moreover, the framework exhibited strong generalization capability on a cross-dataset entity recognition task (CCKS 2019), performing comparably to fully-supervised models and even surpassing them in certain models such as the Qwen series. This study provides a lightweight, secure, and standardized approach for processing clinical unstructured data.