95 lines
4.2 KiB
Mathematica
95 lines
4.2 KiB
Mathematica
SDVLT ; List Template Exporter ; 13-AUG-1993
|
|
;;5.3;Scheduling;;Aug 13, 1993
|
|
;; ;
|
|
W !,"'SD PARM PARAMETERS' List Template..."
|
|
S DA=$O(^SD(409.61,"B","SD PARM PARAMETERS",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SD PARM PARAMETERS" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="SD PARM PARAMETERS^1^^^2^17^1^1^PARAMETERS^SD PARM PARAMETERS MENU^Scheduling Parameters^2"
|
|
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""SDPARM"",$J)"
|
|
.S ^SD(409.61,VALM,"FNL")="D QUIT^SDPARM"
|
|
.S ^SD(409.61,VALM,"HLP")="D HLP^SDAM5"
|
|
.S ^SD(409.61,VALM,"INIT")="D EN^SDPARM"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.W "Filed."
|
|
;
|
|
W !,"'SDAM APPT MGT' List Template..."
|
|
S DA=$O(^SD(409.61,"B","SDAM APPT MGT",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SDAM APPT MGT" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="SDAM APPT MGT^1^1^80^5^14^1^1^Appointment^SDAM MENU^Appt Mgt Module^1^999"
|
|
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""SDAM"",$J)"
|
|
.S ^SD(409.61,VALM,"COL",0)="^409.621^5^5"
|
|
.S ^SD(409.61,VALM,"COL",1,0)="NAME^9^22^Patient or Clinic"
|
|
.S ^SD(409.61,VALM,"COL",2,0)="DATE^32^20^Appt Date/Time"
|
|
.S ^SD(409.61,VALM,"COL",3,0)="STAT^53^22^Status"
|
|
.S ^SD(409.61,VALM,"COL",4,0)="APPT#^5^3"
|
|
.S ^SD(409.61,VALM,"COL",5,0)="TIME^76^5"
|
|
.S ^SD(409.61,VALM,"EXP")="D EN^SDAMEP"
|
|
.S ^SD(409.61,VALM,"FNL")="D FNL^SDAM"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^SDAM"
|
|
.S ^SD(409.61,VALM,"HLP")="D HLP^SDAM5"
|
|
.S ^SD(409.61,VALM,"INIT")="D INIT^SDAM"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.W "Filed."
|
|
;
|
|
W !,"'SDAM APPT PROFILE' List Template..."
|
|
S DA=$O(^SD(409.61,"B","SDAM APPT PROFILE",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SDAM APPT PROFILE" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="SDAM APPT PROFILE^2^^^5^17^1^1^^^Expanded Profile^2"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""SDAMEP"",$J)"
|
|
.S ^SD(409.61,VALM,"EXP")=""
|
|
.S ^SD(409.61,VALM,"FNL")="D FNL^SDAMEP"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^SDAMEP"
|
|
.S ^SD(409.61,VALM,"HLP")="D HLP^SDAM5"
|
|
.S ^SD(409.61,VALM,"INIT")="D INIT^SDAMEP"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.W "Filed."
|
|
;
|
|
W !,"'SDCO CHECK OUT' List Template..."
|
|
S DA=$O(^SD(409.61,"B","SDCO CHECK OUT",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SDCO CHECK OUT" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="SDCO CHECK OUT^1^^80^5^17^1^1^^SDCO MENU^Check Out^1"
|
|
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""SDCO"",$J)"
|
|
.S ^SD(409.61,VALM,"COL",0)="^409.621^^0"
|
|
.S ^SD(409.61,VALM,"FNL")="D EXIT^SDCO"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^SDCO"
|
|
.S ^SD(409.61,VALM,"HLP")="D HELP^SDCO"
|
|
.S ^SD(409.61,VALM,"INIT")="D INIT^SDCO"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.W "Filed."
|
|
;
|
|
W !,"'SDPP PATIENT PROFILE' List Template..."
|
|
S DA=$O(^SD(409.61,"B","SDPP PATIENT PROFILE",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SDPP PATIENT PROFILE" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="SDPP PATIENT PROFILE^1^^^4^16^1^1^^SDPP PATIENT PROFILE MENU^Patient Profile"
|
|
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""SDPP"",$J)"
|
|
.S ^SD(409.61,VALM,"FNL")="D QUIT^SDPP,CLEAR^VALM1"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^SDPP"
|
|
.S ^SD(409.61,VALM,"HLP")="S VAR=""HELPTXT"" D HLP^SDPPHLP"
|
|
.S ^SD(409.61,VALM,"INIT")="D INIT^SDPP"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.W "Filed."
|
|
;
|
|
W !,"'SDPP PATIENT PROFILE ALL' List Template..."
|
|
S DA=$O(^SD(409.61,"B","SDPP PATIENT PROFILE ALL",0)),DIK="^SD(409.61," D ^DIK:DA
|
|
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="SDPP PATIENT PROFILE ALL" D FILE^DICN S VALM=+Y
|
|
I VALM>0 D
|
|
.S ^SD(409.61,VALM,0)="SDPP PATIENT PROFILE ALL^2^^^4^16^1^1^^^Display Information"
|
|
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""SDPPALL"",$J)"
|
|
.S ^SD(409.61,VALM,"FNL")="D QUIT^SDPPALL"
|
|
.S ^SD(409.61,VALM,"HDR")="D HDR^SDPP"
|
|
.S ^SD(409.61,VALM,"HLP")="S VAR=""HLPTXT1"" D HLP^SDPPHLP"
|
|
.S ^SD(409.61,VALM,"INIT")="D INIT^SDPPALL"
|
|
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
|
|
.W "Filed."
|
|
;
|
|
K DIC,DIK,VALM,X,DA Q
|