A named collection of supplied laboratory results with units, reference intervals, report times and amendment notes.
Preview
Example result
Final
Result4.2 units
Reference interval3–5 units
Additional result
Pending
In action
Report received
Laboratory inbox / Example data
Reported measurement
Amended
Result24 units
Reference interval20–30 units
This amended result replaces the earlier report
Additional analysis
Pending
The laboratory has not released this result
Sample analysis
Unavailable
No result was included in the report
When to use
Use it for
Review numeric and qualitative results from an existing report.
Supply report states and flags from the source; the component never derives them from a reading.
Attach note to explain an amendment or unavailable result; provide stable result ids.
Not for
Calculating diagnoses, critical-result alerts or treatment recommendations.
Implying that final means clinically normal or that an amended value is the original report.
Using the synthetic example values as clinical reference intervals.
Install
Three ways in. They share one source, so the pixels match whichever you pick.
1. Import the package
npm install @noorddev/vlak-react
// once, next to your app's root
import "@noorddev/vlak-react/css";
import { LabResults } from "@noorddev/vlak-react";
Precompiled React and one stylesheet. No compiler to configure. Per-component imports work too: @noorddev/vlak-react/components/lab-results.
2. Vendor the source
npx @noorddev/vlak-cli add lab-results
The StyleX leaf lands in components/vlak/ with its dependencies, for your own compiler to own. See StyleX.