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: 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"": ""Lisinopril"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 60}]",MRN-416285,Casey Berry,RX-9189487
2026-01-02,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Metformin""",MRN-379996,Andrew Robles,RX-6722857
2026-01-01,"[{""name"": ""Atorvastatin"", ""dosage"": ""20mg"", ""frequency"": ""daily"", ""quantity"": 30}, {""name"": ""Metform",MRN-328162,Nathan Sanchez,RX-4331468
