-
Type:
Task
-
Resolution: Unresolved
-
Priority:
High
-
None
-
Affects Version/s: None
-
HWC Mobile App
-
UAT
This model represents the metadata of lab test components required to dynamically render input fields in the Lab Record screen. Each component defines how a particular test parameter should be displayed, validated, and stored.
Fields Explanation
- id
Local database primary key (auto-generated). - testComponentID
Unique identifier of the test component (used for mapping with backend data). - procedureID
Identifier of the lab procedure/test to which this component belongs. - rangeNormalMin
Minimum value of the normal reference range (used for validation/display). - rangeNormalMax
Maximum value of the normal reference range. - rangeMin
Absolute minimum acceptable value (including abnormal cases). - rangeMax
Absolute maximum acceptable value. - isDecimal
Indicates whether the input value supports decimal numbers.- true → decimal allowed
- false → only integer values
- inputType
Defines the type of input field to render in UI.
Examples: text, number, dropdown, etc. - measurementUnit
Unit of measurement for the test value (e.g., mg/dL, bpm, °C). - testComponentName
Display name of the test component (shown as label in UI). - testComponentDesc
Description or additional information about the test component.