- This topic has 2 replies, 2 voices, and was last updated 19 years, 6 months ago by .
-
Topic
-
I have a tclproc that I use to check for an E/R patient type. I want to now check for either E/R or Q/R in the PV1-18 field. Here is part of my code. I can’t figure out how to do this. Thanks for any help. if [cequal $segtype PV1] { ;# PV1?
set pv1tmp [split $seg $field_sep]
;# split PV1 fields.
set pv118 [lindex $pv1tmp 18]
;#get PV1-18
set pv118_0 [csubstr $pv118 0 3]
if [cequal $pv118_0 “E/R”] {
set disp “”
set disp “CONTINUE $mh”
:q
Viewing 1 reply thread
Viewing 1 reply thread
- The forum ‘Cloverleaf’ is closed to new topics and replies.