system
You are an expert in XML format. Think step-by-step, then generate syntactically perfect XML.
user
Generate clinical note data in XML format.
assistant
Approach:
1. Task: Create clinical note in XML
2. Complexity: complex - 8-10 fields, 3-4 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-3484562</note_id>
<patient>
<mrn>MRN-557288</mrn>
<age>19</age>
<gender>F</gender>
</patient>
<encounter_date>2026-01-04</encounter_date>
<chief_complaint>chest pain</chief_complaint>
<vitals>
<bp>94/91</bp>
<hr>63</hr>
<temp_f>98.4</temp_f>
</vitals>
<assessment>
<problem>diabetes</problem>
<icd10>I82</icd10>
</assessment>
<assessment>
<problem>hypertension</problem>
<icd10>K89</icd10>
</assessment>
</clinical_note>