system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
Output lab result as CSV.
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-01,CBC,MRN-810937,LAB-3296162,"[{""test"": ""Glucose"", ""value"": 103.7, ""unit"": ""mg/dL"", ""flag"": ""low""}, {""test"": ""Glucose"", ""value"": 1"
2026-01-03,CMP,MRN-407435,LAB-2162151,"[{""test"": ""Glucose"", ""value"": 104.2, ""unit"": ""mg/dL"", ""flag"": ""high""}, {""test"": ""Hemoglobin"", ""value"
2026-01-05,CMP,MRN-776124,LAB-2971778,"[{""test"": ""Glucose"", ""value"": 124.1, ""unit"": ""g/dL"", ""flag"": ""normal""}, {""test"": ""WBC"", ""value"": 168"
2026-01-03,CMP,MRN-482534,LAB-4409597,"[{""test"": ""Hemoglobin"", ""value"": 110.0, ""unit"": ""mg/dL"", ""flag"": ""low""}, {""test"": ""Glucose"", ""value"""
