Skip to content

Instructions Section

Template ID: 2.16.840.1.113883.10.20.22.2.45 Version: V2 (2014-06-09) Badge: Educational Section

Overview

The Instructions Section records instructions given to a patient. It can be used to document patient education materials, decision aids, medication instructions, discharge instructions, and other guidance provided to patients or their caregivers. Instructions are prospective in nature, representing what the patient should do or know.

Clinical Purpose and Context

Instructions documented in this section represent: - Patient education materials provided - Decision aids given to patients - Medication-specific instructions - Care instructions for conditions or procedures - Vaccine Information Statements (VIS) - Follow-up care instructions - Self-care guidance

This section helps ensure patients and caregivers have clear documentation of the guidance they received during the encounter or hospitalization.

When to Include

The Instructions Section is typically included in: - Discharge Summaries (discharge instructions) - Procedure Notes (post-procedure care) - Consultation Notes (specialist guidance) - Visit Summaries (patient education)

Use this section when documenting prospective instructions. For completed instruction activities (patient education already provided), use the Procedure Activity Act template instead.

Template Details

Official OID

  • Root: 2.16.840.1.113883.10.20.22.2.45
  • Extension: 2014-06-09 (V2)

Conformance Level

  • Conformance: MAY (Optional)
  • Section Code: 69730-0 (LOINC - "Instructions")

Cardinality

  • Section: 0..1 (Optional)
  • Entries: 1..* (SHALL contain at least one entry if section is not nullFlavored)
  • Instruction (V2): 2.16.840.1.113883.10.20.22.4.20:2014-06-09
  • Procedure Activity Act: For completed instruction activities

Protocol Requirements

The InstructionProtocol defines the data contract for instruction entries. Each instruction must provide:

Required Properties

Property Type Description
id str Unique identifier for the instruction
text str The instruction text content
status str Status code (SHALL be 'completed')

Optional Properties

Property Type Description
code Optional[str] Type of instruction code (from Patient Education value set)
code_system Optional[str] Code system (typically 'SNOMED')
display_name Optional[str] Human-readable display name for code

Data Types and Constraints

  • id: UUID or other unique identifier
  • text: Clear, actionable instruction text for patients
  • status: Must be 'completed' per template requirements
  • code: SHOULD be from Patient Education value set (2.16.840.1.113883.11.20.9.34)
  • Common codes: "409073007" (Education), "311401005" (Patient education)

Code Example

Here's a complete working example using ccdakit to create an Instructions Section:

from ccdakit.builders.sections.instructions import InstructionsSection
from ccdakit.core.base import CDAVersion
import uuid

# Define instructions using a class that implements InstructionProtocol
class Instruction:
    def __init__(self, text, code=None, code_system=None, display_name=None):
        self._id = str(uuid.uuid4())
        self._text = text
        self._code = code
        self._code_system = code_system
        self._display_name = display_name
        self._status = "completed"

    @property
    def id(self):
        return self._id

    @property
    def text(self):
        return self._text

    @property
    def code(self):
        return self._code

    @property
    def code_system(self):
        return self._code_system

    @property
    def display_name(self):
        return self._display_name

    @property
    def status(self):
        return self._status

# Create instruction instances
instructions = [
    Instruction(
        text="Take aspirin 81mg by mouth once daily with food. Continue this medication unless directed otherwise by your physician.",
        code="409073007",
        code_system="SNOMED",
        display_name="Education"
    ),
    Instruction(
        text="Monitor your blood pressure daily at home. Record readings and bring the log to your follow-up appointment. Call your doctor if readings are consistently above 140/90.",
        code="311401005",
        code_system="SNOMED",
        display_name="Patient education"
    ),
    Instruction(
        text="Follow a low-sodium diet (less than 2000mg per day). Avoid processed foods, canned soups, and adding salt to meals. A dietitian will contact you for detailed counseling.",
        code="409073007",
        code_system="SNOMED",
        display_name="Education"
    ),
    Instruction(
        text="Follow up with your cardiologist within 7-10 days of discharge. Call to schedule the appointment within 48 hours.",
        code="409073007",
        code_system="SNOMED",
        display_name="Education"
    )
]

# Build the Instructions Section
section_builder = InstructionsSection(
    instructions=instructions,
    title="Instructions",
    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)

# Example: Creating section with null flavor (no instructions available)
section_no_info = InstructionsSection(
    instructions=[],
    title="Instructions",
    null_flavor="NI",  # No Information
    version=CDAVersion.R2_1
)

Official Reference

For complete specification details, refer to the official HL7 C-CDA R2.1 documentation: - HL7 C-CDA R2.1 Implementation Guide - Section: Instructions Section (V2) - Entry: Instruction (V2) - Conformance IDs: CONF:1098-10112 through CONF:1098-31398

Best Practices

