Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: APSKENT

APSKENT.m

Go to the documentation of this file.
APSKENT ;IHS/SFB/MRS - MENU ENTRY ACTION [ 09/28/94  11:13 AM ]
 ;;1.0;Aminoglycoside Kinetics;;OCT 31,1994
 ;
 ;EP - Entry actions for APSKMENU
S W @IOF
 D ^XBCLS W !?22 F APSK=1:1:35 W "*"
B W !?22,"*",?56,"*",!?22,"*      INDIAN HEALTH SERVICE      *"
 W !?22,"*     AMINOGLYCOSIDE KINETICS     *"
 W !?22,"*           VERSION 1.0           *"
 W !?22,"*",?56,"*",!?22 F APSK=1:1:35 W "*"
 ;
 I '$D(DUZ(2))!('$D(DUZ(0))) W !!,"YOU MUST SIGN ON PROPERLY THROUGH THE KERNEL TO USE AMINOGLYCOSIDE KINETICS!" S APSKQUIT=1 G XQUIT
 S X=$S($D(^DIC(4,DUZ(2),0))#2:$P(^(0),U),1:"") W !!?80-$L(X)\2,X
 I X="" W !!,"INVALID FACILITY; NOTIFY YOUR SITE MANAGER!" S APSKQUIT=""
 ;
SETUP ;INITIALZE VARIABLES
 S IOP="HOME" S %ZIS("B")="" D ^%ZIS S APSKDSV=600,DTIME=APSKDSV
 S (APSKWT,APSKHT,APSKSE,APSKLBWC,APSKC,APSKD,APSKE,APSKM)=0
 S (APSKQ,APSKPK,APSKXX,APSKHEAD,APSKFIN,APSKPTIN)=0
XQUIT W ! K APSK,X,Y