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-04,Lipid,MRN-926833,LAB-4545863,"[{""test"": ""Glucose"", ""value"": 170.7, ""unit"": ""g/dL"", ""flag"": ""high""}, {""test"": ""Hemoglobin"", ""value"""
2026-01-01,CMP,MRN-943374,LAB-6888638,"[{""test"": ""Glucose"", ""value"": 187.4, ""unit"": ""mg/dL"", ""flag"": ""low""}, {""test"": ""WBC"", ""value"": 89.7,"
2026-01-02,Lipid,MRN-341356,LAB-2864265,"[{""test"": ""Hemoglobin"", ""value"": 191.5, ""unit"": ""g/dL"", ""flag"": ""high""}, {""test"": ""Hemoglobin"", ""val"
2026-01-01,CMP,MRN-554513,LAB-6925367,"[{""test"": ""WBC"", ""value"": 159.6, ""unit"": ""mg/dL"", ""flag"": ""low""}, {""test"": ""Hemoglobin"", ""value"": 15"