Common Patterns

  1. Write Patient-Friendly Instructions
  2. Use clear, simple language
  3. Avoid medical jargon when possible
  4. Be specific and actionable
  5. Include what, when, how, and why

  6. Organize by Category

  7. Group related instructions together
  8. Medication instructions
  9. Activity/lifestyle instructions
  10. Monitoring instructions
  11. Follow-up instructions

  12. Include Specific Details

  13. Exact doses and timing
  14. Warning signs to watch for
  15. When to call the doctor
  16. Contact information

  17. Use Appropriate Codes

  18. Select codes from Patient Education value set when possible
  19. "409073007" - Education (general)
  20. "311401005" - Patient education
  21. "710837008" - Medication education

Validation Tips

  1. Section Code Validation
  2. Ensure section code is 69730-0 (LOINC "Instructions")
  3. This is automatically set by the builder

  4. Template ID Validation

  5. Verify template ID includes extension="2014-06-09"
  6. Both V2 templates are included automatically

  7. Entry Requirements

  8. SHALL contain at least one entry if nullFlavor is not present
  9. If no instructions, use nullFlavor="NI" on section element

  10. Instruction Status

  11. Status SHALL be "completed" for Instruction (V2) template
  12. This indicates instruction was created, not that patient completed it

Common Pitfalls

  1. Confusing with Procedure Activity
  2. Use Instructions Section for prospective guidance (what to do)
  3. Use Procedure Activity Act for completed education (what was done)
  4. Instructions are intent-based (moodCode=INT)

  5. Missing Required Entry

  6. If section is present without nullFlavor, must have at least one entry
  7. Empty instructions list without nullFlavor fails validation
  8. Use nullFlavor="NI" if no instructions available

  9. Incorrect Status Code

  10. Status must be "completed" per template requirement
  11. Don't use "active" or other status codes
  12. "Completed" means instruction was given, not followed

  13. Too Technical

  14. Instructions should be patient-facing
  15. Avoid overly medical language
  16. Write at appropriate health literacy level

  17. Missing Critical Information

  18. Don't assume patients remember verbal instructions
  19. Include all key details in the text
  20. Specify quantities, frequencies, durations

  21. Not Using Structured Format

  22. While text is free-form, consider consistent formatting
  23. Numbered lists or clear paragraphs
  24. Separate instructions for different topics
  • Hospital Discharge Instructions Section: Specific discharge guidance
  • Plan of Treatment Section: Care plans and treatments
  • Medications Section: Medication regimens
  • Procedure Section: Procedures performed (if instructions were given as procedure)

Code Systems and Terminologies

Instruction Type Codes

  • Patient Education Value Set: 2.16.840.1.113883.11.20.9.34
  • SNOMED CT codes for education and instruction
  • "409073007" - Education
  • "311401005" - Patient education
  • "710837008" - Medication education
  • "409066002" - Education, guidance, and counseling

Section Codes

  • Primary: 69730-0 - "Instructions" (LOINC)

Status Codes

  • Fixed: "completed" (required by Instruction V2 template)

Implementation Notes

Null Flavor Support

The section supports null flavor for cases where no instructions are available:

section = InstructionsSection(
    instructions=[],
    null_flavor="NI",  # No Information
    version=CDAVersion.R2_1
)

Valid null flavors: - NI - No Information - NA - Not Applicable - UNK - Unknown

Narrative Table Generation

The builder creates a simple two-column table: - Instruction Type: Display name from code or "Instruction" - Details: The instruction text with content ID

Text Property Flexibility

The builder supports both property names for backward compatibility: - text (preferred) - instruction_text (also supported)

ID Generation

Each instruction requires a unique ID: - Use UUID for new instructions - Reuse IDs when referring to same instruction across documents - IDs can be referenced by other document elements

Integration with Other Content

Instructions often relate to: - Medications: Medication-specific instructions - Procedures: Post-procedure care instructions - Problems: Disease management instructions - Plan of Treatment: Treatment plan guidance

Instruction vs. Procedure Activity

Use Instructions Section when: - Providing prospective guidance - Documenting what patient should do - Recording decision aids or educational materials - Intent-based (moodCode=INT)

Use Procedure Activity Act when: - Documenting completed patient education - Recording that teaching occurred - Event-based (moodCode=EVN) - Part of procedures section

Multi-Topic Instructions

For complex discharge scenarios: 1. Create separate instruction entries for different topics 2. Use codes to categorize (medication, activity, diet, etc.) 3. Order instructions logically 4. Consider using display_name to show instruction category

Patient Education Materials

When documenting specific educational materials: - Reference the material name/title in the text - Include version or date of material if applicable - Document language of materials provided - Consider linking to external resources (URLs) if appropriate

Medication Instructions

For medication-specific instructions: - Include in this section OR as part of Medication Activity - Use code "710837008" for medication education - Reference specific medication by name - Include special administration instructions

Follow-up Instructions

Common follow-up instruction patterns: - Specify timeframe (e.g., "within 7-10 days") - Include who to follow up with - Provide contact information - List warning signs that require earlier contact