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: 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:
date,medications,patient_mrn,prescriber,rx_id
2026-01-05,"[{""name"": ""Atorvastatin"", ""dosage"": ""10mg"", ""frequency"": ""TID"", ""quantity"": 90}, {""name"": ""Lisinopri",MRN-947410,Michael Bennett,RX-3575207
2026-01-01,"[{""name"": ""Metformin"", ""dosage"": ""10mg"", ""frequency"": ""daily"", ""quantity"": 30}, {""name"": ""Atorvastat",MRN-654497,Gabriel Campbell,RX-7710645
2026-01-04,"[{""name"": ""Metformin"", ""dosage"": ""10mg"", ""frequency"": ""BID"", ""quantity"": 60}, {""name"": ""Metformin"", ",MRN-616841,Zachary Jenkins,RX-5311225
