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

MDPOST88.m

Go to the documentation of this file.
  1. MDPOST88 ; HOIFO/NCA - Post Init ;Sep 16, 2024@09:58
  1. ;;1.0;CLINICAL PROCEDURES;**88**;Apr 01, 2004;Build 12
  1. ; Integration Agreements:
  1. ; IA# 2263 [Supported] XPAR parameter calls.
  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. N DIK,MDCLIENT
  1. W $$MSG("Setting compatible client versions")
  1. S MDCLIENT="1.0.88.3"
  1. D SETPAR("MD VERSION CHK","CPGATEWAY.EXE:"_MDCLIENT,1)
  1. D SETPAR("MD CRC VALUES","CPGATEWAY.EXE:"_MDCLIENT,"0CB17880")
  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