Go to the first, previous, next, last section, table of contents.

Resolving an Operator ID

Synopsis

/usr/hl7/etc/OperByNum id

Description

The OperByNum script is used to resolve an operator identifier as entered by the operator into the radiometer device into real operator data, including the name. The script performs arbitrary commands and returns one line of output to the standard output device, which specifies the following data items:

  1. last name
  2. first name

Optional double quotes `"' may be used in order to mark strings with inherent spaces or tabs. The data items should be delimited by single ASCII HT (tab, 0x0A) characters. The keyword NULL, all-uppercase without quotes, stands for the database NULL value.

Examples

The OperByNum script is called as a reading pipe from the abl300 and abl500 programs:

/usr/hl7/etc/OperByNum 1919

For the ABL to CareVue interface chain, a remote shell is used in order to directly log into the CareVue host, where an idb job is called to fetch the patient data:

#!/bin/sh 
rsh -K -l $CVUSER $CVHOST "
. /usr/M1215A/carevue/etc/carevue_env ;
. /usr/M1215A/carevue/etc/go_charting ;
idb -s -q 2>/dev/null <<__END__
set ColumnMode;
select nameLast, nameFirst from User where employeeNo=\"$1\";
__END__
"

A sample output might be

"Schadow" NULL

Environment

CVUSER
CVHOST
used in the above example script for the user and host to log into a CareVue host. Note that this is not fixed. The actual policy used to dynamically configuring the user and host is described in section Configuring the CareVue Host

See Also

sh(1), rsh(1), idb(1), section Converting Printer Output to HL7, section An ASTM to HL7 Gateway for the ABL 500.


Go to the first, previous, next, last section, table of contents.