Defining Field Options 4-3
Using Option 2 (Data Type Restrictions)
This option restricts the data type for a particular field. You can use Options 2 or 3 only once per
field. Do not use with Option 3 (Data Entry Templates).
Note: Use a keyboard for offline data entry. We do not recommend entering more than 100
characters in offline mode.
If you do batch entry only in the batch packet, you do not need to apply Options 2 and 3. Use
these options only for offline batch entry.
Syntax R,2,char_code |
R1. R Option Header.
R2. 2 Option 2.
R3. char code Character type for the field. 1 is the default. Options:
1 Numeric only (0..9)
2 Letters only (A..Z,a..z)
3 Symbols only (printable characters other than letters or numbers)
4 Letters and numbers only
5 Numbers and symbols only
6 Letters and symbols only
Spaces are permitted in all categories. You can also use a combination
of any two (letter, numbers, or symbols) character types.
Note: A use for this option is a quantity field, where the operator could enter
only numeric data.
Example R,2,2 |
Restricts the field data to letters only (A-Z or a-z).
Using Option 3 (Data Entry Templates)
This option provides more specific restrictions than Option 2. This option can be used to select
certain letters (such as A through F or the numbers 1 through 4) from a character set. You can
also use this option to create a template of allowable characters for a field. Do not use with
Option 2 (Data Type Restrictions).
Use this option only for offline batch entry. You can define a template up to 30 characters long,
but the printer only displays 16 characters at a time. The character template must contain the
same number of characters as the field.
Note: Use a keyboard for offline data entry. We do not recommend entering more than 100
characters in offline mode.
Syntax R,3,code,chars |
R1. R Option Header.
R2. 3 Option 3.
R3. code Data types. T is the default. Options
S Defines a specific set of characters for the entire field. The string
length does not have to match the field length. Maximum is 30
characters.
T Creates a template of allowable data types by placing character
indicators in each character position. The number of characters in
the string must match the length of the field.
Note: A sample use for this option is a field on a patient record containing blood
type. Acceptable characters would be A, B, O, +, or -.