1. A non-transitory 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; define an action or condition within the first node; 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, and wherein the program code displays the defined action or condition within the first node, wherein the rule is related to a sample or a result from testing a sample in a laboratory, wherein information regarding the sample or the result is communicated to the laboratory management system, wherein the program instructions are executable by the processor to graphically provide a user with a list of parameters and a list of operators for defining the action or condition of the first node.