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"": ""I96""}]",headache,2026-01-05,CN-6813259,40,M,MRN-829723,167/107,108,101.8
"[{""problem"": ""diabetes"", ""icd10"": ""K70""}, {""problem"": ""hypertension"", ""icd10"": ""J86""}, {""problem"": """,headache,2026-01-02,CN-6933497,74,M,MRN-617637,175/89,80,100.1
"[{""problem"": ""hypertension"", ""icd10"": ""K83""}]",fever,2026-01-01,CN-6372900,20,F,MRN-507703,152/78,114,97.4
