The Demo site for our new HL7 Version 2+ (plus) Standard
visit the hl7 website

Draft Website - For Review Purposes Only

VR - value range

HL7 Component Table - VR - value range
Seq# Description Implement Flags Cardinality Length C.LEN Vocabulary Data Type
VR
1 First Data Code Value = [0..1]   6 ST
2 Last Data Code Value = [0..1]   6 ST

Components: <First Data Code Value (ST)> & <Last Data Code Value (ST)>

Definition: This data type contains the lower bound value and upper bound values that constitute a range. Either or both components may be populated.

Note: Replaces the CM data type used in 5.10.5.3.11 QRD-11 as of v 2.5.


The VR differs from the Numeric Range (NR) data type only in that the values are not restricted to numbers. If the range is not numeric, the set must be orderable in some intuitive way such as alpha or the order must be defined in the field where the data type is used.

Example 1:

|+^+++|

Example 2: Colors of the rainbow

|violet^red|

VR-1: First Data Code Value (ST)

Definition: Specifies the lower bound value.

VR-2: Last Data Code Value (ST)

Definition: Specifies the upper bound value.