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: 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-04,"[{""name"": ""Atorvastatin"", ""dosage"": ""20mg"", ""frequency"": ""daily"", ""quantity"": 60}]",MRN-963089,Heather Harrell,RX-4414592
2026-01-05,"[{""name"": ""Metformin"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 60}, {""name"": ""Atorvastatin""",MRN-934098,Mark Wallace,RX-3791105
2026-01-05,"[{""name"": ""Lisinopril"", ""dosage"": ""10mg"", ""frequency"": ""TID"", ""quantity"": 60}]",MRN-475771,Jennifer Porter,RX-7397822
2026-01-03,"[{""name"": ""Lisinopril"", ""dosage"": ""20mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Lisinopri",MRN-853753,Mark Gray,RX-9088393
2026-01-02,"[{""name"": ""Metformin"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 90}, {""name"": ""Lisinopril"", ",MRN-353490,Heather Ritter,RX-8045582
