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"": ""diabetes"", ""icd10"": ""J14""}, {""problem"": ""diabetes"", ""icd10"": ""K93""}, {""problem"": ""hype",headache,2026-01-03,CN-9436830,56,M,MRN-199885,148/67,107,102.0
"[{""problem"": ""hypertension"", ""icd10"": ""I21""}, {""problem"": ""hypertension"", ""icd10"": ""I39""}, {""problem",headache,2026-01-05,CN-6657962,61,M,MRN-898326,138/62,71,99.0
"[{""problem"": ""diabetes"", ""icd10"": ""K35""}, {""problem"": ""hypertension"", ""icd10"": ""I40""}]",headache,2026-01-02,CN-6618478,19,M,MRN-951392,132/75,61,102.5
"[{""problem"": ""diabetes"", ""icd10"": ""K44""}]",chest pain,2026-01-04,CN-5808780,35,M,MRN-145770,169/107,103,99.0
"[{""problem"": ""hypertension"", ""icd10"": ""K26""}, {""problem"": ""diabetes"", ""icd10"": ""K65""}, {""problem"": """,headache,2026-01-04,CN-6806477,64,M,MRN-192737,97/99,112,102.8
