system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Produce a CSV document for a prescription.
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-02,"[{""name"": ""Metformin"", ""dosage"": ""5mg"", ""frequency"": ""TID"", ""quantity"": 90}]",MRN-894483,Caroline Smith,RX-9243634
2026-01-05,"[{""name"": ""Atorvastatin"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 60}]",MRN-660181,Elizabeth Brown,RX-9340667
2026-01-03,"[{""name"": ""Atorvastatin"", ""dosage"": ""20mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Metform",MRN-656293,Jason Hunter,RX-2781889
2026-01-05,"[{""name"": ""Atorvastatin"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 60}, {""name"": ""Lisinopril",MRN-426145,Tony Peterson,RX-1643682
2026-01-04,"[{""name"": ""Atorvastatin"", ""dosage"": ""10mg"", ""frequency"": ""daily"", ""quantity"": 60}, {""name"": ""Lisinop",MRN-745700,Travis Taylor,RX-9378265
