GMTSPL ; SLC/JER,KER - Print/Queue HS for Patient Lists ; 02/27/2002 [1/27/05 8:27am]
Source file <GMTSPL.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| MAIN | ; Print/Queue for Patient Lists
 ; ; Call with: ; ; GMTSTYP = Pointer to file 142 ; GMTSSC = Pointer to file 44^Hosp Loc Name^ ; Hosp Loc Type^Begin Visit/Surg Date^ ; Opt end Visit/Surgery Date ; GMTSSC() = GMTSSC - Array of multiple locations ; [GMPSAP] = Optional flag set to 1 if OP Rx ; Action Profile is to print ;  | 
|
| CTRL | ; Controls Branching
 | 
|
| PAGE | ; Pause at BOP for interactive users
 | 
|
| NOPAT(LOC) | ; Handles unpopulated Hospital location
 | 
|
| CLINIC(LOC) | ; Gets list of next-day appointments for clinic
 | 
|
| WARD(LOC) | ; Gets list of patients for a ward
 | 
|
| OR(LOC) | ; Gets list of patients scheduled for surgery
 | 
|
| ORX | ; Exit Surgery
 | 
|
| PAT(LOC) | ; Checks for patients at selected location
 | 
|
| DRIVER | ; Sets variables for GMTS1 and calls ^%ZTLOAD
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^GMT(142.99 - [#142.99] | GET1^DIQ | 
| ^SC - [#44] | GET1^DIQ |