Previous Topic

Next Topic

Book Contents

Writing scripts to use arguments

To make an argument available to a rule script, set the value of a variable to the result of the GetArgument method of the Patient scripting object. GetArgument returns the value of the specified argument. For example, in the following script fragment, GetArgument returns the value of the Max argument:

HighTemp = Patient.GetArgument(“Max”)

Then, use the variable in the edit check logic.

Send Feedback