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"": ""I21""}]",chest pain,2026-01-04,CN-8485350,58,F,MRN-864145,141/103,100,98.5
"[{""problem"": ""hypertension"", ""icd10"": ""I93""}, {""problem"": ""diabetes"", ""icd10"": ""J95""}]",headache,2026-01-05,CN-3562105,85,F,MRN-167542,102/60,103,102.4
"[{""problem"": ""hypertension"", ""icd10"": ""J29""}, {""problem"": ""hypertension"", ""icd10"": ""K40""}]",headache,2026-01-02,CN-2650241,23,F,MRN-595313,163/87,95,97.5
"[{""problem"": ""hypertension"", ""icd10"": ""J77""}, {""problem"": ""diabetes"", ""icd10"": ""J17""}]",fever,2026-01-03,CN-5206413,25,F,MRN-426868,98/77,87,97.3
"[{""problem"": ""hypertension"", ""icd10"": ""I71""}]",fever,2026-01-02,CN-7218166,67,F,MRN-325851,164/69,73,98.7
