system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
I need clinical note details in CSV structure.
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"": ""K11""}, {""problem"": ""diabetes"", ""icd10"": ""J94""}]",headache,2026-01-03,CN-9700442,77,M,MRN-460621,105/88,64,99.7
"[{""problem"": ""diabetes"", ""icd10"": ""K47""}]",chest pain,2026-01-04,CN-4477783,89,M,MRN-673721,163/63,63,99.4
"[{""problem"": ""hypertension"", ""icd10"": ""I47""}]",chest pain,2026-01-01,CN-1367501,51,F,MRN-236445,145/82,79,100.4
