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

APCDL.m

Go to the documentation of this file.
APCDL ; IHS/CMI/LAB - List Template Exporter ;
 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
 ;; ;
 W !,"'APCD EL HISTORICAL ITEMS' List Template..."
 S DA=$O(^SD(409.61,"B","APCD EL HISTORICAL ITEMS",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCD EL HISTORICAL ITEMS" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="APCD EL HISTORICAL ITEMS^1^^80^7^20^1^1^Historical Patient Data^APCDEL HISTORICAL MENU^Historical Patient Data^1^^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""APCDEL"",$J)"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^APCDEL"
 .S ^SD(409.61,VALM,"HDR")="D HDR^APCDEL"
 .S ^SD(409.61,VALM,"HLP")="D HELP^APCDEL"
 .S ^SD(409.61,VALM,"INIT")="D INIT3^APCDEL"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'APCD EL PCC DATA ENTRY' List Template..."
 S DA=$O(^SD(409.61,"B","APCD EL PCC DATA ENTRY",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCD EL PCC DATA ENTRY" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="APCD EL PCC DATA ENTRY^1^^80^6^19^1^1^^APCDEL PCC VISIT UPDATE^PCC DATA ENTRY VISIT UPDATE^1^^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""APCDEL"",$J)"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^APCDEL"
 .S ^SD(409.61,VALM,"HDR")="D HDR^APCDEL"
 .S ^SD(409.61,VALM,"HLP")="D HELP^APCDEL"
 .S ^SD(409.61,VALM,"INIT")="D INIT^APCDEL"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'APCD EL SECONDARY ITEMS' List Template..."
 S DA=$O(^SD(409.61,"B","APCD EL SECONDARY ITEMS",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCD EL SECONDARY ITEMS" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="APCD EL SECONDARY ITEMS^1^^80^7^20^1^1^^APCDEL PCC SECONDARY MENU^PCC VISIT OTHER ITEMS^1^^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""APCDEL"",$J)"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^APCDEL"
 .S ^SD(409.61,VALM,"HDR")="D HDR^APCDEL"
 .S ^SD(409.61,VALM,"HLP")="D HELP^APCDEL"
 .S ^SD(409.61,VALM,"INIT")="D INIT2^APCDEL"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'APCD HISTORICAL DATA ENTRY' List Template..."
 S DA=$O(^SD(409.61,"B","APCD HISTORICAL DATA ENTRY",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCD HISTORICAL DATA ENTRY" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="APCD HISTORICAL DATA ENTRY^1^^80^7^20^1^1^Historical Patient Data^APCDEH HISTORICAL ITEMS MENU^Historical Patient Data^1^^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""APCDEH"",$J)"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^APCDEH"
 .S ^SD(409.61,VALM,"HDR")="D HDR^APCDEH"
 .S ^SD(409.61,VALM,"HLP")="D HELP^APCDEH"
 .S ^SD(409.61,VALM,"INIT")="D INIT3^APCDEH"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'APCD PL PROBLEM LIST' List Template..."
 S DA=$O(^SD(409.61,"B","APCD PL PROBLEM LIST",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCD PL PROBLEM LIST" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="APCD PL PROBLEM LIST^1^1^200^6^18^1^1^Problem^APCD PL PROBLEM LIST^Problem List Update^1^^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" APCDPL"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^APCDPL"
 .S ^SD(409.61,VALM,"HDR")="D HDR^APCDPL"
 .S ^SD(409.61,VALM,"HLP")="D HELP^APCDPL"
 .S ^SD(409.61,VALM,"INIT")="D INIT^APCDPL"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'APCD VISIT DISPLAY' List Template..."
 S DA=$O(^SD(409.61,"B","APCD VISIT DISPLAY",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCD VISIT DISPLAY" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="APCD VISIT DISPLAY^1^^80^3^21^1^1^^APCD VISIT DISPLAY^PCC VISIT DISPLAY^1^^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""APCDVDSG"",$J)"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^APCDVD"
 .S ^SD(409.61,VALM,"HDR")="D HDR^APCDVD"
 .S ^SD(409.61,VALM,"HLP")="D HELP^APCDVD"
 .S ^SD(409.61,VALM,"INIT")="D INIT^APCDVD"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'APCDEF VISIT DISPLAY' List Template..."
 S DA=$O(^SD(409.61,"B","APCDEF VISIT DISPLAY",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCDEF VISIT DISPLAY" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="APCDEF VISIT DISPLAY^1^^80^3^19^1^1^Visit Item^APCDEF VISIT EDIT MENU^PCC VISIT EDIT^4^^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""APCDEFG"",$J)"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^APCDEFL"
 .S ^SD(409.61,VALM,"HDR")="D HDR^APCDEFL"
 .S ^SD(409.61,VALM,"HLP")="D HELP^APCDEFL"
 .S ^SD(409.61,VALM,"INIT")="D INIT^APCDEFL"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 G ^APCDL1