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: 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
,,MRN-871277,Jennifer Williams,RX-8793152
2026-01-04,"[{""name"": ""Lisinopril"", ""dosage"": ""20mg"", ""frequency"": ""BID"", ""quantity"": 90}]",MRN-543077,Krista Kelly,RX-4157436
2026-01-05,"[{""name"": ""Lisinopril"", ""dosage"": ""20mg"", ""frequency"": ""daily"", ""quantity"": 90}, {""name"": ""Metformin",MRN-265010,Edward Barr,RX-4214690
2026-01-01,"[{""name"": ""Lisinopril"", ""dosage"": ""5mg"", ""frequency"": ""daily"", ""quantity"": 30}, {""name"": ""Atorvastat",MRN-881473,Nicole Harrison,RX-4465475
2026-01-05,"[{""name"": ""Atorvastatin"", ""dosage"": ""10mg"", ""frequency"": ""TID"", ""quantity"": 60}]",MRN-979564,Chad Hudson,RX-8610998
