/usr/hl7/etc/OperByNum id
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:
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.
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
CVUSER
CVHOST
sh(1), rsh(1), idb(1), section Converting Printer Output to HL7, section An ASTM to HL7 Gateway for the ABL 500.