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-03,Lipid,MRN-291114,LAB-7274622,"[{""test"": ""Glucose"", ""value"": 160.7, ""unit"": ""g/dL"", ""flag"": ""low""}, {""test"": ""Glucose"", ""value"": 56"
2026-01-05,CBC,MRN-961585,LAB-2216836,"[{""test"": ""Glucose"", ""value"": 105.5, ""unit"": ""mg/dL"", ""flag"": ""normal""}, {""test"": ""Hemoglobin"", ""val"
2026-01-01,CBC,MRN-954970,LAB-8507505,"[{""test"": ""Glucose"", ""value"": 95.4, ""unit"": ""mg/dL"", ""flag"": ""low""}, {""test"": ""WBC"", ""value"": 176.9,"
2026-01-01,CMP,MRN-199211,LAB-4657052,"[{""test"": ""Glucose"", ""value"": 146.6, ""unit"": ""g/dL"", ""flag"": ""normal""}, {""test"": ""Hemoglobin"", ""valu"
2026-01-05,Lipid,MRN-337169,LAB-8139224,"[{""test"": ""WBC"", ""value"": 168.3, ""unit"": ""g/dL"", ""flag"": ""high""}, {""test"": ""Hemoglobin"", ""value"": 70"
