system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Create a CSV representation of clinical note.
assistant
Approach:
1. Task: Create clinical note in CSV
2. Complexity: medium - 5-8 fields, 2-3 levels
3. Format rules: header row, comma-separated, quoted fields with commas
4. Structure: Organize data logically with appropriate nesting
5. Populate fields with realistic example data based on the schema.

Output:
assessment,chief_complaint,encounter_date,note_id,patient_age,patient_gender,patient_mrn,vitals_bp,vitals_hr,vitals_temp_f
"[{""problem"": ""diabetes"", ""icd10"": ""J94""}, {""problem"": ""hypertension"", ""icd10"": ""I96""}]",chest pain,2026-01-03,CN-6953622,88,F,MRN-161704,100/77,90,97.7
"[{""problem"": ""hypertension"", ""icd10"": ""J40""}, {""problem"": ""diabetes"", ""icd10"": ""I98""}]",fever,2026-01-02,CN-1019840,20,M,MRN-335081,143/80,90,97.1
"[{""problem"": ""diabetes"", ""icd10"": ""K36""}, {""problem"": ""diabetes"", ""icd10"": ""J96""}]",chest pain,2026-01-01,CN-4204609,30,M,MRN-280087,135/101,69,102.7
"[{""problem"": ""diabetes"", ""icd10"": ""J53""}, {""problem"": ""hypertension"", ""icd10"": ""K73""}]",chest pain,2026-01-01,CN-8582604,63,F,MRN-684471,159/70,71,98.5
"[{""problem"": ""diabetes"", ""icd10"": ""K78""}]",fever,2026-01-04,CN-5996301,49,M,MRN-970228,151/109,106,102.8
