Joe
  I had this problem before on another script. Could you send me a copy of
the core logic and I will test it on my Meditech CS.
The solution for mine was a combination of - testing with LEN and timing of
when to read the last name or reread the last name.

This could be a tuff one.

Terry M Evans, CPHIMS
Chief Information Officer
985 435-4820

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Strauss
Sent: Wednesday, September 03, 2003 11:19 AM
To: '[EMAIL PROTECTED]'
Subject: [Talk] Meditech CS issue

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