eCW Scribe-it Templates

This template is specific for eClinicalWorks users, and can be imported directly into your DeepCura account.

Below you’ll find both the prompt and an example of its generated output.

If you’re new to the Template Library, learn how to import templates here.

  • 
    <Header_Title_1> Chief Complaints: </Header_Title_1>
    <Header_Title_1_Instructions> List the patient's primary reason for today's visit in their own
    words when possible, one complaint per line.”
    From the provider's documentation or patient–provider conversation, briefly list the primary
    reason for today's new patient visit using the patient's own words when possible.
    Rules:
    ● Use the patient's complaint wording (symptom/concern), not the diagnosis
    ● Each chief complaint on its own line
    ● Include "Follow-up" if this is a comprehensive new patient evaluation
    ● Do NOT list chronic conditions here
    ● No extra labels or commentary
    ● Output placed directly under the "Chief Complaints:" header
    </Header_Title_1_Instructions>
    <Header_Title_2> HPI: </Header_Title_2>
    <Header_Title_2_Instructions> Opening sentence includes patient name, age, sex/gender (omit
    any unavailable demographics), reason for visit, and relevant chronic conditions. Then one
    paragraph per problem.
    Generate an HPI in the following format:
    Opening Statement Single paragraph: "Patient's name is a [age]-year-old [female/male] who
    presents for the evaluation of..." Include relevant chronic conditions. Use medical terminology.
    Provide a chronological narrative with onset, severity, duration, modifying factors, associated
    symptoms, prior workup, and treatments. Include when mentioned: relevant past episodes, prior
    workup with dates, immunizations, developmental/functional status.
    Problem-Based Format Identify every distinct problem or symptom discussed and create a
    separate bold header for each, ensuring unrelated problems are not combined. Under each
    header, write a single flowing paragraph in a concise, information-dense clinical style that avoids
    verbosity and unnecessary repetition. Prioritize only clinically relevant details and exclude
    background filler or duplicated phrasing. Include onset, severity, frequency, modifying factors,
    interval changes, medications only if directly relevant to the problem, recent testing or imaging
    when mentioned, and any specialist involvement with name and date if stated. For pain-related
    complaints, include location, quality, severity, timing, and aggravating or relieving factors.
    Maintain strict compression by focusing on key clinical signals and changes since last visit,
    avoiding narrative expansion or redundant statements.
    Critical rules:
    
    ● HPI = patient-reported history only
    ● No provider explanations, counseling, education, or treatment discussions
    ● No treatment plans, orders, referrals, follow-up, goals, or exam findings
    ● Output directly under "HPI:" with no preamble
    
    . </Header_Title_2_Instructions>
    <Header_Title_3> Medical History: </Header_Title_3>
    <Header_Title_3_Instructions> List past Dr’s speciality relevant conditions and procedures first,
    then other relevant comorbidities.
    Use brief phrases separated by semicolons, not full sentences.
    
    Ensure that the output is placed directly below the “Medical History:” header with no extra text or
    labels above it. </Header_Title_3_Instructions>
    <Header_Title_4> Surgical History: </Header_Title_4>
    <Header_Title_4_Instructions> Surgeries relevant to the Dr’s speciality first with laterality and
    dates, then other major surgeries.
    Use concise phrases. If no surgical history is mentioned, omit this header entirely.
    </Header_Title_4_Instructions>
    
    <Header_Title_5> Family History: </Header_Title_5>
    <Header_Title_5_Instructions> Relevant family history.
    Document family history relevant. If no family history is mentioned, omit this header entirely.
    </Header_Title_5_Instructions>
    <Header_Title_6> Social History: </Header_Title_6>
    <Header_Title_6_Instructions> Relevant social factors.
    Keep concise and clinically focused. If no social history is mentioned, omit this header entirely.
    </Header_Title_6_Instructions>
    <Header_Title_7> Allergies: </Header_Title_7>
    <Header_Title_7_Instructions> List each allergen and its reaction.
    Format each allergy as: "[Allergen] causes [reaction]." Keep the word "causes" constant in every
    entry. One allergy per line. If no allergies are mentioned, omit this header entirely.
    
    </Header_Title_7_Instructions>
    <Header_Title_8> ROS Note: </Header_Title_8>
    <Header_Title_8_Instructions> For a New Patient visit, document ALL systems below. List
    positives first, then denials, within each system.
    For a new patient visit, provide a complete multi-system ROS divided by system headers. List
    positive symptoms first within each system, then denials. Each system should be on it’s own
    line. The below are default healthy findings, keep
    Use this format:
    Constitutional: Patient denies fever, chills, fatigue, weight loss.
    Eyes: Patient denies visual changes, eye pain, discharge.
    Ears/Nose/Throat: Patient denies hearing loss, ear pain, nasal congestion, sore throat.
    Cardiovascular: Patient denies chest pain, palpitations, edema.
    Pulmonary: Patient denies cough, shortness of breath, wheezing.
    Gastrointestinal: Patient denies nausea, vomiting, diarrhea, abdominal pain.
    Genitourinary: Patient denies dysuria, frequency, urgency.
    Musculoskeletal: Patient denies joint pain, muscle weakness, swelling.
    Skin: Patient denies rashes, lesions, changes in moles.
    Neurologic: Patient denies headache, dizziness, weakness, numbness.
    Psychiatric: Patient denies depression, anxiety, sleep disturbance.
    Endocrine: Patient denies polyuria, polydipsia, heat or cold intolerance.
    Hematologic/Lymphatic: Patient denies easy bruising, bleeding, swollen lymph nodes.
    Allergic/Immunologic: Patient denies recurrent infections, known immune deficiencies.
    Content rules:
    ● Use the above as default healthy findings
    ● Do not include diagnoses, exam findings, vitals, or treatment plans
    ● Edit what the patient report in form of positive symptoms like: "Reports" or "Complains
    of"
    ● For negative symptoms use: "Denies"
    
    ● Do NOT use the word "Admits" anywhere
    ● Any symptom listed as positive must not also appear in the denial list, and you can add
    additional subsections if the patient reports something positive
    </Header_Title_8_Instructions>
    <Header_Title_9> Vitals: </Header_Title_9>
    <Header_Title_9_Instructions> Enter measured values. Omit any vital not recorded.
    ● Height: [value] inches
    ● Weight: [value] lbs
    ● Temperature: [value] F
    ● Heart rate: [value]
    ● Blood Pressure: [value]
    ● Oxygen Saturation: [value]
    If no vitals are mentioned, omit this header entirely.
    </Header_Title_9_Instructions>
    <Header_Title_10> Examination: </Header_Title_10>
    <Header_Title_10_Instructions> Replace any default normal finding with the actual finding when
    an abnormality is documented by doctor. All other subsections stay at normal defaults.
    Format: Parent Section: Subsection: finding (Each parent section header should be on its own
    line followed by a colon (e.g., "Facial skin:") Each subsection should appear on the next line,
    followed by a colon and its finding description) If a finding is mentioned and no exact subsection
    exists, create a new subsection under the appropriate parent system. Do not create new
    top-level systems.
    General appearance: General: Healthy appearing, alert and oriented, in no acute distress
    Head: Head: normocephalic, atraumatic
    Eyes: Conjunctivae: clear, no injection or discharge Pupils: equal, round, reactive to light
    Ears/Nose/Throat: External ears: normal pinnae Tympanic membranes: intact bilaterally Nasal
    mucosa: normal appearing Oropharynx: clear, no erythema or exudate
    Cardiovascular: Heart: regular rate and rhythm, no murmurs, rubs, or gallops Peripheral pulses:
    normal bilaterally Extremities: no gross edema or cyanosis
    Pulmonary: Lungs: clear to auscultation bilaterally Respiratory effort: unlabored
    Abdomen: Abdomen: soft, non-tender, non-distended Bowel sounds: present in all quadrants
    
    Musculoskeletal: Extremities: no deformity, full range of motion Gait: normal
    Skin: Skin: no rashes, lesions, or suspicious findings
    Neurologic: Cranial nerves: intact Mental status: alert and oriented Sensation: grossly intact
    Motor: normal strength bilaterally
    Lymph nodes: Lymph nodes: no palpable lymphadenopathy
    Psychiatric: Mood and affect: appropriate, cooperative
    
    </Header_Title_10_Instructions>
    
    <Header_Title_11> Assessment: </Header_Title_11>
    <Header_Title_11_Instructions>
    List all ICD-10 diagnoses identified during the visit.
    Identify all appropriate ICD-10 codes representing conditions — even if not explicitly stated.
    Prioritize codes from the clinic's approved list when applicable. Each diagnosis on its own line
    follow with a colon
    Format: ICD [Code] - [Diagnosis Description]:
    Example: ICD H81.10 - Benign paroxysmal vertigo, unspecified ear:
    </Header_Title_11_Instructions>
    
    <Header_Title_12> Clinical Notes </Header_Title_12>
    <Header_Title_12_Instructions> Clinical Notes should only include the most clinically relevant
    and actively addressed problems from the Assessment, prioritizing conditions that are the
    primary drivers of the visit. Do not create a section for every ICD code if it was not actively
    discussed, managed, or changed during the encounter. Focus on the physician’s clinical
    reasoning, interpretation of findings
    Create clinical notes for Assesment sections in the same order as the above section
    ICD line rules:
    ● Begin with "ICD " (ICD + single space)
    ● Hyphen between code and descriptor with no spaces
    ● End with a colon
    
    ● Start at left margin
    Example format: ICD D37.05-Neoplasm of uncertain behavior of larynx:
    Reviewed biopsy results demonstrating mild epithelial dysplasia of the
    vocal fold lesion without evidence of invasive carcinoma.
    
    Content rules:
    ● Each interpretation statement begins with "- " or "* "
    ● Include onlyinterpretation of results, diagnostic reasoning, escalation or de-escalation of
    concern
    ● When optional workups or referrals depend on patient preference, use
    patient-preference framing
    ● For vestibular disorders with home maneuvers, include future-contingency and iterative
    guidance
    No-management rule: always include the ICD line for every Assessment item. If no
    management occurred, leave the block empty — no placeholders like "none."
    After the final line of each block, insert one blank line before the next block.
    </Header_Title_12_Instructions>
    <Header_Title_13> Treatment notes </Header_Title_12>
    <Header_Title_13_Instructions> Treatment includes only active clinical management decisions
    and next-step actions. It must NOT include clinical reasoning, interpretation, or discussion of
    meaning. All content must reflect finalized or intended actions resulting from the encounter and
    must be written in a clear, execution-focused format.
    Create Treatment entries for Assessment items only where active management decisions were
    made, following the same ICD order as the Assessment section.
    ICD line rules:
    Begin with "ICD " (ICD + single space)
    Hyphen between code and descriptor with no spaces
    End with a colon
    Start at left margin
    Content rules:
    Each treatment action begins with "- " or "* "
    Include only concrete actions: medications (name, dose, frequency, route, duration), orders
    
    (labs, imaging, procedures), referrals, follow-up timing, and direct patient instructions
    Do not include clinical interpretation, diagnostic reasoning, or explanation of disease meaning
    Do not repeat Clinical Notes content
    When medications are prescribed or adjusted, include full dosing instructions when stated
    When orders are placed, clearly specify the test or procedure and any relevant scheduling
    instructions
    When referrals are made, include specialty and urgency if stated
    When optional diagnostic workups or referrals are offered, use patient-preference framing (e.g.,
    "A full workup or referral was offered as an option if the patient wishes to proceed at a later
    time").
    No-management rule: always include the ICD line for every Assessment item where treatment
    decisions were made. If no treatment was provided for a specific ICD, leave the block empty
    with no placeholders.
    After the final line of each block, insert one blank line before the next ICD block.
    </Header_Title_13_Instructions>
    <Header_Title_14> Procedures: </Header_Title_14>
    <Header_Title_14_Instructions> Document any procedures performed this visit — indication,
    steps, findings, patient tolerance.
    Include: indication, relevant preparation/consent, key steps, findings, patient tolerance, and
    immediate complications. Use concise label-style lines rather than full sentences (e.g.,
    "Indication: vertigo", "Side: left"). When a procedure macro is triggered, insert it verbatim and
    add any provider-specified side or indication details.
    Colon rule: do NOT use a colon at the end of a procedure title followed by a line break. Colons
    only appear when content follows on the same line.
    Billing — output immediately after Procedures, for every encounter:
    E/M code: analyze visit complexity and select the appropriate E/M code for a new patient office
    visit. Always output one E/M code. Format: Add EM [code]
    CPT codes: identify all applicable CPT codes for procedures, tests, or quality reporting
    performed this visit. Format: Add CPT [code]
    If no procedural CPT codes apply, omit CPT lines but always retain the E/M line.
    Example: “Add EM 99204
    Add CPT 31231
    Add CPT 2001F”
    
    If no procedural CPT codes are mentioned/applicable, omit only the CPT lines from the output
    but ALWAYS retain the EM code section. Always output EM and CPT billing codes immediately
    after the Procedures section, even when no procedures were performed during this visit. The
    EM code reflects the evaluation and management service provided and must be documented
    for every patient encounter.
    </Header_Title_14_Instructions>
    <Header_Title_15> Orders: </Header_Title_15>
    <Header_Title_15_Instructions> List all labs, imaging, procedures, or immunizations ordered,
    grouped by diagnosis.
    Include only orders explicitly mentioned or clearly implied. Group under the relevant diagnosis
    using the three-line block format. Multiple orders for the same diagnosis go comma-separated
    on one Order line. Start a new block for each different diagnosis. Do not display the "Orders:"
    header in the output. If no orders are mentioned, omit this section entirely.
    Format: Assessment: ICD [Code] - [Diagnosis Description]: Order [Test 1], [Test 2]
    </Header_Title_15_Instructions>
    
    <Header_Title_16> Next Appointment: </Header_Title_16>
    <Header_Title_16_Instructions> Follow-up timeframe and reason.
    Include the timeframe and reason for follow-up if stated. If no follow-up is mentioned, omit this
    header entirely.
    Example: 3 weeks – to review lab results
    </Header_Title_16_Instructions>
  • <Header_Title_1> Chief Complaints: </Header_Title_1>
    <Header_Title_1_Instructions> List the patient's primary reason for today's visit in their own
    words when possible, one complaint per line.”
    From the provider's documentation or patient–provider conversation, briefly list the primary
    reason for today's new patient visit using the patient's own words when possible.
    Rules:
    ● Use the patient's complaint wording (symptom/concern), not the diagnosis
    ● Each chief complaint on its own line
    ● Include "Follow-up" if this is a comprehensive new patient evaluation
    ● Do NOT list chronic conditions here
    ● No extra labels or commentary
    ● Output placed directly under the "Chief Complaints:" header
    </Header_Title_1_Instructions>
    <Header_Title_2> HPI: </Header_Title_2>
    <Header_Title_2_Instructions> Opening sentence includes patient name, age, sex/gender (omit
    any unavailable demographics), reason for visit, and relevant chronic conditions. Then one
    paragraph per problem.
    Generate an HPI in the following format:
    Opening Statement Single paragraph: "Patient's name is a [age]-year-old [female/male] who
    returns for the evaluation of.." Include relevant chronic conditions. Use medical terminology.
    Provide a chronological narrative with onset, severity, duration, modifying factors, associated
    symptoms, prior workup, and treatments. Include when mentioned: relevant past episodes, prior
    workup with dates, immunizations, and developmental/functional status.
    Problem-Based Format: Identify every distinct problem or symptom discussed and create a
    separate bold header for each, ensuring unrelated problems are not combined. Under each
    header, write a single flowing paragraph in a concise, information-dense clinical style that avoids
    verbosity and unnecessary repetition. Prioritize only clinically relevant details and exclude
    background filler or duplicated phrasing. Include onset, severity, frequency, modifying factors,
    interval changes, medications only if directly relevant to the problem, recent testing or imaging
    when mentioned, and any specialist involvement with name and date if stated. For pain-related
    complaints, include location, quality, severity, timing, and aggravating or relieving factors.
    Maintain strict compression by focusing on key clinical signals and changes since last visit,
    avoiding narrative expansion or redundant statements.
    Critical rules:
    
    ● HPI = patient-reported history only
    ● No provider explanations, counseling, education, or treatment discussions
    ● No treatment plans, orders, referrals, follow-up, goals, or exam findings
    ● Output directly under "HPI:" with no preamble
    
    . </Header_Title_2_Instructions>
    <Header_Title_3> Medical History: </Header_Title_3>
    <Header_Title_3_Instructions> List past conditions and procedures relevant to the Dr’s
    speciality first, then other relevant comorbidities. Use brief phrases separated by semicolons,
    not full sentences.
    Ensure that the output is placed directly below the “Medical History:” header with no extra text or
    labels above it. </Header_Title_3_Instructions>
    <Header_Title_4> Surgical History: </Header_Title_4>
    <Header_Title_4_Instructions> List surgeries first relevant to the dr’s speciality. Include laterality
    and approximate dates when known. Then list other major surgeries that may affect airway
    management, bleeding risk, or postoperative recovery. Use concise phrases. If no surgical
    history is mentioned, omit this header entirely. </Header_Title_4_Instructions>
    <Header_Title_5> Family History: </Header_Title_5>
    <Header_Title_5_Instructions> Document family history. If no family history is mentioned, omit
    this header entirely.
    </Header_Title_5_Instructions>
    <Header_Title_6> Social History: </Header_Title_6>
    <Header_Title_6_Instructions> Relevant social factors.
    If no social history is mentioned, omit this header entirely.
    </Header_Title_6_Instructions>
    <Header_Title_7> Allergies: </Header_Title_7>
    <Header_Title_7_Instructions> List each allergen and its reaction.
    Format each allergy as: "[Allergen] causes [reaction]." Keep the word "causes" constant in every
    entry. One allergy per line. If no allergies are mentioned, omit this header entirely.
    </Header_Title_7_Instructions>
    <Header_Title_8> ROS Note: </Header_Title_8>
    
    <Header_Title_8_Instructions> This is a follow up patient, so document only the ROS systems
    mentioned by the doctor or the patient. List positives first, then denials, within each system.
    Use this format: for example:
    “Constitutional: Patient reports vertigo, denies fever and chills
    Airway/Sleep: Patient reports snoring, apnea, denies breathing difficulty.”
    Content rules:
    ● Include only symptoms explicitly stated by the patient or provider
    ● Do not infer symptoms
    Do not include diagnoses, exam findings, vitals, or treatment plans
    ● Edit what the patient report in form of positive symptoms like: "Reports" or "Complains
    of"
    ● For negative symptoms use: "Denies"
    ● Do NOT use the word "Admits" anywhere
    ● Any symptom listed as positive must not also appear in the denial list, and you can add
    additional subsections if the patient reports something positive
    
    </Header_Title_8_Instructions>
    <Header_Title_9> Vitals: </Header_Title_9>
    <Header_Title_9_Instructions> Enter measured values. Omit any vital not recorded.
    ● Height: [value] inches
    ● Weight: [value] lbs
    ● Temperature: [value] F
    ● Heart rate: [value]
    ● Blood Pressure: [value]
    ● Oxygen Saturation: [value]
    If no vitals are mentioned, omit this header entirely.
    </Header_Title_9_Instructions>
    <Header_Title_10> Examination: </Header_Title_10>
    <Header_Title_10_Instructions> This is a follow-up patient and this section should follow the
    instructions below. Replace any default normal findings with actual findings when an
    abnormality is documented by the doctor. All other subsections remain at normal defaults.
    Global Exam Logic: Do not infer additional systems based on clinical context or template
    structure.
    
    If no physical examination is mentioned, omit the entire “Examination:” header.
    Include a subsection only if its parent system was examined.
    If a system is examined but a subsection is not mentioned, insert normal findings for that
    subsection.
    If an abnormal finding is mentioned, update only that subsection and keep all other subsections
    normal.
    Do not infer examinations or findings.
    Do not include procedures.
    Output must appear directly under the “Examination:” header with no extra text or labels.
    Do not modify system or subsection names, keep exact wording (for example, do not change
    “larynx/hypopharynx”).
    Format: Parent Section: Subsection: finding. Each parent section header should be on its own
    line followed by a colon (for example, “Facial skin:”). Each subsection should appear on the next
    line followed by a colon and its finding description. If a finding is mentioned and no exact
    subsection exists, create a new subsection under the appropriate parent system. Do not create
    new top-level systems.
    Default normal findings:
    General appearance: General: Healthy appearing, alert and oriented, in no acute distress
    Head and scalp: Head and scalp: normocephalic, atraumatic, no visible lesions
    Eyes: Conjunctivae: clear, no injection or discharge Pupils: equal, round, reactive to light
    Ears/Nose/Throat: Oropharynx: clear, no erythema or exudate Nasal mucosa: normal appearing
    Facial skin: Facial skin: no suspicious lesions
    Cardiovascular: Heart: regular rate and rhythm, no murmurs, rubs, or gallops Peripheral pulses:
    normal bilaterally
    Pulmonary: Lungs: clear to auscultation bilaterally Respiratory effort: unlabored
    Abdomen: Abdomen: soft, non-tender, non-distended Bowel sounds: present in all quadrants
    Musculoskeletal: Extremities: no deformity, full range of motion Gait: normal
    Skin: Skin: no rashes, lesions, or suspicious findings
    
    Neurologic: Cranial nerves: 2–12 intact Sensory exam: grossly intact Motor: normal strength
    bilaterally
    Psychiatric: Mood and affect: appropriate and cooperative
    General Examination: Lymph nodes: no palpable lymphadenopathy Extremities: no gross
    edema or cyanosis
    
    </Header_Title_10_Instructions>
    
    <Header_Title_11> Assessment: </Header_Title_11>
    <Header_Title_11_Instructions>
    List all ICD-10 diagnoses identified during the visit.
    Identify all appropriate ICD-10 codes representing conditions — even if not explicitly stated.
    Prioritize codes from the clinic's approved list when applicable. Each diagnosis on its own line
    follow with a colon
    Format: ICD [Code] - [Diagnosis Description]:
    Example: ICD H81.10 - Benign paroxysmal vertigo, unspecified ear:
    </Header_Title_11_Instructions>
    
    <Header_Title_12> Clinical Notes </Header_Title_12>
    <Header_Title_12_Instructions> Clinical Notes should only include the most clinically relevant
    and actively addressed problems from the Assessment, prioritizing conditions that are the
    primary drivers of the visit. Do not create a section for every ICD code if it was not actively
    discussed, managed, or changed during the encounter. Focus on the physician’s clinical
    reasoning, interpretation of findings
    Create clinical notes for Assesment sections in the same order as the above section
    ICD line rules:
    ● Begin with "ICD " (ICD + single space)
    ● Hyphen between code and descriptor with no spaces
    ● End with a colon
    ● Start at left margin
    Example format: ICD D37.05-Neoplasm of uncertain behavior of larynx:
    
    Reviewed biopsy results demonstrating mild epithelial dysplasia of the
    vocal fold lesion without evidence of invasive carcinoma.
    
    Content rules:
    ● Each interpretation statement begins with "- " or "* "
    ● Include onlyinterpretation of results, diagnostic reasoning, escalation or de-escalation of
    concern
    ● When optional workups or referrals depend on patient preference, use
    patient-preference framing
    ● For vestibular disorders with home maneuvers, include future-contingency and iterative
    guidance
    No-management rule: always include the ICD line for every Assessment item. If no
    management occurred, leave the block empty — no placeholders like "none."
    After the final line of each block, insert one blank line before the next block.
    </Header_Title_12_Instructions>
    <Header_Title_13> Treatment notes </Header_Title_12>
    <Header_Title_13_Instructions> Treatment includes only active clinical management decisions
    and next-step actions. It must NOT include clinical reasoning, interpretation, or discussion of
    meaning. All content must reflect finalized or intended actions resulting from the encounter and
    must be written in a clear, execution-focused format.
    Create Treatment entries for Assessment items only where active management decisions were
    made, following the same ICD order as the Assessment section.
    ICD line rules:
    Begin with "ICD " (ICD + single space)
    Hyphen between code and descriptor with no spaces
    End with a colon
    Start at left margin
    Content rules:
    Each treatment action begins with "- " or "* "
    Include only concrete actions: medications (name, dose, frequency, route, duration), orders
    (labs, imaging, procedures), referrals, follow-up timing, and direct patient instructions
    Do not include clinical interpretation, diagnostic reasoning, or explanation of disease meaning
    Do not repeat Clinical Notes content
    
    When medications are prescribed or adjusted, include full dosing instructions when stated
    When orders are placed, clearly specify the test or procedure and any relevant scheduling
    instructions
    When referrals are made, include specialty and urgency if stated
    When optional diagnostic workups or referrals are offered, use patient-preference framing (e.g.,
    "A full workup or referral was offered as an option if the patient wishes to proceed at a later
    time").
    For counseling-related actions, explicitly state the instruction in practical terms (e.g., avoidance
    of specific medications such as decongestants or antihistamines when relevant, with brief
    rationale only if directly stated during the encounter).
    No-management rule: always include the ICD line for every Assessment item where treatment
    decisions were made. If no treatment was provided for a specific ICD, leave the block empty
    with no placeholders.
    After the final line of each block, insert one blank line before the next ICD block.
    </Header_Title_13_Instructions>
    <Header_Title_14> Procedures: </Header_Title_14>
    <Header_Title_14_Instructions> Document any procedures performed this visit — indication,
    steps, findings, patient tolerance.
    Include: indication, relevant preparation/consent, key steps, findings, patient tolerance, and
    immediate complications. Use concise label-style lines rather than full sentences (e.g.,
    "Indication: vertigo", "Side: left"). When a procedure macro is triggered, insert it verbatim and
    add any provider-specified side or indication details. Dix-Hallpike default finding: no nystagmus
    unless stated otherwise.
    Colon rule: do NOT use a colon at the end of a procedure title followed by a line break. Colons
    only appear when content follows on the same line.
    Billing — output immediately after Procedures, for every encounter:
    E/M code: analyze visit complexity and select the appropriate E/M code for a new patient office
    visit. Always output one E/M code. Format: Add EM [code]
    CPT codes: identify all applicable CPT codes for procedures, tests, or quality reporting
    performed this visit. Format: Add CPT [code]
    If no procedural CPT codes apply, omit CPT lines but always retain the E/M line.
    Example: “Add EM 99204
    Add CPT 31231
    
    Add CPT 2001F”
    If no procedural CPT codes are mentioned/applicable, omit only the CPT lines from the output
    but ALWAYS retain the EM code section. Always output EM and CPT billing codes immediately
    after the Procedures section, even when no procedures were performed during this visit. The
    EM code reflects the evaluation and management service provided and must be documented
    for every patient encounter.
    </Header_Title_14_Instructions>
    <Header_Title_15> Orders: </Header_Title_15>
    <Header_Title_15_Instructions> List all labs, imaging, procedures, or immunizations ordered,
    grouped by diagnosis.
    Include only orders explicitly mentioned or clearly implied. Group under the relevant diagnosis
    using the three-line block format. Multiple orders for the same diagnosis go comma-separated
    on one Order line. Start a new block for each different diagnosis. Do not display the "Orders:"
    header in the output. If no orders are mentioned, omit this section entirely.
    Format: Assessment: ICD [Code] - [Diagnosis Description]: Order [Test 1], [Test 2]
    </Header_Title_15_Instructions>
    
    <Header_Title_16> Next Appointment: </Header_Title_16>
    <Header_Title_16_Instructions> Follow-up timeframe and reason.
    Include the timeframe and reason for follow-up if stated. If no follow-up is mentioned, omit this
    header entirely.
    Example: 3 weeks – to review lab results
    </Header_Title_16_Instructions>