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: 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"": ""I15""}]",chest pain,2026-01-01,CN-1394512,78,F,MRN-917506,155/73,114,100.8
"[{""problem"": ""diabetes"", ""icd10"": ""I64""}, {""problem"": ""diabetes"", ""icd10"": ""K90""}]",headache,2026-01-02,CN-5427098,25,F,MRN-614136,176/67,76,97.1
"[{""problem"": ""hypertension"", ""icd10"": ""I93""}]",headache,2026-01-05,CN-5910438,40,M,MRN-972267,101/96,111,102.3
