system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Produce a CSV document for a clinical note.
assistant
Approach:
1. Task: Create clinical note in CSV
2. Complexity: medium - 5-8 fields, 2-3 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"": ""J25""}, {""problem"": ""hypertension"", ""icd10"": ""K35""}]",headache,2026-01-03,CN-2117136,71,M,MRN-453205,179/77,79,99.9
"[{""problem"": ""diabetes"", ""icd10"": ""I27""}, {""problem"": ""diabetes"", ""icd10"": ""K89""}]",headache,2026-01-01,CN-4210411,79,F,MRN-454629,145/96,88,100.4
"[{""problem"": ""hypertension"", ""icd10"": ""K82""}]",fever,2026-01-05,CN-1116602,76,F,MRN-457850,106/73,101,98.8
"[{""problem"": ""hypertension"", ""icd10"": ""J39""}]",fever,2026-01-02,CN-3122543,74,M,MRN-259015,118/62,78,98.7
