system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Produce a CSV document for a 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"": ""K58""}, {""problem"": ""hypertension"", ""icd10"": ""I64""}]",fever,2026-01-02,CN-3998475,22,F,MRN-459969,156/100,101,98.4
"[{""problem"": ""diabetes"", ""icd10"": ""I57""}]",headache,2026-01-02,CN-8279953,88,M,MRN-299782,107/65,78,99.6
"[{""problem"": ""diabetes"", ""icd10"": ""I57""}]",chest pain,2026-01-03,CN-3090699,36,F,MRN-809697,142/67,103,97.5
"[{""problem"": ""hypertension"", ""icd10"": ""J84""}]",fever,2026-01-01,CN-8546373,40,F,MRN-431907,94/103,101,99.9
"[{""problem"": ""hypertension"", ""icd10"": ""I54""}, {""problem"": ""diabetes"", ""icd10"": ""J28""}]",fever,2026-01-05,CN-4031300,37,M,MRN-592756,146/110,78,99.3
