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

MDPOST20.m

Go to the documentation of this file.
  1. MDPOST20 ; HOIFO/NCA - Post Init ;7/1/10 10:45
  1. ;;1.0;CLINICAL PROCEDURES;**20**;Apr 01, 2004;Build 9
  1. ; Integration Agreements:
  1. ; IA# 2263 [Supported] XPAR parameter calls.
  1. ; IA# 10141 [Supported] Calls to XPDUTL
  1. ;
  1. EN ; [Procedure] Setup MD DEVICE SURVEY TRANSMISSION parameter
  1. ; This submodule is called during the KIDS Post installation
  1. ; process.
  1. ;
  1. ; New private variables
  1. N MDOPT,MDAPU
  1. S MDAPU=$G(XPDQUES("POS1"))
  1. D EN^XPAR("SYS","MD DEVICE SURVEY TRANSMISSION",1,MDAPU)
  1. I +MDAPU D COL^MDDEVCL D BMES^XPDUTL("Collecting device information for initial transmission...")
  1. ;
  1. EN1 ; [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. N DIK,MDCLIENT,MDFILE,MDRET,MDX
  1. W $$MSG("Setting compatible client versions")
  1. S MDCLIENT="1.0.20.4" D
  1. .D SETPAR("MD VERSION CHK","CPGATEWAY.EXE:"_MDCLIENT,1)
  1. .D SETPAR("MD CRC VALUES","CPGATEWAY.EXE:"_MDCLIENT,"7C3BE136")
  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