Currently, the "Add new" screen only allows reference values to be segmented by Gender. I propose adding specific controls to define the patient age range for which these values apply.
The solution must include:
Interval Fields: Two new numeric fields for "Minimum Age" and "Maximum Age."
Unit Selector: A dropdown menu to select the time unit (Days, Months, Years), which is critical for differentiating between neonates, pediatric patients, and adults.
Logic: When processing a test result, the system must calculate the patient's age and match it against both their gender and the configured age range to select the correct Normal/Critical limits.