system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Generate clinical note data in CSV format.
assistant
Approach:
1. Task: Create clinical note in CSV
2. Complexity: complex - 8-10 fields, 3-4 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"": ""I49""}]",headache,2026-01-02,CN-2589578,40,F,MRN-569575,177/91,118,102.4
"[{""problem"": ""hypertension"", ""icd10"": ""I27""}, {""problem"": ""diabetes"", ""icd10"": ""I73""}]",fever,2026-01-05,CN-5348770,88,F,MRN-549732,179/76,67,99.7
"[{""problem"": ""diabetes"", ""icd10"": ""K80""}]",headache,2026-01-04,CN-9503434,28,M,MRN-219083,162/104,74,100.3
"[{""problem"": ""hypertension"", ""icd10"": ""K44""}, {""problem"": ""diabetes"", ""icd10"": ""I56""}, {""problem"": """,chest pain,2026-01-04,CN-2541866,77,F,MRN-149593,134/87,93,98.3
"[{""problem"": ""diabetes"", ""icd10"": ""I35""}, {""problem"": ""diabetes"", ""icd10"": ""J68""}]",fever,2026-01-01,CN-5294599,70,F,MRN-449572,112/64,74,98.5
