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: 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"": ""hypertension"", ""icd10"": ""K39""}, {""problem"": ""hypertension"", ""icd10"": ""K62""}, {""problem",fever,,CN-8407015,,,,141/81,63,102.6
"[{""problem"": ""hypertension"", ""icd10"": ""I39""}, {""problem"": ""hypertension"", ""icd10"": ""J85""}, {""problem",chest pain,2026-01-02,CN-2621687,79,F,MRN-812262,110/79,112,97.6
"[{""problem"": ""hypertension"", ""icd10"": ""J52""}, {""problem"": ""diabetes"", ""icd10"": ""J98""}]",chest pain,2026-01-05,CN-8605120,56,M,MRN-569588,104/84,60,101.7
"[{""problem"": ""diabetes"", ""icd10"": ""K88""}, {""problem"": ""diabetes"", ""icd10"": ""J52""}, {""problem"": ""diab",fever,2026-01-04,CN-9227780,28,F,MRN-515430,150/70,61,99.9
"[{""problem"": ""hypertension"", ""icd10"": ""K84""}]",fever,2026-01-05,CN-5592440,74,F,MRN-972391,135/83,104,100.0
