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

BHLLPST.m

Go to the documentation of this file.
  1. BHLLPST ; cmi/flag/maw - BHL LOINC POST INIT ;
  1. ;;3.01;BHL IHS Interfaces with GIS;**4**;OCT 15, 2002
  1. ;
  1. ;
  1. ;
  1. ;this routine will set up the loinc post install questions
  1. ;
  1. MAIN ;PEP - this is the main routine driver
  1. D EDIT
  1. D MPORT^BHLU
  1. D COMPILE
  1. D EOJ
  1. Q
  1. ;
  1. EDIT ;-- ask which reference lab and then stuff the file
  1. X ^%ZOSF("EON") ;turn echo on for questions
  1. W !!,"I Will now walk you through setting your Loinc Parameters",!!
  1. S DIC(0)="AEMQZ",DIC="^BLRSITE("
  1. S DIC("A")="Setup Loinc files for which Lab Site: "
  1. D ^DIC
  1. Q:Y<0
  1. S BHLLSITE=+Y
  1. S DIE=DIC,DA=BHLLSITE,DR="500:505"
  1. D ^DIE
  1. K DIC,DIE,DR,DA
  1. S DIR(0)="Y",DIR("A")="Setup Another Loinc Site "
  1. D ^DIR
  1. K DIR
  1. Q:'Y
  1. G EDIT
  1. Q
  1. ;
  1. COMPILE ;-- compile the ref lab scripts
  1. W !!,"I will now generate scripts and compile the messages...",!
  1. W !!,"Press return when asked to compile scripts",!
  1. S BHLMSI=$O(^INTHL7M("B","HL IHS LOINC R01",0))
  1. Q:'BHLMSI
  1. D COMPILE^BHLU(BHLMSI)
  1. Q
  1. ;
  1. EOJ ;-- kill variables and quit
  1. D EN^XBVK("BHL")
  1. Q
  1. ;