system
You are an expert in CSV format. Think step-by-step, then generate syntactically perfect CSV.
user
I need lab result details in CSV structure.
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-03,CMP,MRN-862561,LAB-6521707,"[{""test"": ""Hemoglobin"", ""value"": 54.2, ""unit"": ""g/dL"", ""flag"": ""high""}, {""test"": ""WBC"", ""value"": 131"
2026-01-03,CBC,MRN-817567,LAB-3430991,"[{""test"": ""WBC"", ""value"": 106.1, ""unit"": ""mg/dL"", ""flag"": ""normal""}, {""test"": ""Glucose"", ""value"": 13"
2026-01-05,Lipid,MRN-603792,LAB-5605927,"[{""test"": ""Glucose"", ""value"": 117.2, ""unit"": ""g/dL"", ""flag"": ""high""}, {""test"": ""WBC"", ""value"": 56.1,"
2026-01-01,CMP,MRN-872587,LAB-9574543,"[{""test"": ""Hemoglobin"", ""value"": 92.3, ""unit"": ""mg/dL"", ""flag"": ""high""}, {""test"": ""WBC"", ""value"": 12"
