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

DGVLT2.m

Go to the documentation of this file.
DGVLT2 ; List Template Exporter ; 13-AUG-1993
 ;;5.3;Registration;**1015**;Aug 13, 1993;Build 21
 ;; ;
 W !,"'DGJ IRT REC ENTER' List Template..."
 S DA=$O(^SD(409.61,"B","DGJ IRT REC ENTER",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ IRT REC ENTER" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="DGJ IRT REC ENTER^1^^^5^17^1^1^Record^DGJ IRT SUMMARIES^New IRT Record^2"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJRPT"",$J)"
 .S ^SD(409.61,VALM,"COL",0)="^409.621"
 .S ^SD(409.61,VALM,"FNL")="D QUIT1^DGJTVW1"
 .S ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
 .S ^SD(409.61,VALM,"INIT")="D ^DGJTVW1"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'DGJ IRT RECORD LIST' List Template..."
 S DA=$O(^SD(409.61,"B","DGJ IRT RECORD LIST",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGJ IRT RECORD LIST" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="DGJ IRT RECORD LIST^1^^^5^17^1^1^Record^DGJ ENTER/EDIT RECORDS MENU^Incomplete Records List^2"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""DGJDEF"",$J)"
 .S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
 .S ^SD(409.61,VALM,"COL",1,0)="RECORD TYPE^5^12^Record Type"
 .S ^SD(409.61,VALM,"COL",2,0)="PHYSICIAN^19^10^Physician"
 .S ^SD(409.61,VALM,"COL",3,0)="STATUS^37^10^Status"
 .S ^SD(409.61,VALM,"COL",4,0)="CATEGORY^50^10^Category"
 .S ^SD(409.61,VALM,"COL",5,0)="EVENT DATE^62^18^Event Date"
 .S ^SD(409.61,VALM,"FNL")="D FNL^DGJTEE"
 .S ^SD(409.61,VALM,"HDR")="D HDR^DGJTEE"
 .S ^SD(409.61,VALM,"HLP")="D HLP^DGJTHLP"
 .S ^SD(409.61,VALM,"INIT")="S DGJTREC=1 D EN^DGJTEE"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'DGPT A/P EDIT TEMPLATE' List Template..."
 S DA=$O(^SD(409.61,"B","DGPT A/P EDIT TEMPLATE",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGPT A/P EDIT TEMPLATE" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="DGPT A/P EDIT TEMPLATE^1^^^6^16^1^1^PTF Record^DGPT A/P EDIT TMP^PTF Archive/Purge^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ARCPTF"",$J,""LIST"")"
 .S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
 .S ^SD(409.61,VALM,"COL",1,0)="PTF #^8^6^PTF #^H"
 .S ^SD(409.61,VALM,"COL",2,0)="PATIENT^15^20^Patient Name^"
 .S ^SD(409.61,VALM,"COL",3,0)="ADMISSION DATE^37^18^Adm Date/Time^"
 .S ^SD(409.61,VALM,"COL",4,0)="DISCHARGE DATE^56^18^Dis Date/Time^"
 .S ^SD(409.61,VALM,"COL",5,0)="STATUS^6^1^^H"
 .S ^SD(409.61,VALM,"FNL")="D EXQ^DGPTLMU1"
 .S ^SD(409.61,VALM,"HDR")="D EXHDR^DGPTLMU1"
 .S ^SD(409.61,VALM,"INIT")="D EXINT^DGPTLMU1 Q:'VALMCNT"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'DGPT A/P MAIN SELECT' List Template..."
 S DA=$O(^SD(409.61,"B","DGPT A/P MAIN SELECT",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGPT A/P MAIN SELECT" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="DGPT A/P MAIN SELECT^1^^^4^13^1^1^PTF Archive/Purge Template^DGPT A/P MAIN^PTF Archive/Purge Template^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ARCPTF"",$J,""AP LIST"")"
 .S ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
 .S ^SD(409.61,VALM,"COL",1,0)="DATE RANGE^8^30^Date Range"
 .S ^SD(409.61,VALM,"COL",2,0)="STATUS^65^10^Status"
 .S ^SD(409.61,VALM,"COL",3,0)="TOTAL RECORDS^45^12^# of Records"
 .S ^SD(409.61,VALM,"FNL")="D TMPBYE^DGPTLMU2"
 .S ^SD(409.61,VALM,"INIT")="D TMPINT^DGPTLMU2"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'DGPT CLOSE-OUT ERROR' List Template..."
 S DA=$O(^SD(409.61,"B","DGPT CLOSE-OUT ERROR",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGPT CLOSE-OUT ERROR" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="DGPT CLOSE-OUT ERROR^2^^^6^17^1^1^^^PTF Close-Out Errors^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""AD"",$J)"
 .S ^SD(409.61,VALM,"COL",0)="^409.621^^0"
 .S ^SD(409.61,VALM,"FNL")="D EXIT^DGPTAEE"
 .S ^SD(409.61,VALM,"HDR")="D HDR^DGPTAEE"
 .S ^SD(409.61,VALM,"INIT")="D EN^DGPTAEE"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 W !,"'DGPT DETAILED INQUIRY' List Template..."
 S DA=$O(^SD(409.61,"B","DGPT DETAILED INQUIRY",0)),DIK="^SD(409.61," D ^DIK:DA
 K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="DGPT DETAILED INQUIRY" D FILE^DICN S VALM=+Y
 I VALM>0 D
 .S ^SD(409.61,VALM,0)="DGPT DETAILED INQUIRY^2^^^6^17^1^1^^^PTF Detailed Inquiry^1"
 .S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
 .S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ARCPTFDI"",$J)"
 .S ^SD(409.61,VALM,"FNL")="D DIEX^DGPTLMU4"
 .S ^SD(409.61,VALM,"HDR")="D DIHEAD^DGPTLMU4"
 .S ^SD(409.61,VALM,"INIT")="D DIINT^DGPTLMU4"
 .S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
 .W "Filed."
 ;
 G ^DGVLT3