RABAR ;HISC/GJC-Procedure & CPT Code barcode output (part 1 of 2) ;7/31/96 08:57
Source file <RABAR.m>
| 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 | 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 | 
  |