RABAR ;HISC/GJC-Procedure & CPT Code barcode output (part 1 of 2) ;7/31/96 08:57
Source file <RABAR.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Radiology Nuclear Medicine | 2 | RA BARPROCPRINT RABAR1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN1 | ; Entry point for RA BARPROCPRINT (Barcoded Procedure List)
; variable list: ; 'RADIC' : namespaced DIC input variables passed to EN1^RASELCT ; 'RAPRNT': data elements to print i.e, CPT Code, Procedure or both ; 'RASORT': data elements to sort by i.e, CPT Code or Procedure ; '^TMP($J,"RA I-TYPE")': Imaging Type(s) selected by the user ; '^TMP($J,"RA PROC")' : Procedure(s) selected by the user |
|
DEV | ; Device selection
|
|
START | ; Start processing data & printing to the device here
|
|
BOTH | ; Ask the user which to sort by i.e, CPT Code -or- Procedure
|
|
DOLLARY | ; Caculate the new value of $Y for formatting purposes.
|
|
DSCR(Y) | ; Device screen logic, select only barcode capable devices.
|
|
HDR | ; Header
|
|
HELP | ; Help message for barcode height prompt
|
|
HI() | ; user input of height (in lines) of the barcode
; returns the height (in lines) of the barcode, OR -1 if user chooses ; to exit without inputting a number. |
|
INA(Y) | ; Determines if the procedure is inactive
; Input : IEN of file 71 ; Output: 1 if active, 0 if inactive |
|
ITYPE() | ; Select the Imaging Type(s)
|
|
KILL | ; Kill all other variables [ includes ^TMP($J) ]
|
|
KILLDIR | ; Kill off variables from DIR call
|
|
LINE | ; Print ten lines of text
|
Name | Field # of Occurrence |
---|---|
^%ZIS | DEV+3 |
HOME^%ZIS | DEV+11 |
^%ZISC | START+22 |
^%ZTLOAD | DEV+9 |
^DIR | EN1+21, BOTH+5, HI+9 |
$$PROC^RABAR1 | EN1+25 |
$$TEST^RABAR1 | EN1+11 |
PRINT^RABAR1 | START+18 |
PRINT1^RABAR1 | START+12 |
ZOSF^RABAR1 | DOLLARY+1 |
ZTSAVE^RABAR1 | DEV+9 |
EN1^RASELCT | ITYPE+3 |
STOPCHK^RAUTL9 | HDR+7 |
$$FMTE^XLFDT | EN1+10 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZIS(1 - [#3.5] | DSCR+1 |
^%ZIS(2 - [#3.2] | DSCR+3, DSCR+4 |
^RAMIS(71 - [#71] | INA+3, INA+4 |
^TMP($J | EN1+8!, EN1+26, DEV+2, DEV+5*, START+16, START+17, KILL+1!, KILL+2! |
Name | Field # of Occurrence |
---|---|
^("RA BARDEV" | DEV+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%X | DEV+12!, KILL+3! |
%XX | DEV+12!, KILL+3! |
%Y | DEV+12!, KILL+3! |
%YY | DEV+12!, KILL+3! |
>> %ZIS | DEV+1* |
>> %ZIS("A" | DEV+1* |
>> %ZIS("B" | DEV+2* |
>> %ZIS("S" | DEV+3* |
DDH | KILL+5! |
DIR | KILLDIR+1! |
DIR("?" | EN1+18*, EN1+19*, EN1+20*, BOTH+3*, BOTH+4*, HI+6*, HI+7* |
DIR("??" | HI+8* |
DIR("A" | EN1+17*, BOTH+2*, HI+5* |
DIR(0 | EN1+16*, BOTH+1*, HI+4* |
DIROUT | KILLDIR+1! |
DIRUT | EN1+21, BOTH+5, HI+9, KILLDIR+1! |
DT | EN1+10, INA+4 |
DTOUT | KILLDIR+1! |
DUOUT | KILLDIR+1! |
I | KILL+5!, LINE+1~* |
IO | START+1 |
IO("Q" | DEV+6, DEV+12! |
IOF | HDR+1 |
IOM | START+10, HDR+2, HDR+3, HDR+4 |
ION | DEV+5 |
POP | DEV+4, KILL+5! |
RA1 | START+10*, START+16*, START+17, KILL+3! |
RA2 | START+17*, KILL+3! |
RABAR0 | DSCR+1~, DSCR+3*, DSCR+5 |
RABAR1 | DSCR+1~, DSCR+4*, DSCR+5 |
RADIC | EN1+9~, ITYPE+1~, ITYPE+2*, ITYPE+3 |
RADIC("A" | ITYPE+2* |
RADIC(0 | ITYPE+2* |
RADT | EN1+9~, EN1+10*, START+9 |
RADX | EN1+9~, DOLLARY+1* |
RADY | EN1+9~, DOLLARY+1* |
RAEOS | START+15~* |
RAHD1 | START+3*, START+4*, START+5*, START+6*, START+8*, HDR+2, KILL+3! |
RAHD2 | START+9*, HDR+3, KILL+3! |
RAHI | HI+3~*, HI+4, HI+6 |
RAINPUT | ITYPE+1~, ITYPE+3* |
RALINE | START+10*, HDR+5, KILL+3! |
RALOW | HI+3~*, HI+4, HI+6 |
RAPG | START+9*, HDR+1*, HDR+4, KILL+3! |
RAPG1 | KILL+3! |
RAPRNT | EN1+9~, EN1+22*, EN1+23, START+4, START+5, START+6 |
RAQUIT | ITYPE+1~, ITYPE+4 |
RASORT | EN1+9~, BOTH+6* |
RATERMTY | DSCR+1~*, DSCR+2, DSCR+3, DSCR+4 |
RATEST | EN1+11*, EN1+12, EN1+13!, DEV+5, START+2, START+8, START+11, KILL+1, KILL+3! |
RAUTIL | ITYPE+1~, ITYPE+3* |
RAVHI | EN1+9~, EN1+14*, EN1+15, START+15, DOLLARY+1 |
RAXIT | EN1+9~, EN1+10*, EN1+21*, EN1+22, EN1+23, EN1+24*, EN1+25*, START+12, START+15, START+16 , START+17, BOTH+5*, BOTH+6, HDR+7* |
X | DEV+12!, KILL+3! |
Y | DEV+12!, DSCR~, DSCR+1, HI+9*, HI+10, INA~, INA+3, INA+4, KILL+3! |
Y(0 | EN1+22, BOTH+6 |
ZTDESC | DEV+8*, KILL+4! |
>> ZTQUEUED | START+1, HDR+7 |
>> ZTREQ | START+1* |
ZTRTN | DEV+7*, KILL+4! |
ZTSAVE | KILL+4! |
>> ZTSK | DEV+10 |
>> ZTSK("D" | DEV+10 |
>> ZTSTOP | HDR+7 |