Examples of Create Rules
On the Create Rule form, add the Copy Method to the rule.
In the Segments tab of the Create Rule form, you configure the Auto Code Segments.
Segment Type | Segment name or prompt | Include | Required | Delimiter | Length |
---|---|---|---|---|---|
Selection | Class | No | Yes | 20 | |
Fixed | Lab | Yes | Yes | 6 | |
Sequence | Formula Number | Yes | Yes | . | 3 |
Selection | Color | Yes | Yes | - | 6 |
Prompt | User Initials | Yes | Yes | - | 3 |
Version | Formula Version | Yes | Yes | 3 |
(Segment type) | Fill character | Alignment | Copy from | Copy mask |
---|---|---|---|---|
Selection | Left | |||
Fixed | Left | |||
Sequence | 0 | Right | ||
Selection | Left | |||
Prompt | Left | |||
Version | 0 | Left |
(Segment type) | Enum query or seq. name or lookup | Default or custom config. | Exclude pattern | Custom caption | column |
---|---|---|---|---|---|
Selection |
C_FORMULACLASS
|
||||
Fixed |
COLOR
|
||||
Sequence |
SEQ1
|
||||
Selection |
C_COLOR
|
||||
Prompt |
XXX;XX;X
|
||||
Version |
When users copy formulas, the Create Formula dialog is displayed.
See Saving user input (web client).
A Formula form is displayed with the appropriate formula code and version. The Main tab shows property changes invoked by the Copy Method.
The
FATS_SAT
and
FATS_TRANS
parameters, that belong to the
FOOD
set code, are cleared. The user must refresh to
reset the
Level
indicator.
After refreshing the formula, the user can see that the formula is
assigned to the
COLOR
set code.