I am working on a script that will take the time spent in our ER and compare it 
with a chart to determine the CPT code to enter into meditech. Right now I am 
trying something along these lines,

if time > 20 or < 75 then code = 99289
if time > 76 or <120 then code = 99290
if time >121 or < 150 then code = 99291

it seems like the first line will work but not go on to the second. Is there a 
better way to do this? This is something my VB training hasn't covered yet.

Thanks,
Gary Williams

Reply via email to