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

MDPOST04.m

Go to the documentation of this file.
  1. MDPOST04 ; HOIFO/DP - Post Init ; 2/18/04 11:39
  1. ;;1.0;CLINICAL PROCEDURES;**4**;Apr 01, 2004;Build 3
  1. ; Integration Agreements:
  1. ; IA# 2263 [Supported] XPAR Utilities
  1. ; IA# 10141 [Supported] Calls to XPDUTL
  1. ;
  1. EN ; [Procedure] Setup preliminary parameters
  1. ; This submodule is called during the KIDS installation
  1. ; process.
  1. ;
  1. ; Variables:
  1. ; DIK: [Private] Fileman delete variable
  1. ; MDCLIENT: [Private] Current client version (#.#.#.#)
  1. ; MDFILE: [Private] Scratch
  1. ; MDRET: [Private] Scratch
  1. ; MDX: [Private] Scratch
  1. ;
  1. ; New private variables
  1. NEW DIK,MDCLIENT,MDFILE,MDRET,MDX
  1. W $$MSG("Setting compatible client versions")
  1. S MDCLIENT="1.0.4.0" D
  1. .D SETPAR("MD VERSION CHK","CPUSER.EXE:"_MDCLIENT,1)
  1. .D SETPAR("MD VERSION CHK","CPMANAGER.EXE:"_MDCLIENT,1)
  1. .D SETPAR("MD CRC VALUES","CPUSER.EXE:"_MDCLIENT,"9823D716")
  1. .D SETPAR("MD CRC VALUES","CPMANAGER.EXE:"_MDCLIENT,"E3117AF8")
  1. Q
  1. ;
  1. MSG(TEXT) ; [Procedure] Display message to user
  1. ; Input parameters
  1. ; 1. TEXT [Literal/Required] Text to display to the user
  1. ;
  1. D MES^XPDUTL(" MDPOST-"_TEXT_"...")
  1. D MES^XPDUTL("")
  1. Q ""
  1. ;
  1. SETPAR(PAR,INS,VAL) ; [Procedure] Set value into XPAR parameter
  1. ; Input parameters
  1. ; 1. PAR [Literal/Required] Parameter
  1. ; 2. INS [Literal/Required] Instance
  1. ; 3. VAL [Literal/Required] New value
  1. ;
  1. D EN^XPAR("SYS",PAR,INS,VAL)
  1. Q
  1. ;