Related Experiment Video
Updated: Mar 10, 2026

Collecting Sleep, Circadian, Fatigue, and Performance Data in Complex Operational Environments
Published on: August 8, 2019
Generating subjective, objective, assessment, and plan (SOAP)-structured medication logs using DeepSeek-R1 through
Yuxuan Zhu1,2, Jizhong Zhang1,2, Yuhao Sun1,2
1Jiangsu Cancer Hospital, The Affiliated Cancer Hospital of Nanjing Medical University, Jiangsu Institute of Cancer Research, Jiangsu Key Laboratory of Innovative Cancer Diagnosis & Therapeutics, Nanjing, Jiangsu Province, China.
Objectives:
This study evaluated the feasibility of using the open-source large language model (LLM) DeepSeek-R1 to generate standardized Subjective, Objective, Assessment, and Plan (SOAP)-format medication logs and its potential to support clinical pharmacists.
Materials And Methods:
Thirty complete oncology medication profiles were collected, from which 80 days of logs were extracted and converted into simulated pharmacist-patient dialogues. The experiment compared single-information-source inputs (dialogue only) with multi-information-source inputs (dialogue plus patient information, records, and test results), using five prompts of increasing complexity. Performance was measured using the Bidirectional Encoder Representations from Transformers (BERT) score and Recall-Oriented Understudy for Gisting Evaluation (ROUGE), alongside a blinded expert evaluation based on the Seven-Dimension Index (7DI) metric.
Results:
DeepSeek-R1 effectively generated structured SOAP medication logs when integrated with multi-source information and complex prompts (especially Prompts 4 and 5). Both machine scores and manual 7DI evaluation confirmed the superiority of multi-source inputs over single-source dialogues. While Prompt 4 achieved the highest BERT-F1 and ROUGE scores, the model's output quality remained highly dependent on input data completeness and required pharmacist review to correct errors (e.g. incomplete analyses), after which scores improved significantly.
Discussion:
This study confirms DeepSeek-R1's utility in generating SOAP medication logs using multi-source data and structured prompts, potentially enhancing pharmacists' efficiency. Limitations such as oncology-specific scope and artificial intelligence (AI) hallucinations necessitate pharmacist review and future validation across specialties, alongside comparisons with closed-source LLMs and explainable AI integration.
Conclusion:
This study demonstrates that DeepSeek-R1 can generate structured SOAP-format medication logs when guided by prompt-engineered multi-source clinical information, while highlighting that output quality depends on input completeness and that pharmacist review remains essential for clinical reliability.
More Related Videos
06:32Author Spotlight: Automated Deep Brain Stimulation for Parkinson's Disease - Exploring the Possibilities and Challenges of Home Monitoring
Published on: July 14, 2023
09:33Visualizing Field Data Collection Procedures of Exposure and Biomarker Assessments for the Household Air Pollution Intervention Network Trial in India
Published on: December 23, 2022
Related Concept Videos
Flow Sheet
Here's a closer look at the examples of flowsheets commonly used by nurses:
Graphic Sheet Documentation:
Methods of Documentation I: Source-Oriented Records
In an SOR, each discipline involved in patient care maintains a separate medical record section. This record-keeping method enables easy tracking of patient progress and ensures healthcare staff have access to up-to-date information.
Key Attributes include the following:
Methods of Documentation VII: EMR
Methods of Documentation II: POMR