Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IVM20P2

IVM20P2.m

Go to the documentation of this file.
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