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: 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"": ""hypertension"", ""icd10"": ""J97""}]",fever,2026-01-05,CN-4063169,42,F,MRN-794924,166/82,94,98.8
"[{""problem"": ""diabetes"", ""icd10"": ""J98""}, {""problem"": ""diabetes"", ""icd10"": ""I17""}, {""problem"": ""diab",fever,2026-01-04,CN-5218510,65,F,MRN-779506,176/84,79,97.3
"[{""problem"": ""diabetes"", ""icd10"": ""I33""}]",headache,2026-01-02,CN-4801098,63,F,MRN-124159,178/88,72,102.0
"[{""problem"": ""hypertension"", ""icd10"": ""K23""}, {""problem"": ""hypertension"", ""icd10"": ""K90""}, {""problem",headache,2026-01-05,CN-3133847,77,F,MRN-844241,115/82,119,98.1
"[{""problem"": ""hypertension"", ""icd10"": ""I31""}]",fever,2026-01-05,CN-2807162,48,F,MRN-732503,149/96,68,97.1
