system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Output prescription as CSV.
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-02,"[{""name"": ""Metformin"", ""dosage"": ""10mg"", ""frequency"": ""daily"", ""quantity"": 60}, {""name"": ""Lisinopril",MRN-333670,John Mitchell,RX-7173717
2026-01-03,"[{""name"": ""Lisinopril"", ""dosage"": ""10mg"", ""frequency"": ""TID"", ""quantity"": 30}, {""name"": ""Lisinopril""",MRN-277747,Mark Stevens,RX-2375872
2026-01-05,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""daily"", ""quantity"": 90}]",MRN-550884,Scott Collins,RX-2025577
2026-01-04,"[{""name"": ""Atorvastatin"", ""dosage"": ""20mg"", ""frequency"": ""BID"", ""quantity"": 30}]",MRN-408217,Joseph Ramirez,RX-9797830
