ORY180 ; slc/dcm - postinit for OR*3*180 ;03/11/03 12:17
;;3.0;ORDER ENTRY/RESULTS REPORTING;**180**;Dec 17, 1997
;
Q
;
PRE ; -- preinit
N ORI
S ORI=999
F S ORI=$O(^ORD(101.24,ORI)) Q:'ORI I ORI<1110!(ORI>1116),ORI'=1033 S DA=ORI,DIK="^ORD(101.24," D ^DIK
Q ;Don't step on Kim's patch 159 or Rich's patch 151
POST ; -- postinit
N RPC,DA,DIC
S RPC=$O(^XWB(8994,"B","ORQQPX IMMUN LIST",0)) Q:'RPC
S DA(1)=+$O(^DIC(19,"B","OR CPRS GUI CHART",0)) Q:'DA(1)
I $D(^DIC(19,DA(1),"RPC","B",RPC)) Q
S DIC="^DIC(19,"_DA(1)_",""RPC"",",DIC(0)="LM",X="ORQQPX IMMUN LIST" D ^DIC
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HORY180 602 printed Dec 13, 2024@02:38:56 Page 2
ORY180 ; slc/dcm - postinit for OR*3*180 ;03/11/03 12:17
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**180**;Dec 17, 1997
+2 ;
+3 QUIT
+4 ;
PRE ; -- preinit
+1 NEW ORI
+2 SET ORI=999
+3 FOR
SET ORI=$ORDER(^ORD(101.24,ORI))
if 'ORI
QUIT
IF ORI<1110!(ORI>1116)
IF ORI'=1033
SET DA=ORI
SET DIK="^ORD(101.24,"
DO ^DIK
+4 ;Don't step on Kim's patch 159 or Rich's patch 151
QUIT
POST ; -- postinit
+1 NEW RPC,DA,DIC
+2 SET RPC=$ORDER(^XWB(8994,"B","ORQQPX IMMUN LIST",0))
if 'RPC
QUIT
+3 SET DA(1)=+$ORDER(^DIC(19,"B","OR CPRS GUI CHART",0))
if 'DA(1)
QUIT
+4 IF $DATA(^DIC(19,DA(1),"RPC","B",RPC))
QUIT
+5 SET DIC="^DIC(19,"_DA(1)_",""RPC"","
SET DIC(0)="LM"
SET X="ORQQPX IMMUN LIST"
DO ^DIC
+6 QUIT