BMCL ; IHS/PHXAO/TMJ - List Template Exporter ; 21-DEC-2004
;;4.0;REFERRED CARE INFO SYSTEM;;JAN 09, 2006
;IHS/ITSC/FCJ ADDED DISPLAY OF OTHER DENIALS AND PROV
W !,"'BMC GENRET SELECTION ITEMS' List Template..."
S DA=$O(^SD(409.61,"B","BMC GENRET SELECTION ITEMS",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="BMC GENRET SELECTION ITEMS" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="BMC GENRET SELECTION ITEMS^1^^80^7^20^1^1^Item^BMC GENRET SELECTION MENU^RCIS GENERAL RETRIEVAL^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" BMCLIST"
.S ^SD(409.61,VALM,"FNL")="D EXIT^BMCRL4"
.S ^SD(409.61,VALM,"HDR")="D HDR^BMCRL4"
.S ^SD(409.61,VALM,"HLP")="D HELP^BMCRL4"
.S ^SD(409.61,VALM,"INIT")="D INIT^BMCRL4"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'BMC RECORD DISPLAY' List Template..."
S DA=$O(^SD(409.61,"B","BMC RECORD DISPLAY",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="BMC RECORD DISPLAY" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="BMC RECORD DISPLAY^1^^200^4^20^1^1^RCIS Referral Display^BMC RECORD DISPLAY^RCIS Referral Display^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""BMCRDSP"",$J)"
.S ^SD(409.61,VALM,"FNL")="D EXIT^BMCRD1"
.S ^SD(409.61,VALM,"HDR")="D HDR^BMCRD1"
.S ^SD(409.61,VALM,"HLP")="D HELP^BMCRD1"
.S ^SD(409.61,VALM,"INIT")="D INIT^BMCRD1"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'BMC ROUTINE REFERRAL LIST' List Template..."
S DA=$O(^SD(409.61,"B","BMC ROUTINE REFERRAL LIST",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="BMC ROUTINE REFERRAL LIST" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="BMC ROUTINE REFERRAL LIST^1^^80^4^21^1^1^Routine Referral^BMC ROUTINE REFERRAL SELECTION^RCIS ROUTINE REFERRAL^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" BMCLIST"
.S ^SD(409.61,VALM,"FNL")="D EXIT^BMCADD2"
.S ^SD(409.61,VALM,"HDR")="D HDR^BMCADD2"
.S ^SD(409.61,VALM,"HLP")="D HELP^BMCADD2"
.S ^SD(409.61,VALM,"INIT")="D INIT^BMCADD2"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
BMCL ; IHS/PHXAO/TMJ - List Template Exporter ; 21-DEC-2004
+1 ;;4.0;REFERRED CARE INFO SYSTEM;;JAN 09, 2006
+2 ;IHS/ITSC/FCJ ADDED DISPLAY OF OTHER DENIALS AND PROV
+3 WRITE !,"'BMC GENRET SELECTION ITEMS' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","BMC GENRET SELECTION ITEMS",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="BMC GENRET SELECTION ITEMS"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="BMC GENRET SELECTION ITEMS^1^^80^7^20^1^1^Item^BMC GENRET SELECTION MENU^RCIS GENERAL RETRIEVAL^1^^1"
+8 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=" BMCLIST"
+10 SET ^SD(409.61,VALM,"FNL")="D EXIT^BMCRL4"
+11 SET ^SD(409.61,VALM,"HDR")="D HDR^BMCRL4"
+12 SET ^SD(409.61,VALM,"HLP")="D HELP^BMCRL4"
+13 SET ^SD(409.61,VALM,"INIT")="D INIT^BMCRL4"
+14 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+15 WRITE "Filed."
End DoDot:1
+16 ;
+17 WRITE !,"'BMC RECORD DISPLAY' List Template..."
+18 SET DA=$ORDER(^SD(409.61,"B","BMC RECORD DISPLAY",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+19 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="BMC RECORD DISPLAY"
DO FILE^DICN
SET VALM=+Y
+20 IF VALM>0
Begin DoDot:1
+21 SET ^SD(409.61,VALM,0)="BMC RECORD DISPLAY^1^^200^4^20^1^1^RCIS Referral Display^BMC RECORD DISPLAY^RCIS Referral Display^1^^1"
+22 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+23 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""BMCRDSP"",$J)"
+24 SET ^SD(409.61,VALM,"FNL")="D EXIT^BMCRD1"
+25 SET ^SD(409.61,VALM,"HDR")="D HDR^BMCRD1"
+26 SET ^SD(409.61,VALM,"HLP")="D HELP^BMCRD1"
+27 SET ^SD(409.61,VALM,"INIT")="D INIT^BMCRD1"
+28 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+29 WRITE "Filed."
End DoDot:1
+30 ;
+31 WRITE !,"'BMC ROUTINE REFERRAL LIST' List Template..."
+32 SET DA=$ORDER(^SD(409.61,"B","BMC ROUTINE REFERRAL LIST",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+33 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="BMC ROUTINE REFERRAL LIST"
DO FILE^DICN
SET VALM=+Y
+34 IF VALM>0
Begin DoDot:1
+35 SET ^SD(409.61,VALM,0)="BMC ROUTINE REFERRAL LIST^1^^80^4^21^1^1^Routine Referral^BMC ROUTINE REFERRAL SELECTION^RCIS ROUTINE REFERRAL^1^^1"
+36 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+37 SET ^SD(409.61,VALM,"ARRAY")=" BMCLIST"
+38 SET ^SD(409.61,VALM,"FNL")="D EXIT^BMCADD2"
+39 SET ^SD(409.61,VALM,"HDR")="D HDR^BMCADD2"
+40 SET ^SD(409.61,VALM,"HLP")="D HELP^BMCADD2"
+41 SET ^SD(409.61,VALM,"INIT")="D INIT^BMCADD2"
+42 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+43 WRITE "Filed."
End DoDot:1
+44 ;
+45 KILL DIC,DIK,VALM,X,DA
QUIT