1. A computer readable memory medium comprising program instructions for graphically creating a rule for defining a workflow in a laboratory management system, wherein the program instructions are executable by a processor to: generate a first node within a graphical diagram in response to user input, wherein the first node represents an action or condition, wherein the graphical diagram represents the rule, and wherein each node within the graphical diagram assists in creating the rule; and display a node condition/action window adjacent the graphical diagram, wherein the node condition/action window displays program code for executing the action or condition represented by the first node.