Previous Topic

Next Topic

Book Contents

Context anatomy

A rule context consists of:

A single rule can have many contexts; for example, a rule that tests for range limits can be applied to very different items on multiple forms, passing arguments that are specific to the context each time it is applied. Thus a rule that checks for valid ranges on a height item can use arguments that specify minimum and maximum number of inches in the height context. When the same rule is applied to a pulse rate item, it can use a different set of arguments that specify a minimum and maximum number of heartbeats.

In the InForm Architect application, a context and all of its components are represented as nodes in the Rule window for the rule with which it is associated.

Rule Wieght Range Rule window

Context definition information appears in the Rule window, as part of the definition of the rule. When you select the Context RefName node in the Rule window, the Properties window reflects the properties of the context:

In addition, the Form window shows the contexts associated with each item. The following figure illustrates:

screen shot of Vital Signs hierarchy

Note: Only form rules, calculations, and randomization rules have contexts. Conversion rules, which are applied to unit definitions, do not.

Send Feedback