IVM20P2 ;ALB/CPM - List Template Exporter ; 21-OCT-1994
;;Version 2.0 ; INCOME VERIFICATION MATCH ;; 21-OCT-94
W !!,">>> Installing List Templates..."
W !,"'IVM DEMOGRAPHIC' List Template..."
S DA=$O(^SD(409.61,"B","IVM DEMOGRAPHIC",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="IVM DEMOGRAPHIC" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="IVM DEMOGRAPHIC^1^^80^5^18^1^1^Patient^IVMLD DEMO UPLOAD^IVM DEMOGRAPHIC UPLOAD^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMLST"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^4"
.S ^SD(409.61,VALM,"COL",1,0)="PAT NAM^6^12^Patient Name^^0"
.S ^SD(409.61,VALM,"COL",2,0)="PAT SSN^38^11^Patient SSN^^0"
.S ^SD(409.61,VALM,"COL",3,0)="UP^52^12^Demographics^^0"
.S ^SD(409.61,VALM,"COL",5,0)="NON^67^12^Demographics^^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^IVMLDEM"
.S ^SD(409.61,VALM,"HDR")="D HDR^IVMLDEM"
.S ^SD(409.61,VALM,"HLP")=""
.S ^SD(409.61,VALM,"INIT")="D INIT^IVMLDEM"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'IVM DEMOGRAPHIC NON-UPLOADABLE' List Template..."
S DA=$O(^SD(409.61,"B","IVM DEMOGRAPHIC NON-UPLOADABLE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="IVM DEMOGRAPHIC NON-UPLOADABLE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="IVM DEMOGRAPHIC NON-UPLOADABLE^1^^80^5^18^1^1^FIELD^IVMLD NON-UPLOADABLE FIELDS^Non-Uploadable Demographics^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMNONUP"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
.S ^SD(409.61,VALM,"COL",1,0)="DHCP FLD NAM^4^15^DHCP Field Name^^0"
.S ^SD(409.61,VALM,"COL",2,0)="DHCP FLD VAL^36^16^DHCP Field Value^^0"
.S ^SD(409.61,VALM,"COL",3,0)="IVM FLD VAL^58^15^IVM Field Value^^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^IVMLDEM3"
.S ^SD(409.61,VALM,"HDR")="D HDR^IVMLDEM3"
.S ^SD(409.61,VALM,"HLP")=""
.S ^SD(409.61,VALM,"INIT")="D INIT^IVMLDEM3"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'IVM DEMOGRAPHIC UPLOADABLE' List Template..."
S DA=$O(^SD(409.61,"B","IVM DEMOGRAPHIC UPLOADABLE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="IVM DEMOGRAPHIC UPLOADABLE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="IVM DEMOGRAPHIC UPLOADABLE^1^^80^5^18^1^1^FIELD^IVMLD UPLOADABLE DEMO^Uploadable Demographics^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMUPLOAD"",$J)"
.S ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
.S ^SD(409.61,VALM,"COL",1,0)="DHCP FLD NAME^4^15^DHCP Field Name^^0"
.S ^SD(409.61,VALM,"COL",2,0)="DHCP FLD VALUE^36^16^DHCP Field Value^^0"
.S ^SD(409.61,VALM,"COL",3,0)="IVM FLD VALUE^58^15^IVM Field Value^^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
.S ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
.S ^SD(409.61,VALM,"FNL")="D EXIT^IVMLDEM2"
.S ^SD(409.61,VALM,"HDR")="D HDR^IVMLDEM2"
.S ^SD(409.61,VALM,"HLP")=""
.S ^SD(409.61,VALM,"INIT")="D INIT^IVMLDEM2"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'IB MT REVIEW INDIV CHARGES' List Template..."
S DA=$O(^SD(409.61,"B","IB MT REVIEW INDIV CHARGES",0)),DIK="^SD(409.61," D ^DIK:DA
G ^IVM20P21
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIVM20P2 3673 printed Dec 13, 2024@02:00:42 Page 2
IVM20P2 ;ALB/CPM - List Template Exporter ; 21-OCT-1994
+1 ;;Version 2.0 ; INCOME VERIFICATION MATCH ;; 21-OCT-94
+2 WRITE !!,">>> Installing List Templates..."
+3 WRITE !,"'IVM DEMOGRAPHIC' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","IVM DEMOGRAPHIC",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="IVM DEMOGRAPHIC"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="IVM DEMOGRAPHIC^1^^80^5^18^1^1^Patient^IVMLD DEMO UPLOAD^IVM DEMOGRAPHIC UPLOAD^1^^1"
+8 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMLST"",$J)"
+10 SET ^SD(409.61,VALM,"COL",0)="^409.621^5^4"
+11 SET ^SD(409.61,VALM,"COL",1,0)="PAT NAM^6^12^Patient Name^^0"
+12 SET ^SD(409.61,VALM,"COL",2,0)="PAT SSN^38^11^Patient SSN^^0"
+13 SET ^SD(409.61,VALM,"COL",3,0)="UP^52^12^Demographics^^0"
+14 SET ^SD(409.61,VALM,"COL",5,0)="NON^67^12^Demographics^^0"
+15 SET ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
+16 SET ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
+17 SET ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
+18 SET ^SD(409.61,VALM,"COL","AIDENT",0,5)=""
+19 SET ^SD(409.61,VALM,"FNL")="D EXIT^IVMLDEM"
+20 SET ^SD(409.61,VALM,"HDR")="D HDR^IVMLDEM"
+21 SET ^SD(409.61,VALM,"HLP")=""
+22 SET ^SD(409.61,VALM,"INIT")="D INIT^IVMLDEM"
+23 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+24 WRITE "Filed."
End DoDot:1
+25 ;
+26 WRITE !,"'IVM DEMOGRAPHIC NON-UPLOADABLE' List Template..."
+27 SET DA=$ORDER(^SD(409.61,"B","IVM DEMOGRAPHIC NON-UPLOADABLE",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+28 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="IVM DEMOGRAPHIC NON-UPLOADABLE"
DO FILE^DICN
SET VALM=+Y
+29 IF VALM>0
Begin DoDot:1
+30 SET ^SD(409.61,VALM,0)="IVM DEMOGRAPHIC NON-UPLOADABLE^1^^80^5^18^1^1^FIELD^IVMLD NON-UPLOADABLE FIELDS^Non-Uploadable Demographics^1^^1"
+31 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+32 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMNONUP"",$J)"
+33 SET ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
+34 SET ^SD(409.61,VALM,"COL",1,0)="DHCP FLD NAM^4^15^DHCP Field Name^^0"
+35 SET ^SD(409.61,VALM,"COL",2,0)="DHCP FLD VAL^36^16^DHCP Field Value^^0"
+36 SET ^SD(409.61,VALM,"COL",3,0)="IVM FLD VAL^58^15^IVM Field Value^^0"
+37 SET ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
+38 SET ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
+39 SET ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
+40 SET ^SD(409.61,VALM,"FNL")="D EXIT^IVMLDEM3"
+41 SET ^SD(409.61,VALM,"HDR")="D HDR^IVMLDEM3"
+42 SET ^SD(409.61,VALM,"HLP")=""
+43 SET ^SD(409.61,VALM,"INIT")="D INIT^IVMLDEM3"
+44 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+45 WRITE "Filed."
End DoDot:1
+46 ;
+47 WRITE !,"'IVM DEMOGRAPHIC UPLOADABLE' List Template..."
+48 SET DA=$ORDER(^SD(409.61,"B","IVM DEMOGRAPHIC UPLOADABLE",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+49 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="IVM DEMOGRAPHIC UPLOADABLE"
DO FILE^DICN
SET VALM=+Y
+50 IF VALM>0
Begin DoDot:1
+51 SET ^SD(409.61,VALM,0)="IVM DEMOGRAPHIC UPLOADABLE^1^^80^5^18^1^1^FIELD^IVMLD UPLOADABLE DEMO^Uploadable Demographics^1^^1"
+52 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+53 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""IVMUPLOAD"",$J)"
+54 SET ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
+55 SET ^SD(409.61,VALM,"COL",1,0)="DHCP FLD NAME^4^15^DHCP Field Name^^0"
+56 SET ^SD(409.61,VALM,"COL",2,0)="DHCP FLD VALUE^36^16^DHCP Field Value^^0"
+57 SET ^SD(409.61,VALM,"COL",3,0)="IVM FLD VALUE^58^15^IVM Field Value^^0"
+58 SET ^SD(409.61,VALM,"COL","AIDENT",0,1)=""
+59 SET ^SD(409.61,VALM,"COL","AIDENT",0,2)=""
+60 SET ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
+61 SET ^SD(409.61,VALM,"FNL")="D EXIT^IVMLDEM2"
+62 SET ^SD(409.61,VALM,"HDR")="D HDR^IVMLDEM2"
+63 SET ^SD(409.61,VALM,"HLP")=""
+64 SET ^SD(409.61,VALM,"INIT")="D INIT^IVMLDEM2"
+65 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+66 WRITE "Filed."
End DoDot:1
+67 ;
+68 WRITE !,"'IB MT REVIEW INDIV CHARGES' List Template..."
+69 SET DA=$ORDER(^SD(409.61,"B","IB MT REVIEW INDIV CHARGES",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+70 GOTO ^IVM20P21