Define variabls on the basis of other variables - a use case


Is it possible to set a bunch of variables on the basis of the user setting a single var?

For example, our panels give users that ability to select and display different units of measurement. Now we want to supply a single toggle for “SI units” or “non-SI units”. Some of the series need then to be for example in pMol, nMol or mMol for SI and “x,y or z” in non-SI

So we are looking for logic like:
if $global_units = "SI units" and $analyte = "Glucose"; then $unit="mMol"

This topic was automatically closed after 365 days. New replies are no longer allowed.