...
This design allows for easy updates and expansions of criteria without requiring changes to the underlying database schema.
Business Logic Flow
...
...
When multiple reference ranges, of one concept numeric, are evaluated to true, then we use the strictest range.
For instance:-
ConceptReferenceRange1 has ranges60-140.
ConceptReferenceRange2 has ranges80-150
-> The ObsReferenceRange will have range80-140
. In other words, the highest lower bound and lowest higher bound is picked.
Schema changes
This section details the new tables and relationships added to the OpenMRS data model to support factor-based concept ranges.
...