system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Produce a CSV document for a lab result.
assistant
Approach:
1. Task: Create lab result 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:
order_date,panel,patient_mrn,result_id,results
2026-01-05,Lipid,MRN-995588,LAB-2627881,"[{""test"": ""Hemoglobin"", ""value"": 74.0, ""unit"": ""mg/dL"", ""flag"": ""normal""}, {""test"": ""WBC"", ""value"": "
2026-01-02,Lipid,MRN-447909,LAB-2564772,"[{""test"": ""WBC"", ""value"": 82.5, ""unit"": ""mg/dL"", ""flag"": ""low""}, {""test"": ""WBC"", ""value"": 59.8, ""uni"
2026-01-03,Lipid,MRN-916805,LAB-5999297,"[{""test"": ""Hemoglobin"", ""value"": 154.4, ""unit"": ""g/dL"", ""flag"": ""low""}, {""test"": ""Glucose"", ""value"":"
2026-01-01,Lipid,MRN-635582,LAB-6795112,"[{""test"": ""WBC"", ""value"": 153.2, ""unit"": ""mg/dL"", ""flag"": ""high""}, {""test"": ""Glucose"", ""value"": 151."
2026-01-01,Lipid,MRN-993379,LAB-4140314,"[{""test"": ""WBC"", ""value"": 176.8, ""unit"": ""g/dL"", ""flag"": ""low""}, {""test"": ""Glucose"", ""value"": 190.3,"
