| GENERAL DESCRIPTION | 
In order to insure the uniform formatting of the
display of laboratory results reference ranges a new API has been created.
This new API is EN^LRLRRVF.
It is to be used as part of a set statement. For example:
S LRDV=$$EN^LRLRRVF(RLV,RHV)
It has two input values.  RLV - Reference Low Value, RHV - Reference High
value
Both input values are required, but either or both can be set to null.
It will return the laboratory result refference ranges formatting using the
following guidelines:
1.  If neither low or high reference value is defined, nothing prints.  2.  If
the low only is defined and it is equal to 0 it prints: Ref: >=0 3.  If the
low only is defined and the first character is "<" or ">"
it prints: Ref: low_value 4.  If the low only is defined and it is numeric
it prints: Ref: >=10 5.  If the low only is defined and it is alphanumeric it
prints:
Ref: RVLow 6.  If the high only is defined and it is equal to 0 it prints:
Ref: 0 7.  If the high only is defined and the first character is "<" or ">"
it prints: Ref: high_value 8.  If the high only is defined and it is
numeric it prints: Ref: <=20 9.  If the high only is defined and it is
alphanumeric it prints:
Ref: RVHIGH 10. If both low and high are defined it prints: RVLOW - RVHIGH
or 10 - 20.
This is a example display. The example results and the ranges are in the same
order as the guidelines.
---- MISCELLANEOUS TESTS ----
DATE    TIME   SPECIMEN          TEST         VALUE         Ref ranges
--------------------------------------------------------------------------
-----
10/25/2007 15:49  BLOOD             CML-F:       10               10/25/2007
16:06  BLOOD             CML-F:       10            Ref: >=0 10/25/2007 16:06
BLOOD             CML-F:       10            Ref: >10 10/25/2007 16:10  BLOOD
CML-F:       9 L           Ref: >=10 10/25/2007 16:24  BLOOD
CML-F:       10            Ref: RVLOW 10/25/2007 16:29  BLOOD
CML-F:       10 H          Ref: 0 10/25/2007 16:29  BLOOD             CML-F:
10 H          Ref: <20 10/25/2007 16:32  BLOOD             CML-F:       22
H          Ref: <=20 10/25/2007 17:35  BLOOD             CML-F:       10
Ref: RVHIGH 10/25/2007 17:38  BLOOD             CML-F:       15
10 - 20
***numeric ranges*** 10/25/2007 17:45  BLOOD             CML-F:       17
RVLOW - RVHIGH
***alphanumeric ranges***
 
 |