system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Create a CSV representation of prescription.
assistant
Approach:
1. Task: Create prescription 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:
date,medications,patient_mrn,prescriber,rx_id
2026-01-04,"[{""name"": ""Atorvastatin"", ""dosage"": ""5mg"", ""frequency"": ""TID"", ""quantity"": 60}]",MRN-553201,Amber Gregory,RX-1134936
2026-01-03,"[{""name"": ""Lisinopril"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 90}, {""name"": ""Atorvastatin",MRN-349397,Martin Walker,RX-1922671
2026-01-05,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""BID"", ""quantity"": 60}, {""name"": ""Metformin"", ",MRN-284560,Jessica Ellis,RX-9527187
2026-01-04,"[{""name"": ""Atorvastatin"", ""dosage"": ""5mg"", ""frequency"": ""TID"", ""quantity"": 30}]",MRN-297878,Holly Martin,RX-2204324
2026-01-02,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""BID"", ""quantity"": 60}]",MRN-997418,Whitney Cunningham,RX-2190726
