ASDL ; IHS/ADC/PDW/ENM - List Template Exporter ; [ 03/25/1999 11:48 AM ]
;;5.0;IHS SCHEDULING;;MAR 25, 1999
;; ;
W !,"'SD IHS APPT MADE BY' List Template..."
S DA=$O(^SD(409.61,"B","SD IHS APPT MADE BY",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SD IHS APPT MADE BY" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="SD IHS APPT MADE BY^1^^80^4^20^1^1^APPOINTMENT^SD IHS APPT MADE BY^APPOINTMENT MADE BY^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ASDAMB"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^4^4"
.S ^SD(409.61,VALM,"COL",1,0)="APPT DATE^5^18^APPT DATE/TIME"
.S ^SD(409.61,VALM,"COL",2,0)="CLINIC^25^25^CLINIC"
.S ^SD(409.61,VALM,"COL",3,0)="MADE BY^50^18^MADE BY"
.S ^SD(409.61,VALM,"COL",4,0)="DATE APPT MADE^68^12^DT APPT MADE"
.S ^SD(409.61,VALM,"FNL")="D EXIT^ASDAMB"
.S ^SD(409.61,VALM,"HDR")="D HDR^ASDAMB"
.S ^SD(409.61,VALM,"HLP")="D HELP^ASDAMB"
.S ^SD(409.61,VALM,"INIT")="D INIT^ASDAMB"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'SD IHS USER DISPLAY' List Template..."
S DA=$O(^SD(409.61,"B","SD IHS USER DISPLAY",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SD IHS USER DISPLAY" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="SD IHS USER DISPLAY^2^^80^3^21^1^1^^^SCHEDULING USER SETUP^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ASDUSL1"",$J)"
.S ^SD(409.61,VALM,"FNL")="D EXIT^ASDUSL1"
.S ^SD(409.61,VALM,"HDR")="D HDR^ASDUSL1"
.S ^SD(409.61,VALM,"HLP")="D HELP^ASDUSL1"
.S ^SD(409.61,VALM,"INIT")="D INIT^ASDUSL1"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
ASDL ; IHS/ADC/PDW/ENM - List Template Exporter ; [ 03/25/1999 11:48 AM ]
+1 ;;5.0;IHS SCHEDULING;;MAR 25, 1999
+2 ;; ;
+3 WRITE !,"'SD IHS APPT MADE BY' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","SD IHS APPT MADE BY",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+5 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="SD IHS APPT MADE BY"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="SD IHS APPT MADE BY^1^^80^4^20^1^1^APPOINTMENT^SD IHS APPT MADE BY^APPOINTMENT MADE BY^1^^1"
+8 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ASDAMB"",$J)"
+10 SET ^SD(409.61,VALM,"COL",0)="^409.621^4^4"
+11 SET ^SD(409.61,VALM,"COL",1,0)="APPT DATE^5^18^APPT DATE/TIME"
+12 SET ^SD(409.61,VALM,"COL",2,0)="CLINIC^25^25^CLINIC"
+13 SET ^SD(409.61,VALM,"COL",3,0)="MADE BY^50^18^MADE BY"
+14 SET ^SD(409.61,VALM,"COL",4,0)="DATE APPT MADE^68^12^DT APPT MADE"
+15 SET ^SD(409.61,VALM,"FNL")="D EXIT^ASDAMB"
+16 SET ^SD(409.61,VALM,"HDR")="D HDR^ASDAMB"
+17 SET ^SD(409.61,VALM,"HLP")="D HELP^ASDAMB"
+18 SET ^SD(409.61,VALM,"INIT")="D INIT^ASDAMB"
+19 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+20 WRITE "Filed."
End DoDot:1
+21 ;
+22 WRITE !,"'SD IHS USER DISPLAY' List Template..."
+23 SET DA=$ORDER(^SD(409.61,"B","SD IHS USER DISPLAY",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+24 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="SD IHS USER DISPLAY"
DO FILE^DICN
SET VALM=+Y
+25 IF VALM>0
Begin DoDot:1
+26 SET ^SD(409.61,VALM,0)="SD IHS USER DISPLAY^2^^80^3^21^1^1^^^SCHEDULING USER SETUP^1^^1"
+27 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+28 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ASDUSL1"",$J)"
+29 SET ^SD(409.61,VALM,"FNL")="D EXIT^ASDUSL1"
+30 SET ^SD(409.61,VALM,"HDR")="D HDR^ASDUSL1"
+31 SET ^SD(409.61,VALM,"HLP")="D HELP^ASDUSL1"
+32 SET ^SD(409.61,VALM,"INIT")="D INIT^ASDUSL1"
+33 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+34 WRITE "Filed."
End DoDot:1
+35 ;
+36 KILL DIC,DIK,VALM,X,DA
QUIT