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

CIAVINP1.m

Go to the documentation of this file.
CIAVINP1 ;MSC/IND/DKM - EHR v1.1p1 Inits;01-Feb-2008 08:31;DKM
 ;;1.1;VUECENTRIC FRAMEWORK;;23-Oct-2006
 ;=================================================================
EC ;EP - Environment check
 Q
PRE ;EP - Preinit
 N FDA,IEN,OLD,NEW,OBJ
 S FDA=$NA(FDA(19930.2))
 S OLD="BEHPROBLEMS.PROBLEMS",NEW="IHSBGOPROBLEM.BGOPROBLEM"
 S IEN=$$PRGID^CIAVMCFG(OLD)_","
 S:IEN @FDA@(IEN,.01)="@"
 F OBJ="CIA_CSS.CSS_SESSION","CIA_VIM.VIM" D
 .S IEN=$$PRGID^CIAVMCFG(OBJ)_","
 .S:IEN @FDA@(IEN,2)="@",@FDA@(IEN,3)="@"
 D:$D(FDA)>1 FILE^DIE(,"FDA")
 D:'$$PRGID^CIAVMCFG(OLD) RENAME^CIAVINIT(OLD,NEW)
 Q
POST ;EP - Postinit
 N VER,FDA,PID,IEN,X
 D REGMENU^BEHUTIL("BEHORXED MAIN",,"MEC","BEHORX MAIN")
 D BMES^XPDUTL("Updating version numbers...")
 F VER=0:1 S X=$P($T(VERS+VER),";;",2) Q:'$L(X)  D
 .S PID=$$PRGID^CIAVMCFG($P(X,";"))
 .S:PID FDA(19930.2,PID_",",2)=$P(X,";",2)
 D:$D(FDA) FILE^DIE(,"FDA")
 W !!!
 I $L($$GETLOGIN^CIAVUTIL),$$ASK^CIAU("Do you want to enable EHR logins","Y") D
 .D SDABORT^CIAVUTIL(,1),BMES^XPDUTL("Application logins have been enabled.")
 Q
VERS ;;BEHPTDETAIL.PTDETAIL;4.2.2.1
 ;;BEHORDERS.ORDERENTRY;20.1.1.6
 ;;VCLAUNCHER.LAUNCHER;4.1.3.1
 ;;BEHREMINDERS.REMINDERS;4.2.2.1
 ;;BEHNOTES.PROGRESSNOTES;20.1.2.14
 ;;BEHESIGSERVICE.ESIGSERVICE;20.1.2.10
 ;;BEHVITALS.VITALDISPLAY;5.0.3.1
 ;;BEHCONSULTS.CONSULTS;20.1.2.6
 ;;BEHDCSUMM.DCSUMM;20.1.2.5
 ;;BEHLAB.LABVIEW;20.1.2.4
 ;;BEHREPORTS.REPORTS;20.1.1.4
 ;;BEHOPTIONS.OPTIONS;1.1.1.17
 ;;BEHREMINDERSVIEW.REMINDERSVIEW;4.2.1.2
 ;;BEHALERTS.ALERTS;4.2.2.1
 ;;BEHCONSULTORDERS.CONSULTORDERS;4.2.2.1
 ;;BEHCRISES.CRISES;4.2.2.1
 ;;BEHCWAD.CWAD;4.2.3.10
 ;;BEHLABORDERS.LABORDERS;4.2.2.1
 ;;BEHMEDLIST.MEDLIST;4.2.1.1
 ;;BEHPROBLEMLIST.PROBLEMLIST;4.2.2.1
 ;;BEHCONTEXTADAPTER.CONTEXTADAPTER;4.2.2.1
 ;;BEHVISITS.VISITS;4.2.2.1
 ;;VCPRINT.VCPRINTX;1.1.2.1
 ;;VCDATE.VCDATES;1.0.2.3
 ;;VCMONITOR.MONITOR;1.1.2.1
 ;;BEHQOWIZARD.QOWIZARD;1.1.2.12
 ;;BEHVITALENTRY.VITALENTRY2;2.0.3.19
 ;;BEHNOTIFICATIONS.NOTIFICATIONS;5.1.5.1
 ;;BEHMEDS.MEDMANAGEMENT;20.2.1.4
 ;;BEHVITALENTRY.VITALENTRY;2.0.3.19
 ;;VCPATPHOTO.PATPHOTO;4.1.2.12
 ;;