source: WorldVistAEHR/trunk/r/LAB_SERVICE-LR-LS/LRLABEL5.m@ 1437

Last change on this file since 1437 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 829 bytes
Line 
1LRLABEL5 ;DUR/KT/AT - PRINTS ON VAF 10-1392 LABELS ;2/6/91 08:05
2 ;;5.2;LAB SERVICE;**161**;Sep 27, 1994
3A U IO
4 S LRTXT=$$LRTXT^LRLABLD(.LRTS,IOM-1)
5 W LRACC
6 W:$D(LRURG) ?16,"Stat"
7 W:$L(LRINFW) ?21,LRINFW
8 W ?33,LRACC,?56,LRACC
9 W !,$E(PNM,1,20),?21,$E(LRDAT,1,2)_$E(LRDAT,4,5)_$E(LRDAT,7,8),?33,$E(PNM,1,20),?56,$E(PNM,1,20)
10 W !,SSN," W:",LRLLOC,?20,$S(LRRB=0:"",1:" B:"_LRRB),?33,SSN,?56,SSN
11 W !
12 I LRXL G SKIP:N-I<LRXL
13 W LRPREF
14SKIP W LRTOP,?15," Order:",LRCE,?33,"Order:",LRCE,?56,"Order:",LRCE,!
15 W $E(LRTXT,1,IOM-1),!!
16 Q:'$D(LRAA)
17 Q:'$D(LRBAR(LRAA))
18 ;
19BAR ;Print bar code label
20 W LRACC W:$D(LRURG) ?16,"Stat" W:$L(LRINFW) ?21,LRINFW
21 W !,$E(PNM,1,20),?21,$E(LRDAT,1,2)_$E(LRDAT,4,5)_$E(LRDAT,7,8)
22 W !,SSN," W:",LRLLOC,?20,$S(LRRB=0:"",1:" B:"_LRRB)
23 W !,$E(LRTXT,1,IOM-1),!
24 W @LRBAR1,LRBARID,@LRBAR0
25 W !
26 Q
Note: See TracBrowser for help on using the repository browser.