Introduction
...
concept_reference_range
: This table holds the absolute, critical, and normal ranges along with acriteria
column. Thecriteria
column contains a coded function that performs validation checks, such as those based on age or gender, using the Velocity engine for evaluationvelocity text expressions that evaluate to true or false.obs_reference_range
: This table stores the validated reference ranges for observation numeric values that have been used in validation after the criteria have been applied.
...
This design allows for easy updates and expansions of criteria without requiring changes to the underlying database schema.
Business Logic Flow
...
Schema changes
This section details the new tables and relationships added to the OpenMRS data model to support factor-based concept ranges.
...