I have a script that enters results into the Meditech CS result entry
screens. Sometimes after the accession number gets entered on the result
entry screen, a box pops up for "Specimen Comments/Queries/Markers". An
"<ESC>" will get rid of the box and then the script is back on the result
entry screen. The problem is that, to the scripts when it is reading data
from the result entry screen, the data in the "Specimen Comments" box
overwrites the data on the result entry screen. 

For Example when reading the patient name:

The script reads the patient name off the screen like this:
sLastName = Trim(.View(, , 3, 58, 25))

Normally, I would get sLastName = "Smith, John".

If the "Specimen comments" box happens to be wider than 58 characters on
line 3 (lets say the characters 58-60 are "123"), then when I do the screen
read for sLastName after hitting "<ESC>" for the box it would get
sLastName = "123th, John".

Any ideas how to get around this problem?

Thanks.

Joe Strauss
Senior Programmer Analyst
Specialty Laboratories @ <www.specialtylabs.com>
310 828-6543 ext. 1240


Reply via email to