@kaiord/core / labReportSchema
Variable: labReportSchema
constlabReportSchema:ZodObject<{date:ZodISODate;drawTime:ZodOptional<ZodString>;fasting:ZodOptional<ZodBoolean>;id:ZodString;labName:ZodOptional<ZodString>;notes:ZodOptional<ZodString>;profileId:ZodString;provenance:ZodObject<{externalId:ZodOptional<ZodString>;source:ZodEnum<{ai-extracted:"ai-extracted";manual:"manual"; }>;sourceBridgeId:ZodOptional<ZodString>; },$strip>; },$strip>
Defined in: packages/core/src/domain/lab/lab-report.ts:11
A lab report — one dated analysis (draw) that groups N LabValue measurements. Flat shape (direct fields, no krd wrapper) following the activity principle of an own shape over generic infrastructure. Context fields (fasting / drawTime / notes) are optional per-report annotations.