SOAPNote
TheSOAPNote model represents structured clinical documentation following the SOAP (Subjective, Objective, Assessment, Plan) format, which is a standard method for organizing patient information in medical records.
Fields
Subjective - Patient’s reported symptoms, complaints, and historyThis section captures:
- Chief complaint
- Patient’s description of symptoms
- Medical history relevant to the current condition
- Patient’s perspective on their condition
Objective - Observable, measurable, and verifiable findingsThis section includes:
- Vital signs (BP, HR, RR, temperature, SpO2)
- Physical examination findings
- Laboratory test results
- Imaging and diagnostic test results
- Any quantifiable clinical data
Assessment - Clinical interpretation and evaluationThis section contains:
- Clinical diagnosis or working diagnosis
- Interpretation of subjective and objective data
- Disease severity assessment
- Differential diagnoses consideration
- Clinical reasoning and analysis
Plan - Treatment strategy and follow-up actionsThis section outlines:
- Treatment interventions
- Medications and dosages
- Procedures or referrals
- Follow-up schedule
- Patient education
- Monitoring parameters
AI confidence score for the SOAP note generation (range: 0.0 to 1.0)Higher scores indicate greater confidence in the accuracy and completeness of the generated SOAP note.
Validation Rules
- All SOAP sections (subjective, objective, assessment, plan) are required
confidence_scoremust be between 0.0 and 1.0 (inclusive)- Validated using Pydantic’s
Field(ge=0.0, le=1.0)constraint
Example
Clinical Use Cases
SOAP notes are used for:- Medical Documentation: Standard format for recording patient encounters
- Care Continuity: Helps other healthcare providers understand patient status
- Legal Record: Serves as official medical-legal documentation
- Clinical Decision Support: Structures information for better clinical reasoning
- Quality Assurance: Enables review and audit of clinical care
SOAP Format Best Practices
Subjective Section
- Use patient’s own words when possible
- Document chronologically
- Include relevant history
- Note symptom characteristics (location, quality, severity, duration)
Objective Section
- Record all vital signs
- Document physical exam findings systematically
- Include all relevant lab and imaging results
- Use precise measurements and observations
Assessment Section
- State the diagnosis or working diagnosis clearly
- Show clinical reasoning
- Consider differential diagnoses
- Note severity and prognosis
Plan Section
- Be specific about treatments and interventions
- Include medication names, doses, routes, and frequencies
- Specify follow-up timeline
- Document patient education provided
Integration with MedMitra
In the MedMitra system, SOAP notes are:- Auto-generated by AI from case data
- Included as part of the
MedicalInsightsoutput - Based on doctor’s notes, lab results, and radiology findings
- Validated for completeness and consistency
- Scored for AI confidence in the generation quality
Related Models
- Medical Insights Model - Parent model containing SOAP notes
- Case Model - Input case data used to generate SOAP notes
- Diagnosis Model - Related diagnostic information
- Patient Model - Patient data referenced in SOAP notes
