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: simple - 3-5 fields, minimal nesting
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"": ""I85""}, {""problem"": ""hypertension"", ""icd10"": ""I71""}]",chest pain,,CN-8407617,88,M,MRN-133492,,,
"[{""problem"": ""hypertension"", ""icd10"": ""K47""}, {""problem"": ""diabetes"", ""icd10"": ""I30""}, {""problem"": """,headache,2026-01-04,CN-2811570,21,F,MRN-581244,90/69,102,101.4
"[{""problem"": ""hypertension"", ""icd10"": ""J98""}]",headache,2026-01-03,CN-8024369,35,F,MRN-311323,158/89,96,100.1
"[{""problem"": ""diabetes"", ""icd10"": ""J59""}, {""problem"": ""hypertension"", ""icd10"": ""K64""}, {""problem"": """,chest pain,2026-01-05,CN-8323792,37,F,MRN-775923,156/85,89,100.4
"[{""problem"": ""diabetes"", ""icd10"": ""I59""}]",headache,2026-01-04,CN-7580125,29,F,MRN-287690,152/67,63,98.7
