system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Generate clinical note data in CSV format.
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"": ""I58""}, {""problem"": ""diabetes"", ""icd10"": ""I47""}, {""problem"": ""hype",chest pain,2026-01-01,CN-2735215,52,M,MRN-389494,111/100,66,99.3
"[{""problem"": ""hypertension"", ""icd10"": ""K94""}, {""problem"": ""diabetes"", ""icd10"": ""I68""}]",fever,2026-01-02,CN-9715288,90,F,MRN-109427,152/105,88,100.7
"[{""problem"": ""diabetes"", ""icd10"": ""K49""}]",fever,2026-01-05,CN-5493488,61,M,MRN-774757,136/87,91,100.5
"[{""problem"": ""diabetes"", ""icd10"": ""J77""}, {""problem"": ""diabetes"", ""icd10"": ""I67""}]",fever,2026-01-01,CN-6453537,22,F,MRN-452478,158/82,78,97.4
