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: medium - 5-8 fields, 2-3 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,CMP,MRN-679961,LAB-7491627,"[{""test"": ""Glucose"", ""value"": 60.4, ""unit"": ""g/dL"", ""flag"": ""low""}, {""test"": ""Glucose"", ""value"": 129"
2026-01-03,Lipid,MRN-102066,LAB-1507097,"[{""test"": ""WBC"", ""value"": 105.8, ""unit"": ""mg/dL"", ""flag"": ""high""}, {""test"": ""Hemoglobin"", ""value"": 5"
2026-01-04,CBC,MRN-189661,LAB-9785660,"[{""test"": ""Hemoglobin"", ""value"": 107.0, ""unit"": ""g/dL"", ""flag"": ""high""}, {""test"": ""Hemoglobin"", ""val"
2026-01-05,CMP,MRN-239675,LAB-4908984,"[{""test"": ""WBC"", ""value"": 133.2, ""unit"": ""g/dL"", ""flag"": ""normal""}, {""test"": ""WBC"", ""value"": 95.6, """
