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"": ""I65""}, {""problem"": ""hypertension"", ""icd10"": ""K11""}]",chest pain,2026-01-03,CN-8316023,50,F,MRN-627076,122/77,97,98.4
"[{""problem"": ""diabetes"", ""icd10"": ""J12""}]",chest pain,2026-01-02,CN-9405013,64,M,MRN-331388,163/71,80,98.0
"[{""problem"": ""diabetes"", ""icd10"": ""I88""}, {""problem"": ""diabetes"", ""icd10"": ""K17""}]",chest pain,2026-01-05,CN-1469298,69,M,MRN-731895,171/72,76,98.3
"[{""problem"": ""diabetes"", ""icd10"": ""J63""}, {""problem"": ""diabetes"", ""icd10"": ""J74""}]",chest pain,2026-01-02,CN-8718305,78,F,MRN-537906,157/70,92,102.5
"[{""problem"": ""hypertension"", ""icd10"": ""J78""}]",fever,2026-01-04,CN-2689340,74,F,MRN-304443,166/85,116,102.1
