Tip
Note that you can define an argument as an explicit value or as a RefName path. If you define it as a RefName path, first use Patient.GetArgument to retrieve the path, and then use Patient.GetValueRF to retrieve the value of the item that the path refers to. In the following example, the PastValue argument is defined with a RefName path as its Value property:
PastWeight = patient.getargument("PastValue")
BaseWt = Patient.GetValueRF(PastWeight, "", 0,0,0)