system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
Output clinical note as XML.
assistant
Approach:
1. Task: Create clinical note in XML
2. Complexity: medium - 5-8 fields, 2-3 levels
3. Format rules: well-formed tags, proper nesting, escaped special chars
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
<?xml version="1.0" encoding="UTF-8"?>
<clinical_note>
<note_id>CN-3998475</note_id>
<patient>
<mrn>MRN-459969</mrn>
<age>22</age>
<gender>F</gender>
</patient>
<encounter_date>2026-01-02</encounter_date>
<chief_complaint>fever</chief_complaint>
<vitals>
<bp>156/100</bp>
<hr>101</hr>
<temp_f>98.4</temp_f>
</vitals>
<assessment>
<problem>diabetes</problem>
<icd10>K58</icd10>
</assessment>
<assessment>
<problem>hypertension</problem>
<icd10>I64</icd10>
</assessment>
</clinical_note>