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: 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-02,CBC,MRN-301476,LAB-9340153,"[{""test"": ""WBC"", ""value"": 166.1, ""unit"": ""mg/dL"", ""flag"": ""low""}, {""test"": ""Hemoglobin"", ""value"": 18"
2026-01-01,CMP,MRN-441719,LAB-7949351,"[{""test"": ""Glucose"", ""value"": 85.6, ""unit"": ""g/dL"", ""flag"": ""normal""}, {""test"": ""WBC"", ""value"": 175."
2026-01-04,CBC,MRN-257852,LAB-5392987,"[{""test"": ""Glucose"", ""value"": 193.7, ""unit"": ""g/dL"", ""flag"": ""high""}, {""test"": ""Hemoglobin"", ""value"""
2026-01-05,CBC,MRN-116192,LAB-1834853,"[{""test"": ""Hemoglobin"", ""value"": 141.7, ""unit"": ""g/dL"", ""flag"": ""low""}, {""test"": ""Hemoglobin"", ""valu"
2026-01-04,CBC,MRN-227110,LAB-7282231,"[{""test"": ""WBC"", ""value"": 57.5, ""unit"": ""g/dL"", ""flag"": ""low""}, {""test"": ""WBC"", ""value"": 172.4, ""uni"
