system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
I need prescription details in CSV structure.
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-01,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""TID"", ""quantity"": 90}]",MRN-920362,Gabriel Johnson,RX-6683434
2026-01-05,"[{""name"": ""Lisinopril"", ""dosage"": ""5mg"", ""frequency"": ""daily"", ""quantity"": 60}, {""name"": ""Atorvastat",MRN-792408,Christopher Hill,RX-8302804
2026-01-04,"[{""name"": ""Metformin"", ""dosage"": ""20mg"", ""frequency"": ""TID"", ""quantity"": 30}, {""name"": ""Metformin"", ",MRN-755050,Debra Wilkins,RX-2921919
2026-01-01,"[{""name"": ""Metformin"", ""dosage"": ""5mg"", ""frequency"": ""BID"", ""quantity"": 30}, {""name"": ""Atorvastatin""",MRN-235351,Jared Reed DVM,RX-2808337
2026-01-03,"[{""name"": ""Lisinopril"", ""dosage"": ""5mg"", ""frequency"": ""TID"", ""quantity"": 60}, {""name"": ""Lisinopril"",",MRN-717275,Matthew Gonzalez,RX-6649705
