A report item is a single visual element within a report format — a column header, a result value cell, a reference range cell, or a flag indicator. The collection of report items in a format defines the complete printed layout of the lab report. This article explains how to add and configure report items using the LIMS's CSS-based positioning system.
All position and size values are expressed as percentages of the page area (not absolute pixels), so the layout scales correctly to different paper sizes.
Field
Description
Top
Distance from the top of the report area (0–100%)
Left
Distance from the left edge (0–100%)
Width
Width of this element (0–100%)
Height
Height of each row (0–100%, typically a small value like 3–5%)
For advanced styling, you can enter a Custom CSS string that overrides all other styling settings. This is intended for experienced administrators who need styling effects not covered by the standard fields.
Plan on paper first. Sketch the desired report layout showing all columns and their approximate widths.
Create header items first. Add a report item for each column header (Test Header, Value Header, Unit Header, Reference Header).
Create data row items. Add a corresponding data item for each column (Test Label, Value Value, Unit Label, Reference Label, Flag Value).
Set positions. Align the header and data items in matching columns — the left and width values for "Test Header" should match those for "Test Label", and so on.
Test the layout. Generate a test report for a real patient and review the printed output.
Adjust as needed. Edit positions and sizes until the layout matches your design.