Comprehensive SOAP Note Creation
This skill defines the workflow for creating structured medical documentation (SOAP notes) by writing all required sections to a file in one comprehensive operation. This ensures completeness, consistency, and efficiency in clinical documentation.
When to Use
Use this skill when you need to create:
- Medical visit documentation
- Patient encounter records
- Clinical meeting notes
- Healthcare follow-up documentation
that follow the standard SOAP (Subjective, Objective, Assessment, Plan) format.
Objective
Produce a complete medical visit record containing all four SOAP sections without fragmenting the output across multiple files or incomplete drafts. The entire note should be written in a single operation to maintain consistency.
Prerequisites
Before creating the SOAP note, gather:
- Patient demographics: age, gender, patient ID
- Visit details: date, provider name, reason for visit
- Clinical data: vitals, symptoms, exam findings, medical history
- Diagnostic results: labs, imaging (if available)
Core Technique
Write the entire SOAP note in one comprehensive file write rather than building it incrementally. This ensures:
- All sections are complete before writing
- Consistency across the document
- Reduced overhead from multiple write operations
- No risk of partial or fragmented notes
Required Sections
Every SOAP note must include these four components:
1. Subjective (S)
Patient-reported information including:
- Chief Complaint (CC): Patient's primary reason for visit (in their own words when possible)
- History of Present Illness (HPI): Detailed narrative of current symptoms (use OLDCARTS or similar framework: Onset, Location, Duration, Characteristics, Aggravating/Relieving factors, Timing, Severity)
- Past Medical History (PMH): Relevant conditions, surgeries, medications, allergies
- Family History (FH): Pertinent family medical history
- Social History (SH): Relevant social context (occupation, lifestyle, habits)
- Review of Systems (ROS): Systematic symptom review if applicable
2. Objective (O)
Clinician-observed and measured data:
- Vital Signs: BP, HR, RR, Temp, SpO2, weight, height (always include concrete values)
- Physical Examination: System-by-system findings (HEENT, Cardiovascular, Respiratory, Abdomen, Neurological, Musculoskeletal, Skin, etc.)
- Diagnostic Data: Lab results, imaging findings, EKG, other test results if available
3. Assessment (A)
Clinical synthesis and diagnosis:
- Primary Diagnosis: Main clinical diagnosis (include ICD code if applicable)
- Differential Diagnoses: Alternative considerations (at least 1-2 alternatives)
- Clinical Reasoning: Brief justification linking subjective and objective findings to the assessment
- Problem List: Current active problems if applicable
4. Plan (P)
Actionable next steps:
- Management/Treatment: Specific interventions, procedures, therapies
- Medications: Prescriptions with dose, frequency, route, duration
- Follow-up: Timeline and conditions for return visit
- Patient Education: Instructions, lifestyle modifications, warning signs to watch
- Referrals: Specialist referrals if needed
Execution Pattern
1. Gather all patient information and clinical data
2. Structure content into the four SOAP sections (do not skip any section)
3. Write the complete note to file in ONE operation
4. Verify all four sections are present and contain substantive content
Template Example
# SOAP Note - [Patient Name/ID]
## Date: [Visit Date]
## Provider: [Provider Name]
## SUBJECTIVE
### Chief Complaint
[Patient's reason for visit in their own words]
### History of Present Illness
[Detailed symptom narrative using OLDCARTS framework]
### Past Medical History
[Relevant conditions, surgeries, medications, allergies]
### Family History
[Relevant family medical history]
### Social History
[Occupation, lifestyle, habits, social context]
## OBJECTIVE
### Vital Signs
- BP: [value] mmHg
- HR: [value] bpm
- RR: [value] breaths/min
- Temp: [value] °F/°C
- SpO2: [value]%
- Weight: [value] kg/lbs
- Height: [value] cm/ft
### Physical Examination
- **HEENT**: [findings]
- **Cardiovascular**: [findings]
- **Respiratory**: [findings]
- **Abdomen**: [findings]
- **Neurological**: [findings]
- **Musculoskeletal**: [findings]
- **Skin**: [findings]
### Diagnostic Data
[Labs, imaging, other test results with dates and values]
## ASSESSMENT
### Primary Diagnosis
[Diagnosis with ICD code if applicable]
### Differential Diagnoses
1. [Alternative diagnosis 1]
2. [Alternative diagnosis 2]
### Clinical Reasoning
[Brief explanation linking findings to diagnosis]
## PLAN
### Management
- [Medications with dose/frequency/duration]
- [Procedures/interventions]
- [Referrals if needed]
### Follow-up
[Timeline and conditions for return visit]
### Patient Education
[Instructions, lifestyle modifications, warning signs to watch]
File Naming
Save the complete note using a consistent naming convention:
soap_note_<patient_id>_<date>.md or
soap_note_<patient_id>_<date>.txt
Best Practices
- Completeness First: Include all four sections before writing—do not build incrementally
- Specificity: Use concrete values (vitals, dates, doses) rather than placeholders
- Clinical Accuracy: Ensure assessment logically follows from subjective and objective data
- Actionable Plan: Plan items should be specific and implementable
- No Section Omission: If data is genuinely missing, explicitly state "Information not provided" or "Not applicable" rather than skipping the section
- Privacy: Ensure no real PHI (Protected Health Information) is exposed in public logs if not authorized
- Clarity: Use medical terminology appropriately but keep patient instructions clear and understandable
- Single Write Operation: Aim to generate the full document in one iteration to reduce overhead and maintain consistency
Common Mistakes to Avoid
- Writing sections separately across multiple iterations or files
- Leaving sections incomplete or with placeholder text like
[insert here]
- Omitting differential diagnoses in the Assessment section
- Creating vague, non-actionable Plan items
- Missing vital signs or key physical exam findings in Objective
- Skipping sections entirely when data is sparse (instead mark as "not applicable")
Troubleshooting
Missing Data
If specific clinical data is missing, explicitly state "Information not provided" or "Deferred" in the relevant section rather than skipping the section entirely.
File Size Issues
Comprehensive SOAP notes typically range 3,000-10,000+ characters depending on complexity. If the note is exceptionally long:
- Ensure the file write command supports the content length
- Consider using markdown format for better structure
- Verify the complete content was written (check file size after write)
Incomplete Sections
After writing, verify all four headers (Subjective, Objective, Assessment, Plan) exist and contain substantive content. If any section is incomplete, rewrite the entire note in one operation.
Quality Checklist
Before considering the SOAP note complete, verify:
Example File Size Reference
- Minimal SOAP note: ~2,000-3,000 characters
- Standard SOAP note: ~4,000-7,000 characters
- Complex SOAP note: ~8,000-12,000+ characters
1---2name: comprehensive-soap-note3description: Generate complete medical SOAP notes with all four sections in a single comprehensive file write operation4---5
6# Comprehensive SOAP Note Creation
7
8This skill defines the workflow for creating structured medical documentation (SOAP notes) by writing all required sections to a file in one comprehensive operation. This ensures completeness, consistency, and efficiency in clinical documentation.
9
10## When to Use
11
12Use this skill when you need to create:
13- Medical visit documentation
14- Patient encounter records
15- Clinical meeting notes
16- Healthcare follow-up documentation
17
18that follow the standard SOAP (Subjective, Objective, Assessment, Plan) format.
19
20## Objective
21
22Produce a complete medical visit record containing all four SOAP sections without fragmenting the output across multiple files or incomplete drafts. The entire note should be written in a single operation to maintain consistency.
23
24## Prerequisites
25
26Before creating the SOAP note, gather:
27- **Patient demographics**: age, gender, patient ID
28- **Visit details**: date, provider name, reason for visit
29- **Clinical data**: vitals, symptoms, exam findings, medical history
30- **Diagnostic results**: labs, imaging (if available)
31
32## Core Technique
33
34Write the **entire SOAP note in one comprehensive file write** rather than building it incrementally. This ensures:
35- All sections are complete before writing
36- Consistency across the document
37- Reduced overhead from multiple write operations
38- No risk of partial or fragmented notes
39
40## Required Sections
41
42Every SOAP note must include these four components:
43
44### 1. Subjective (S)
45Patient-reported information including:
46- **Chief Complaint (CC)**: Patient's primary reason for visit (in their own words when possible)
47- **History of Present Illness (HPI)**: Detailed narrative of current symptoms (use OLDCARTS or similar framework: Onset, Location, Duration, Characteristics, Aggravating/Relieving factors, Timing, Severity)
48- **Past Medical History (PMH)**: Relevant conditions, surgeries, medications, allergies
49- **Family History (FH)**: Pertinent family medical history
50- **Social History (SH)**: Relevant social context (occupation, lifestyle, habits)
51- **Review of Systems (ROS)**: Systematic symptom review if applicable
52
53### 2. Objective (O)
54Clinician-observed and measured data:
55- **Vital Signs**: BP, HR, RR, Temp, SpO2, weight, height (always include concrete values)
56- **Physical Examination**: System-by-system findings (HEENT, Cardiovascular, Respiratory, Abdomen, Neurological, Musculoskeletal, Skin, etc.)
57- **Diagnostic Data**: Lab results, imaging findings, EKG, other test results if available
58
59### 3. Assessment (A)
60Clinical synthesis and diagnosis:
61- **Primary Diagnosis**: Main clinical diagnosis (include ICD code if applicable)
62- **Differential Diagnoses**: Alternative considerations (at least 1-2 alternatives)
63- **Clinical Reasoning**: Brief justification linking subjective and objective findings to the assessment
64- **Problem List**: Current active problems if applicable
65
66### 4. Plan (P)
67Actionable next steps:
68- **Management/Treatment**: Specific interventions, procedures, therapies
69- **Medications**: Prescriptions with dose, frequency, route, duration
70- **Follow-up**: Timeline and conditions for return visit
71- **Patient Education**: Instructions, lifestyle modifications, warning signs to watch
72- **Referrals**: Specialist referrals if needed
73
74## Execution Pattern
75
76```
771. Gather all patient information and clinical data
782. Structure content into the four SOAP sections (do not skip any section)
793. Write the complete note to file in ONE operation
804. Verify all four sections are present and contain substantive content
81```
82
83## Template Example
84
85```markdown
86# SOAP Note - [Patient Name/ID]
87## Date: [Visit Date]
88## Provider: [Provider Name]
89
90## SUBJECTIVE
91### Chief Complaint
92[Patient's reason for visit in their own words]
93
94### History of Present Illness
95[Detailed symptom narrative using OLDCARTS framework]
96
97### Past Medical History
98[Relevant conditions, surgeries, medications, allergies]
99
100### Family History
101[Relevant family medical history]
102
103### Social History
104[Occupation, lifestyle, habits, social context]
105
106## OBJECTIVE
107### Vital Signs
108- BP: [value] mmHg
109- HR: [value] bpm
110- RR: [value] breaths/min
111- Temp: [value] °F/°C
112- SpO2: [value]%
113- Weight: [value] kg/lbs
114- Height: [value] cm/ft
115
116### Physical Examination
117- **HEENT**: [findings]
118- **Cardiovascular**: [findings]
119- **Respiratory**: [findings]
120- **Abdomen**: [findings]
121- **Neurological**: [findings]
122- **Musculoskeletal**: [findings]
123- **Skin**: [findings]
124
125### Diagnostic Data
126[Labs, imaging, other test results with dates and values]
127
128## ASSESSMENT
129### Primary Diagnosis
130[Diagnosis with ICD code if applicable]
131
132### Differential Diagnoses
1331. [Alternative diagnosis 1]
1342. [Alternative diagnosis 2]
135
136### Clinical Reasoning
137[Brief explanation linking findings to diagnosis]
138
139## PLAN
140### Management
141- [Medications with dose/frequency/duration]
142- [Procedures/interventions]
143- [Referrals if needed]
144
145### Follow-up
146[Timeline and conditions for return visit]
147
148### Patient Education
149[Instructions, lifestyle modifications, warning signs to watch]
150```
151
152## File Naming
153
154Save the complete note using a consistent naming convention:
155- `soap_note_<patient_id>_<date>.md` or
156- `soap_note_<patient_id>_<date>.txt`
157
158## Best Practices
159
1601. **Completeness First**: Include all four sections before writing—do not build incrementally
1612. **Specificity**: Use concrete values (vitals, dates, doses) rather than placeholders
1623. **Clinical Accuracy**: Ensure assessment logically follows from subjective and objective data
1634. **Actionable Plan**: Plan items should be specific and implementable
1645. **No Section Omission**: If data is genuinely missing, explicitly state "Information not provided" or "Not applicable" rather than skipping the section
1656. **Privacy**: Ensure no real PHI (Protected Health Information) is exposed in public logs if not authorized
1667. **Clarity**: Use medical terminology appropriately but keep patient instructions clear and understandable
1678. **Single Write Operation**: Aim to generate the full document in one iteration to reduce overhead and maintain consistency
168
169## Common Mistakes to Avoid
170
171- Writing sections separately across multiple iterations or files
172- Leaving sections incomplete or with placeholder text like `[insert here]`
173- Omitting differential diagnoses in the Assessment section
174- Creating vague, non-actionable Plan items
175- Missing vital signs or key physical exam findings in Objective
176- Skipping sections entirely when data is sparse (instead mark as "not applicable")
177
178## Troubleshooting
179
180### Missing Data
181If specific clinical data is missing, explicitly state "Information not provided" or "Deferred" in the relevant section rather than skipping the section entirely.
182
183### File Size Issues
184Comprehensive SOAP notes typically range 3,000-10,000+ characters depending on complexity. If the note is exceptionally long:
185- Ensure the file write command supports the content length
186- Consider using markdown format for better structure
187- Verify the complete content was written (check file size after write)
188
189### Incomplete Sections
190After writing, verify all four headers (Subjective, Objective, Assessment, Plan) exist and contain substantive content. If any section is incomplete, rewrite the entire note in one operation.
191
192## Quality Checklist
193
194Before considering the SOAP note complete, verify:
195- [ ] All four SOAP sections are present
196- [ ] Subjective includes CC, HPI, and relevant history
197- [ ] Objective includes vitals with concrete values
198- [ ] Objective includes physical exam findings by system
199- [ ] Assessment includes primary diagnosis AND at least one differential
200- [ ] Plan includes specific, actionable items (medications, follow-up, education)
201- [ ] No placeholder text like `[insert here]` unless genuinely unavailable
202- [ ] File was written in a single operation
203- [ ] File naming follows the convention
204
205## Example File Size Reference
206
207- Minimal SOAP note: ~2,000-3,000 characters
208- Standard SOAP note: ~4,000-7,000 characters
209- Complex SOAP note: ~8,000-12,000+ characters