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

MDPOST23.m

Go to the documentation of this file.
  1. MDPOST23 ;HINES OIFO/DP/BJ - Post Installation Tasks;06 OCTOBER 2011
  1. ;;1.0;CLINICAL PROCEDURES;**23**;Apr 01, 2004;Build 281
  1. ;Per VHA Directive 2004-038, this routine should not be modified.
  1. ;
  1. ; This routine uses the following IAs:
  1. ; #10141 - MES^XPDUTL Kernel (supported)
  1. ; #2263 - CHG^XPAR Kernel (supported)
  1. ;
  1. EN ; Post installation tasks to bring Legacy CP up to snuff
  1. ;
  1. N MDBUILD
  1. S MDBUILD=$P($P($T(+2),";",7)," ",2)
  1. ;
  1. ; Installing commands in the command file...
  1. D MES^XPDUTL(" Installing command file...")
  1. D NDEL^XPAR("SYS","MD COMMANDS")
  1. S MDCMD="" F S MDCMD=$O(@XPDGREF@("MD COMMANDS",MDCMD)) Q:MDCMD="" D
  1. .D MES^XPDUTL(" Installing command '"_MDCMD_"'...")
  1. .K MDTXT M MDTXT=@XPDGREF@("MD COMMANDS",MDCMD)
  1. .D EN^XPAR("SYS","MD COMMANDS",MDCMD,.MDTXT)
  1. ; Import the new data
  1. D IMPORT^MDTERM
  1. D POSTCHK^MDTERM ; Checks for inactive term issues
  1. D EN^XPAR("SYS","MD PARAMETERS","TERMINOLOGY_VERSION",MDBUILD)
  1. D EN^XPAR("SYS","MD PARAMETERS","TERMINOLOGY_DESCRIPTION","Installed with KIDS Build MD*1.0*23")
  1. ;
  1. ; Update MD PARAMETERS with new build numbers for executables. Note: this is only
  1. ; going to be for CP Flowsheets and CP Console. We're not updating the CP Gateway
  1. ; service as part of P23 at this time.
  1. ;
  1. F MDX="CPFLOWSHEETS","CPCONSOLE" D EN^XPAR("SYS","MD PARAMETERS","VERSION_"_MDX,"1.0.23."_MDBUILD)
  1. ;
  1. D MES^XPDUTL(" MD*1.0*23 Post Init complete")
  1. ;
  1. Q
  1. ;