system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Output clinical note as CSV.
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"": ""I57""}, {""problem"": ""diabetes"", ""icd10"": ""K23""}, {""problem"": ""hype",chest pain,2026-01-05,CN-2571416,56,M,MRN-555681,167/83,92,97.2
"[{""problem"": ""hypertension"", ""icd10"": ""I36""}]",headache,2026-01-03,CN-8711618,18,M,MRN-400368,172/99,71,102.6
"[{""problem"": ""diabetes"", ""icd10"": ""J39""}, {""problem"": ""hypertension"", ""icd10"": ""I66""}]",fever,2026-01-02,CN-8920561,27,F,MRN-108226,123/80,111,100.8
"[{""problem"": ""hypertension"", ""icd10"": ""K86""}, {""problem"": ""diabetes"", ""icd10"": ""I85""}, {""problem"": """,fever,2026-01-05,CN-5561301,62,M,MRN-627508,105/75,113,102.6
