Hospital Course Section¶
Template ID: 1.3.6.1.4.1.19376.1.5.3.1.3.5 Version: IHE Template Badge: Narrative Section
Overview¶
The Hospital Course Section describes the sequence of events from admission to discharge in a hospital facility. This is a narrative-only section that provides a chronological account of the patient's hospital stay, including significant clinical events, treatments, procedures, response to therapy, and any complications or changes in condition.
Clinical Purpose and Context¶
The hospital course narrative provides: - A chronological summary of the patient's hospitalization - Description of significant clinical events and changes in condition - Documentation of treatments, procedures, and interventions performed - Patient's response to treatment and clinical progress - Complications or unexpected findings during the stay - Preparation activities for discharge
This section is essential for understanding the complete story of a patient's hospital episode and provides context for discharge diagnoses, medications, and follow-up care needs.
When to Include¶
The Hospital Course Section is a critical component of: - Discharge Summaries (primary use case) - Transfer Summaries - Continuity of Care Documents for hospitalized patients
Even brief hospitalizations benefit from a hospital course narrative to document what occurred during the stay.
Template Details¶
Official OID¶
- Root: 1.3.6.1.4.1.19376.1.5.3.1.3.5
- Extension: None (IHE template)
Conformance Level¶
- Conformance: SHOULD (Recommended in Discharge Summary documents)
- Section Code: 8648-8 (LOINC - "Hospital Course")
Cardinality¶
- Section: 0..1 (Optional but highly recommended)
- Entries: None (Narrative-only section)
Related Templates¶
This is a narrative-only section with no structured entries. Related narrative may appear in: - Assessment and Plan Section: Clinical reasoning and plans - Hospital Discharge Instructions Section: Discharge planning - Chief Complaint and Reason for Visit Section: Admission circumstances
Protocol Requirements¶
The HospitalCourseProtocol defines the data contract for hospital course content:
Required Properties¶
| Property | Type | Description |
|---|---|---|
course_text |
str |
Comprehensive narrative of hospital stay |
Data Types and Constraints¶
- course_text: Free-text narrative describing the patient's hospital course
- Should be comprehensive yet concise
- Organized chronologically
- May include multiple paragraphs for readability
- Can use double line breaks (\n\n) to separate paragraphs
Code Example¶
Here's a complete working example using ccdakit to create a Hospital Course Section:
from ccdakit.builders.sections.hospital_course import HospitalCourseSection
from ccdakit.core.base import CDAVersion
# Method 1: Using HospitalCourseProtocol object
class HospitalCourse:
def __init__(self, text):
self._course_text = text
@property
def course_text(self):
return self._course_text
# Create hospital course with multi-paragraph narrative
hospital_course = HospitalCourse(
text="""The patient was admitted through the Emergency Department on 10/15/2024
with acute onset chest pain and shortness of breath. Initial vital signs showed
tachycardia with heart rate of 110 bpm and blood pressure of 150/95 mmHg.
ECG revealed ST-segment elevation in leads II, III, and aVF consistent with
inferior wall myocardial infarction.
The patient was immediately taken to the cardiac catheterization laboratory where
coronary angiography revealed 100% occlusion of the right coronary artery.
Successful percutaneous coronary intervention with drug-eluting stent placement
was performed with restoration of normal blood flow. Post-procedure, the patient
was transferred to the Cardiac Care Unit for monitoring.
Hospital day 2: The patient remained hemodynamically stable. Echocardiogram showed
moderate left ventricular dysfunction with ejection fraction of 40% and inferior
wall hypokinesis. Cardiac biomarkers peaked and began to trend down. Medical therapy
was optimized with aspirin, clopidogrel, atorvastatin, metoprolol, and lisinopril.
Hospital day 3: The patient continued to improve with no recurrent chest pain.
Ambulation was initiated with cardiac rehabilitation. Patient education was provided
regarding medication compliance, lifestyle modifications, and cardiac risk factor
management.
The patient was discharged home on hospital day 4 in stable condition with
follow-up appointments scheduled with cardiology and primary care."""
)
# Build the Hospital Course Section using protocol object
section_builder = HospitalCourseSection(
hospital_course=hospital_course,
title="Hospital Course",
version=CDAVersion.R2_1
)
# Method 2: Using narrative_text directly (simpler approach)
section_builder = HospitalCourseSection(
narrative_text="The patient was admitted on 10/15/2024 with acute chest pain...",
title="Hospital Course",
version=CDAVersion.R2_1
)
# Generate XML element
section_element = section_builder.build()
# Convert to XML string (for demonstration)
from lxml import etree
xml_string = etree.tostring(section_element, pretty_print=True, encoding='unicode')
print(xml_string)
Official Reference¶
For complete specification details, refer to: - IHE Patient Care Coordination Technical Framework - Template: Hospital Course Section - Conformance IDs: CONF:81-7852 through CONF:81-7855
Best Practices¶
Common Patterns¶
- Chronological Organization
- Organize narrative by hospital days or time periods
- Start with admission circumstances and initial assessment
- Progress through significant events day by day
-
End with discharge preparation
-
Include Key Clinical Information
- Admission circumstances and presenting symptoms
- Initial assessment findings and vital signs
- Diagnostic test results with clinical significance
- Procedures and interventions performed
- Response to treatment
- Complications or changes in condition
- Consultations obtained
-
Discharge condition and readiness
-
Use Clear, Professional Language
- Write for the receiving provider audience
- Avoid excessive abbreviations
- Be concise but comprehensive
-
Focus on clinically significant events
-
Structure for Readability
- Use paragraph breaks for different time periods or topics
- The builder automatically creates separate paragraphs for text separated by double line breaks (\n\n)
- Consider organizing by hospital day for multi-day stays
Validation Tips¶
- Section Code Validation
- Ensure section code is 8648-8 (LOINC "Hospital Course")
-
This is automatically set by the builder
-
Template ID Validation
- Verify template ID is 1.3.6.1.4.1.19376.1.5.3.1.3.5 (IHE)
-
No extension attribute for this IHE template
-
Narrative Text Requirements
- Section SHALL contain text element (CONF:81-7855)
- Text should be substantive, not just placeholder content
-
Empty or minimal narratives may fail validation
-
No Structured Entries
- This is a narrative-only section
- Should not contain any entry elements
- Structured data goes in other sections
Common Pitfalls¶
- Too Brief or Generic
- Avoid minimal narratives like "Patient did well"
- Provide sufficient detail for continuity of care
-
Include specific events and clinical changes
-
Missing Critical Information
- Don't omit significant procedures or interventions
- Include all major diagnostic findings
-
Document complications or unexpected events
-
Poor Organization
- Avoid stream-of-consciousness narratives
- Structure chronologically or by topic
-
Use clear paragraph breaks
-
Inconsistency with Other Sections
- Ensure consistency with discharge diagnoses
- Align with procedures documented in Procedures Section
-
Match medications with Medications Section
-
Overly Technical Language
- While clinical, narrative should be understandable
- Define or explain unusual findings
-
Consider the receiving provider may be in a different specialty
-
Using Only Structured Data
- Don't try to put structured entries in this section
- Use appropriate sections for coded/structured data
- This section provides narrative context
Related Sections¶
- Discharge Diagnosis Section: Final diagnoses at discharge
- Admission Diagnosis Section: Initial diagnoses at admission
- Procedures Section: Structured data on procedures performed
- Medications Section: Discharge medications
- Hospital Discharge Instructions: Discharge planning and follow-up
Implementation Notes¶
Narrative Text Handling¶
The builder supports two input methods:
-
HospitalCourseProtocol object:
-
Direct narrative_text string:
If both are provided, narrative_text takes precedence.
Paragraph Formatting¶
The builder automatically handles paragraph formatting:
- Text with double line breaks (\n\n) is split into multiple paragraphs
- Single narratives become one paragraph
- Each paragraph is wrapped in a <paragraph> element
- Empty paragraphs (whitespace only) are skipped
Default Content¶
If neither hospital_course nor narrative_text is provided, the builder includes:
- Default message: "No hospital course information provided."
- This prevents validation errors but should be replaced with actual content
Character Encoding¶
The narrative text should be plain text: - No HTML tags (they will be escaped) - No XML special characters (automatically escaped by builder) - Unicode characters are supported - Use line breaks for paragraph separation
Integration with Other Sections¶
The Hospital Course narrative should tell the story that ties together: - Admission context (from Admission Diagnosis, Chief Complaint) - What happened (procedures, treatments, complications) - Results and response (labs, imaging, clinical improvement) - Discharge readiness (from Instructions, Plan of Treatment)
Content Guidelines¶
A comprehensive hospital course typically includes:
- Admission Information:
- Date and time of admission
- Route of admission (ED, direct admission, transfer)
- Presenting symptoms and vital signs
-
Initial assessment and diagnosis
-
Hospital Days:
- Organize by day or time period
- Significant clinical events
- Procedures and interventions
- Response to treatment
-
Changes in condition
-
Diagnostic Studies:
- Laboratory results with clinical significance
- Imaging findings
- Pathology results
-
Other diagnostic procedures
-
Consultations:
- Specialists consulted
- Recommendations received
-
Impact on care plan
-
Complications:
- Any adverse events
- Unexpected findings
-
How they were managed
-
Discharge Preparation:
- Patient education provided
- Discharge planning activities
- Patient/family understanding
- Condition at discharge
Template Provenance¶
This template comes from IHE (Integrating the Healthcare Enterprise): - Organization: IHE Patient Care Coordination (PCC) - Different OID namespace than HL7 templates - Widely adopted in C-CDA implementations - Narrative-only design is intentional for this section