system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
I need prescription details in CSV structure.
assistant
Approach:
1. Task: Create prescription 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:
date,medications,patient_mrn,prescriber,rx_id
2026-01-03,"[{""name"": ""Metformin"", ""dosage"": ""10mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Metformin""",MRN-543750,Alexandra Klein,RX-7484434
2026-01-03,"[{""name"": ""Lisinopril"", ""dosage"": ""10mg"", ""frequency"": ""TID"", ""quantity"": 30}]",MRN-273689,Kenneth Villegas,RX-9243292
2026-01-04,"[{""name"": ""Lisinopril"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 60}]",MRN-616374,Andrew Swanson,RX-1826403
2026-01-05,"[{""name"": ""Metformin"", ""dosage"": ""10mg"", ""frequency"": ""daily"", ""quantity"": 90}]",MRN-866102,Joseph Austin,RX-8775742
2026-01-03,"[{""name"": ""Lisinopril"", ""dosage"": ""10mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Metformin",MRN-545595,Susan Boone,RX-8967795
