source: FOIAVistA/trunk/r/INCOME_VERIFICATION_MATCH-IVM/IVM20P2.m@ 1757

Last change on this file since 1757 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

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