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-03,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""TID"", ""quantity"": 60}, {""name"": ""Lisinopril"",",MRN-731015,Brittany Pugh,RX-4817925
2026-01-03,"[{""name"": ""Atorvastatin"", ""dosage"": ""5mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Metformi",MRN-950209,Amanda Blackwell,RX-7369318
2026-01-01,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""BID"", ""quantity"": 30}, {""name"": ""Lisinopril"",",MRN-681385,Olivia White,RX-8912877
2026-01-02,"[{""name"": ""Metformin"", ""dosage"": ""10mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Atorvastat",MRN-116335,Rodney Moore,RX-7204995
2026-01-05,"[{""name"": ""Metformin"", ""dosage"": ""10mg"", ""frequency"": ""TID"", ""quantity"": 60}]",MRN-390372,Ellen Greene,RX-6916328
