DGPWB ;ALB/CAW/MLR - Patient Wristband Print ; 9/27/00 3:40pm
Source file <DGPWB.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN | ; Ask patient name
 ; This is used when printing a wristband from the menu  | 
|
| ENQ | ||
| START(DFN) | ;Start
 ; This is where it will be used when in admit or transfer ; Input is patient IFN  | 
|
| TRANS | ||
| DIV | ||
| STARTQ | ||
| DIVISION(WARD) | ; Obtain Divison from Ward Location
 | 
 
  | 
| SET | ;Set the lines to print
 | 
 
  | 
| PID | ;Substituting SS# for missing PID#  **287**  MLR
 | 
|
| END | ;Clean up variables
 | 
|
| ; Print the wristband
 | 
||
| DEVICE() | ;
 | 
|
| DEVEN | ||
| DEVICEQ | ||
| QUE() | ; -- que job
 ; return: did job que [ 1|yes 0|no ]  | 
|
| TRCHK(TYPE) | ;Check to see if appropriate type to continue
 | 
|
| TRCHKQ | ||
| ASK() | ;Ask if they want to print
 | 
|
| ASKQ | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | Classic Fileman Calls |