PSGWEE ;BHAM ISC/KKA - Enter/Edit all types of data ; 18 Jun 93 / 10:32 AM
;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
INVENT ;*** Enter/Edit Inventory Types
S PSGWFILE=58.16,PSGWSTR=".01;1"
D ENTEDT Q
ITEMLOC ;*** Enter/Edit Item Location Codes
S PSGWFILE=58.17,PSGWSTR=".01;.5"
D ENTEDT Q
AOU ;*** Enter/Edit the Area of Use
S PSGWFILE=58.1,PSGWSTR="[PSGW AREA OF USE EDIT]"
D ENTEDT Q
GROUP ;*** Enter/Edit Inventory Group
S PSGWFILE=58.2,PSGWSTR="[PSGW WARD INVENTORY]"
D ENTEDT Q
SITE ;*** Enter/Edit Inpatient Site Data
S PSGWFILE=59.4,PSGWSTR="4;5;4.5T//NO;5.5"
D ENTEDT Q
ENTEDT ;*** Enter/Edit Data
F S (DIC,DLAYGO)=PSGWFILE,DIC(0)="QEAMZL" W ! D ^DIC K DIC,DLAYGO G:+Y<0 END S DA=+Y,DIE=PSGWFILE,DR=PSGWSTR D ^DIE K DIE,DA,DR
END K PSGWFILE,PSGWSTR,Y Q
PSGWEE ;BHAM ISC/KKA - Enter/Edit all types of data ; 18 Jun 93 / 10:32 AM
+1 ;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
INVENT ;*** Enter/Edit Inventory Types
+1 SET PSGWFILE=58.16
SET PSGWSTR=".01;1"
+2 DO ENTEDT
QUIT
ITEMLOC ;*** Enter/Edit Item Location Codes
+1 SET PSGWFILE=58.17
SET PSGWSTR=".01;.5"
+2 DO ENTEDT
QUIT
AOU ;*** Enter/Edit the Area of Use
+1 SET PSGWFILE=58.1
SET PSGWSTR="[PSGW AREA OF USE EDIT]"
+2 DO ENTEDT
QUIT
GROUP ;*** Enter/Edit Inventory Group
+1 SET PSGWFILE=58.2
SET PSGWSTR="[PSGW WARD INVENTORY]"
+2 DO ENTEDT
QUIT
SITE ;*** Enter/Edit Inpatient Site Data
+1 SET PSGWFILE=59.4
SET PSGWSTR="4;5;4.5T//NO;5.5"
+2 DO ENTEDT
QUIT
ENTEDT ;*** Enter/Edit Data
+1 FOR
SET (DIC,DLAYGO)=PSGWFILE
SET DIC(0)="QEAMZL"
WRITE !
DO ^DIC
KILL DIC,DLAYGO
IF +Y<0
GOTO END
SET DA=+Y
SET DIE=PSGWFILE
SET DR=PSGWSTR
DO ^DIE
KILL DIE,DA,DR
END KILL PSGWFILE,PSGWSTR,Y
QUIT