system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Output clinical note as CSV.
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"": ""J23""}]",chest pain,2026-01-03,CN-3015500,78,M,MRN-331280,158/100,113,101.5
"[{""problem"": ""diabetes"", ""icd10"": ""K27""}, {""problem"": ""hypertension"", ""icd10"": ""I80""}]",fever,2026-01-02,CN-3761936,86,M,MRN-212612,168/85,82,97.3
"[{""problem"": ""diabetes"", ""icd10"": ""K19""}, {""problem"": ""hypertension"", ""icd10"": ""K51""}]",fever,2026-01-03,CN-4530814,36,F,MRN-948364,135/73,100,101.5
"[{""problem"": ""hypertension"", ""icd10"": ""K14""}, {""problem"": ""diabetes"", ""icd10"": ""I93""}]",headache,2026-01-02,CN-7636135,47,M,MRN-517371,132/66,62,101.9
