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"": ""K80""}, {""problem"": ""diabetes"", ""icd10"": ""K73""}]",fever,2026-01-03,CN-6662058,,,,172/75,74,98.0
"[{""problem"": ""hypertension"", ""icd10"": ""I82""}, {""problem"": ""diabetes"", ""icd10"": ""J35""}, {""problem"": """,headache,2026-01-04,CN-6937536,23,F,MRN-856253,112/82,64,100.4
"[{""problem"": ""hypertension"", ""icd10"": ""I74""}, {""problem"": ""diabetes"", ""icd10"": ""I68""}]",fever,2026-01-01,CN-9950924,69,M,MRN-709305,167/66,118,99.8
"[{""problem"": ""hypertension"", ""icd10"": ""J80""}, {""problem"": ""diabetes"", ""icd10"": ""J72""}]",fever,2026-01-03,CN-9439164,42,M,MRN-778868,180/109,69,97.8
"[{""problem"": ""hypertension"", ""icd10"": ""I22""}]",chest pain,2026-01-03,CN-2242707,20,F,MRN-127305,120/108,67,99.8
