Currently Under Part-Time Construction

Page Last modified: 05/13/07 02:58:21 PM

LINK TO THIS PAGE IN PDF FORMAT


Project Topic: Open Source (free) Electronic Medical Records Software

Project Objective: Install functional Open Source Electronic Medical Records Software at a chinese medicine/acupuncture clinic, which will encompass scheduling, billing, computerized records, inventory, and medications(chinese herbs, supplements, and prescriptions).

STATUS:

Review of Open Source EMR Software Packages – DONE
Choose EMR Software Package – DONE
Modify chosen EMR Software Package – In Progress (15% complete)
1. Herbal database (50% complete)
Install EMR Software at Clinic – Not ready yet
Phases of EMR Installation at clinic - Not ready yet

OpenEMR Virtual Appliance DONE

Table of Contents

Part I:Introduction 3
Part II:Building the Development Computer 5
Part III:Building the Virtual Computers 9
Mandriva 2006 9
Kubuntu 5.1 (breezy) 36
Windows XP Professional 36
Part IV:Installing the Electronic Medical Record Software 36
Installation Overview 36
OpenEMR 37
Installation on Mandriva 2006 Virtual Computer 37
MirrorMed 120
Installation on Mandriva 2006 Virtual Computer 120
FreeMed 131
Installation on Kubuntu 5.1(breezy) Virtual Computer 131
VistA 135
Installation on Mandriva 2006 Virtual Computer 135
Part V:Review of the Electronic Medical Record Software Packages 183
Review Overview 183
OpenEMR Review 183
MirrorMed Review 184
FreeMed Review 184
VistA Review 185
Part VI:Modifications of OpenEMR 185
Part VII:Production Installation of OpenEMR 186
Part VIII:The Real-World Trial 186
Part IX:Appendix 187
A. Software versions 187
B. Useful Websites 187
C. Author Email and License/Disclaimer 188



Part I:Introduction

Main TOC Link.

I truly have no clue what I am doing.

  1. The Players:
    1. The Clinic
      1. Family operated acupuncture, chinese medicine, and naturopathic medicine clinic.
      2. Includes a reception area, chinese herb/supplement pharmacy, 1 office, and 5 treatment rooms.
    2. The People (2 acupuncturist, 1 massage guy, 1 receptionist, and 1 office assistant)
      1. Physicians
        1. Daughter
          1. Acupuncture, Chinese Medicine, Naturopathy
          2. Computer literate
        2. Father
          1. Acupuncture, Chinese Medicine
          2. Computer illiterate
          3. Not fluent in English
        3. Other guy
          1. Massage, Acupressure
          2. Computer illiterate
          3. Not fluent in English
      2. Office Assistant
        1. Mother
          1. Computer illiterate
          2. Not fluent in English
      3. Receptionist
        1. Computer literate
      4. Accountant/billing
        1. Only works half day per week
        2. Computer literate
    3. The Patients:
      1. Differ on payment and type of treatment
        1. Different types of treatment:
          1. Acupuncture
          2. Naturopathy
        2. Different forms of payment:
          1. Motor Vehicle Accident
            1. Requires large amount of medical/billing records
          2. Medical insurance
            1. Requires moderate amount of medical/billing records
          3. Out of pocket
            1. Requires small amount of medical/billing records
    4. The Hardware
      1. 2 desktops(only one being used) and 1 laptop.
  2. Workflow analysis: Pending
  3. Objectives of electronic medical record system:
    1. Primary(short-term):
      1. Electronic record of individual patients herb formulas and supplements
        1. Allow automatic labels
        2. Allow easy refills
    2. Secondary(long-term):
      1. Insurance billing
      2. Appointments
      3. Electronic Notes
      4. Supplement/herbs inventory
      5. Accounting
  4. Electronic Medical Record Software Requirements
    1. Prescriptions
    2. Electronic Notes
    3. Appointments
    4. Insurance Billing
    5. Accounting
    6. Inventory
    7. Easy To Use (GUI preferred)
  5. The Open Source EMR Software Package Options
    1. OpenEMR
      1. Definite possibility.
    2. MirrorMed
      1. Still seems to be in development phase, however will still be tested.
    3. FreeMed
      1. Definite possibility.
    4. VistA
      1. Unlikely to fulfill all above requirements, however will still be tested.
    5. OSCAR
      1. This is software based on the Canadian health care system.
      2. It doesn't have support for US insurance billing, so it will not be considered.
    6. Gnu-Med
      1. Still too early in development phase, so it won't be considered.
    7. Care2X
      1. The general clinic module has not been released yet, so it will not be considered.
  6. The Plan
    1. Install and review above Open Source EMR Packages
      1. To be done on a development computer utilizing Virtual Computers, which will hopefully speed up the process.
    2. Choose the best one
      1. Apply needed modifications.
    3. Install the chosen EMR with modifications on a production/server computer.
      1. Will initially only use software for medication/supplement/herbs prescriptions.
        1. This should immediately streamline office workflow.
      2. Plan to slowly incorporate other functions over several years as office becomes more comfortable with system (also as the computer illiterates are phased out of clinic).
        1. This transition will not be as straightforward as just utilizing functions in a certain order. Strategy will be more of a patient-centered approach. For example, pt with insurance or MVA claims will utilize the electronic notes, billing, accounting functions much earlier than the out-of-pocket patient.
  7. Development Computer Specs:
        1. Processor: Pentium IV 2.4 Ghz
        2. Memory: 2 GB DDR
        3. Storage: 250 GB IDE hard drive
        4. Operating System: Linux Slackware version 10.2.
  8. Production Computer Specs: pending



Part II:Building the Development Computer

Main TOC Link.



  1. Upgrade memory to 2GB($140)
  2. Install 250GB hard drive($80)
  3. Install Linux Slackware, version 10.2:

(KDE desktop running on Slackware Linux)


  1. Upgrade linux kernel from version 2.4 to version 2.6:

(menuconfig program used for customization/upgrade of linux kernel)


  1. Install Vmware Workstation(30 day free trial):
    1. Slackware has a simple work-around for installing VMware(links here)
    2. Install a Windows XP Pro Virtual Computer, which will simulate the client desktops/laptops.:(configuration pictures and move to next section)
(VMware starting up a Windows XP Virtual Computer)


(VMware running a Windows XP Virtual Computer)




Part III:Building the Virtual Computers

Main TOC Link.



Mandriva 2006

Main TOC Link.

  1. VMware Configuration:

Click 'New Virtual Machine'.



Select 'typical'. Then click 'Next'.



Select 'Linux' and 'Mandrake Linux'. Then click 'Next'.



Select 'Use bridged networking'. Then click 'Next'.



Enter 'Disk Size'->'20 GB'. Select 'Split disk into 2GB files'. Then click 'Finish'.



  1. Insert the Mandriva2006 DVD/CD.

  2. Click 'Power On' via Vmware.

  3. Install Mandriva2006:

Change 'Security Level' -> 'Higher'. Type in an administrator log in name. Then click 'Next'.



Select 'Use free space'. Then click 'Next'.



Click 'Next'.



Click 'Ok'.



Select 'Office Workstation', 'Multimedia Station', 'Internet Station', 'Network Computer(client)', 'Configuration', 'Console Tools', 'Development', 'Documentation', 'KDE Workstation'. Do NOT select any Server selections. Then click 'Next'.



Enter a secure password. Then click 'Next'.



Type in a 'Name', 'Login name', and 'Password'. Toggle ON 'xgrp', 'rtools', and 'wheel'. Then click 'Accept user'.



Click 'Next'.



At 'Graphical Interface', click 'Configure'.



Select 'VMware virtual video card'. Then click 'Next'.



Select '1024x768'. Then click 'Next'.



Select '800x600'. Then click 'OK'.



Select 'Yes'. Then click 'Next'.



Click 'Next'.



Select 'No'. Then click 'Next'.



Click 'Reboot'.



  1. Install VMtools (Required by VMware software)
    1. This will require installation of kernel source/headers files
    2. Re-insert the Mandriva2006 CD/DVD
    3. Install kernel source/headers files:
      1. Enter below bolded instructions on command line as root user

#log into root
su

#install the kernel header/source files
urpmi kernel-source

    1. Set up Vmware:

Click above 'Install Vmware Tools'.



Click 'Install'.



    1. Install the VMTools on Mandriva
      1. Enter below bolded instructions on command line as root user:

#log into root
su

#if below doesn't work, try replacing /dev/hda with /dev/cdrom, /dev/hdb, /dev/hdc etc.
mount /dev/hda /mnt/cdrom

#unpack and move file
cd /tmp
tar zxpf /mnt/cdrom/VMwareTools-5.5.0-*.tar.gz
umount /mnt/cdrom
cd vmware-tools-distrib

#install the software
./vmware-install.pl
-answered all questions with defaults
-answered 3 for video mode(“1024x768”)

#need to re-boot or else weird stuff happens
shutdown -r now

  1. Enable software package installation over internet:

Click 'System' -> 'Configuration' -> 'Packaging' -> 'Software Media Manager'.



Enter 'root' user password. Then click 'OK'.



Click 'Add...'.



Click 'Distribution sources'.



Select as above. Then click 'Ok'.



  1. Disable the screensaver(it's annoying).







Kubuntu 5.1 (breezy)

Main TOC Link.

  1. VMware Configuration

    1. (pictures)

  2. Insert Kubuntu install CD/DVD in drive

  3. Power-up” via Vmware

  4. Install

    1. (pictures)


TO DO: finish this section

Windows XP Professional

Main TOC Link.

Pending (move from section above)



TO DO: finish this section



Part IV:Installing the Electronic Medical Record Software

Main TOC Link.

Installation Overview

Main TOC Link.

This section will cover the installations of OpenEMR, MirrorMed, FreeMed, and VistA. OpenEMR, MirrorMed, and FreeMed require the LAMP (Linux, Apache, MySQL, PHP) platform. VistA is written by the VA (Veterans Administration), and requires a MUMPS compiler.



OpenEMR

Main TOC Link.
Installation on Mandriva 2006 Virtual Computer

Quick Index of OpenEMR Installation on Mandriva 2006 VM

Required Software 38
Important Issues 38
Install the Mandriva 2006 Virtual Computer 38
Install Apache, MySQL, and PHP4 39
Install OpenEMR 46
Install FreeB 52
lnstall PostgreSQL 58
Install SQL-Ledger 59
Install php-GACL 71
Configure SSL 75
Using OpenEMR from 'localhost' 84
Using OpenEMR from another/virtual computer 84
Printer Setup 89
Email Server Setup 110
Automatic Backup Setup 115
Helpful Tips 117
OpenEMR User Training 120


Required Software
Quick Index Link.
      1. Apache, MySQL, and PHP4
      2. OpenEMR
      3. FreeB – Insurance billing software (optional)
      4. PostgreSQL – Database program required by SQL-ledger (optional)
      5. SQL-Ledger – Billing, Accounting, and Inventory software (optional)
      6. php-GACL – Access Control software (optional)


Important Issues
Quick Index Link.
      1. Complete all of the steps before entering any data into OpenEMR. The SQL-Ledger and OpenEMR software may communicate in strange ways if you enter data into OpenEMR before installing SQL-ledger.
      2. Passwords can be confusing during the SQL-Ledger installation. To avoid any confusion it is helpful to know that during the installation you will create a PostGreSQL user called 'sql-ledger' with a password. This user/password combination will be used frequently, and the password will be referred to as 'sql-ledger-password' throughout this document to avoid confusion.


Install the Mandriva 2006 Virtual Computer
Quick Index Link.
      1. Follow the above instructions in (Part III, Building Virtual Computers, Mandriva).


Install Apache, MySQL, and PHP4
Quick Index Link.
      1. OpenMed requires PHP4. You shouldn't of installed PHP5, since you should not of selected any server packages during the Mandriva install(then you can disregard this, and skip to step 2). However if you have PHP5 on your system, then remove it using below bolded instructions on command line as root user:

#log into root
su

#list all the php5 packages
urpme php

#remove them all by pasting in all of the php5 packages below
urpme (paste)
  1. Enter below bolded instructions on command line as root user :

#log into root
su

#Install apache, php, mysql
urpmi apache php4-cli apache-mod_php4 apache-mod_ssl php4-mysql php4-xml php4-xmlrpc htmldoc mysql
-I chose 1- apache-mpm-prefork-2.0.54-13mdk.i586
-I chose 1- MySQL-4.1.12-3mdk.i586
-choose Yes to packages

#start apache and mysql
service httpd start
service mysqld start

#enables apache and mysql to start during boot-up
chkconfig --add httpd
chkconfig --add mysqld

  1. Open the firewall for the web server:

Click 'System' -> 'Configuration' -> 'Configure Your Computer'.



Enter 'root' user password. Then click 'OK'.



Click 'Security'.



Click 'Set up a personal firewall...'.



Select 'Web Server'. Then click 'OK'.



Click 'OK'.



Click 'Ok'. Keep defaults.



You are done. Close the window.



Install OpenEMR
Quick Index Link.
      1. Download openemr-2.8.1.tar.gz (version 2.8.1) from sourceforge at : http://sourceforge.net/project/showfiles.php?group_id=60081

      1. Enter below bolded instructions on command line as root user:

#log into root
su

#edit file /etc/php4.ini:
mcedit /etc/php4.ini
#edit following variables:
change post_max_size = 30M
change upload_max_filesize = 30M
change memory_limit = 128M
change max_execution_time = 45
ensure register_globals = off
change magic_quotes_gpc = off
TEXT EDITOR SAVE AND EXIT

#restart httpd
service httpd restart

#put the OpenEMR program in its place
cd /var/www/html
tar pxzvf /location/to/tar/openemr-*.tar.gz
mv openemr-* /var/www/html/openemr
chown -Rf root:root openemr

#Prepare for install
chmod 666 /var/www/html/openemr/library/sqlconf.php

  1. Then use Auto-installer at: http://localhost/openemr/setup.php

Click 'Continue'.



Select 'Have setup create the databases'. Then click 'Continue'.



In SERVER section: enter 'Password' -> secure password, otherwise keep defaults. In CLIENT section: keep defaults. In USER section: enter 'Initial User' -> new user login name, Enter 'Initial User's Name' ->new user name, enter 'Initial Group' -> name of practice. (I would recommend keeping the 'Initial User' -> 'admin' and the 'Initial User's Name' -> 'Administrator' to ensure easy installation of the php-GACL software.) Then Click 'Continue'.



Click 'Continue'. (Don't worry, we have already made the mentioned file world-writeable)



Click 'Continue'. (Don't worry, we will 'restore secure permissions' of file later)



This page list some additional instructions. Again, don't worry, we will do all of this stuff in next section below. You can close your browser window now and move onto the next section.



  1. Enter below bolded instructions on command line as root user:

#log into root
su

#Re-secure the sqlconf.php file
chmod 644 /var/www/html/openemr/library/sqlconf.php

#Need to change some file/folder ownerships
chown apache:apache -R /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/cache
chown apache:apache -R /var/www/html/openemr/interface/main/calendar/modules/PostCalendar/pntemplates/compiled
chown apache:apache -R /var/www/html/openemr/documents


Install FreeB
Quick Index Link.
      1. Download freeb-0.11.tar.gz (version 0.11) from sourceforge: http://sourceforge.net/project/showfiles.php?group_id=60081

      2. Enter below bolded instructions on command line as root user :

#log into root
su

#put the program in its place
cd /usr/share
tar xzvf /location/to/tar/freeb-*.tar.gz
mv freeb-* /usr/share/freeb

#secure it
chown root:root -R /usr/share/freeb

#install the necessary packages
urpmi perl-Config-General perl-Date-Calc
-choose yes to packages

#need to install several PERL modules
perl -MCPAN -e shell
-Answer NO to first question, and then it will be auto-configured.
At cpan> prompt type:
install PDF::Create
install ConfigFile
install Frontier::Daemon
exit

#create a directory that apache can write to
mkdir /usr/share/freeb/public
chown apache:apache -R /usr/share/freeb/public

#change ownership of following directory
chown apache:apache -R /var/www/html/openemr/library/freeb

#this will allow the user to use freeb while in openemr
cp /usr/bin/php4 /usr/bin/php

  1. Configure FreeB as a service
      1. Download freeb file, which is an init.d script. I wrote this file, and it seems to work alright. But I have to say, please use at your own risk. File can be found at: http://bradymd.com/freeb (to download file, you may need to Right-Click the link and select 'Save Link As...')

      2. Enter below bolded instructions on command line as root user:

#log into root
su

#move file and change ownership/permissions
mv /location/to/file/freeb /etc/init.d/
chown root:adm /etc/init.d/freeb
chmod 740 /etc/init.d/freeb

#start service
service freeb start
-After 'before server setup', just hit 'enter' key once to get back to the prompt. If you saw 'before server setup', then it worked.

#configure freeb to start automatically during computer startup
chkconfig --add freeb

#You are done installing service, it will now start
#up automatically during computer start up.
#If the above service is not working, you can
#manually start the FreeB server by typing:
#'/usr/share/freeb/bin/FreeB_Server.pl &'

  1. Next, need to do below “work-around”(Bug in OpenEMR) in order for HCFA billing to work.

Log in to OpenEMR with previously created username and default password 'pass' at http://localhost/openemr:

Click 'Administration'.



Click 'Forms'.



Click 'register' at 'prior_auth' entry.



Click 'Install DB' at 'Prior Authorization Form' entry.



WARNING!! Do NOT click anything on screen below, read below the screenshot first.
Do NOT click the disabled button. You are done with OpenEMR for now. Basically this 'prior_auth' form has to be in the database and disabled for program to function normally. Log out and move on to the next section.(continue to research)



lnstall PostgreSQL
Quick Index Link.
      1. Enter below bolded instructions on command line as root user :

#log into root
su

#install postgresql and needed packages
urpmi postgresql postgresql-devel postgresql-server postgresql-docs postgresql-pl php4-pg
-yes to packages

#start service and also have it start at computer boot-up
service postgresql start
chkconfig --add postgresql


Install SQL-Ledger
Quick Index Link.
      1. We will do a manual install with version 2.6.3. I'd recommend installing this version also, since we know it works.
      2. Download sql-ledger-2.6.3.tar.gz file from: http://sourceforge.net/project/showfiles.php?group_id=4320

      3. Enter below bolded instructions on command line as root user :

#log into root
su

#install the needed dependencies
urpmi perl-DBD-Pg LaTeX perl-DBI
-yes to packages

#put the SQL-Ledger program in its place
cd /usr/local
tar xzvf /location/to/file/sql-ledger-2.6.3.tar.gz
mv sql-ledger/sql-ledger.conf.default sql-ledger/sql-ledger.conf

#edit file /usr/local/sql-ledger/sql-ledger.conf:
mcedit /usr/local/sql-ledger/sql-ledger.conf

#add the following to the vars section on first line of file (you must place this within the first line) For example: 'use vars qw($oemr_ar_acc ...)':

$oemr_ar_acc $oemr_cash_acc $oemr_due_days $oemr_username $oemr_services_partnumber

#Paste the entire section below into file:

#Some constants relevant to OpenEMR import.
#sql-ledger user
$oemr_username = 'openemr';
#acc num for acc receivable
$oemr_ar_acc = '1200';
# acc num for check/copay
$oemr_cash_acc = '1060';

# creating a services item for medical services
# OpenEMR billing "part number" here:
$oemr_services_partnumber = 'MS';

# Num of days added to OpenEMR transaction date to
# create the invoice due date when insurance. This affects the
# pat. portion of outstanding balance shown in OpenEMR
# summary, and also SQL-Ledger reports and statements.
$oemr_due_days = 40;
TEXT EDITOR SAVE AND EXIT

#create and edit file /etc/httpd/conf/sql-ledger-httpd.conf:
mcedit /etc/httpd/conf/sql-ledger-httpd.conf

#Paste the entire section below into empty file:

Alias /sql-ledger /usr/local/sql-ledger/
<Directory /usr/local/sql-ledger>
AllowOverride All
AddHandler cgi-script .pl
AddDefaultCharset On
Options ExecCGI Includes FollowSymlinks
Order Allow,Deny
Allow from All
</Directory>

<Directory /usr/local/sql-ledger/users>
Order Deny,Allow
Deny from All
</Directory>
TEXT EDITOR SAVE AND EXIT

#edit file /etc/httpd/conf/httpd.conf:
mcedit /etc/httpd/conf/httpd.conf
#add following line to bottom of file
include /etc/httpd/conf/sql-ledger-httpd.conf
TEXT EDITOR SAVE AND EXIT

#change permissions
cd /usr/local/sql-ledger
chown -hR apache:apache users templates css spool

#restart httpd service
service httpd restart

#Set up PostgreSQL user( use 'sql-ledger'), password, and database
su postgres
createuser -d -P sql-ledger
-type a good password for the sql-ledger user on PostgreSQL
(this password is IMPORTANT and to avoid any severe confusion it will be referred to as the 'sql-ledger-password' during the rest of the install documentation. I mean it, this is important to remember. This password will be typed in many times during instructions below.)
-type y to allow user to make more users
createlang plpgsql template1
exit

      1. Load your web browser and connect to: http://localhost/sql-ledger/admin.pl

There is no default password. Just click 'Login'.



Click 'Change Admin Password'.




Enter a secure password. Then click 'Change Password'.



Click 'Pg Database Administration'.



Enter 'User' -> 'sql-ledger'. Enter 'Password' -> 'sql-ledger-password''. Otherwise keep above defaults. Then click 'Create Dataset'.



Enter 'Create Dataset' -> 'openemr'. Toggle 'Create Chart of Accounts' -> 'Default'. Then click 'Continue'.



Click 'Continue'.



Click 'Add User'.



Enter 'Login' ->'openemr'. Enter a secure 'Password'->'openemrpassword'. Enter 'Name'-> 'openemr'. At the 'Database' section: ensure the 'Driver Pg' is toggled to ON , set 'Dataset'->'openemr', set 'User'->'sql-ledger', set 'Password'->'sql-ledger-password'. Keep above defaults for other above entries. Scroll to bottom of page and click 'Save'.



Click 'Logout' and continue below.



      1. Enter below bolded instructions on command line as root user:


#log into root
su

#Copy and rename openemr perl script to sql-ledger directory
cp /var/www/html/openemr/accounting/ws_server_26.pl /usr/local/sql-ledger/ws_server.pl

#edit file /usr/local/sql-ledger/ws_server.pl:
mcedit /usr/local/sql-ledger/ws_server.pl

#edit the following bolded path:
use lib qw (/usr/local/sql-ledger);
TEXT EDITOR SAVE AND EXIT

#edit file /var/www/html/openemr/interface/globals.php
mcedit /var/www/html/openemr/interface/globals.php

#edit the following bolded variables :
$sl_income_acc = '4320';
$sl_services_id = 'MS';
$sl_dbname = 'openemr';
$sl_dbuser = 'sql-ledger';
$sl_dbpass = 'sql-ledger-password';
TEXT EDITOR SAVE AND EXIT

#edit file /var/www/html/openemr/includes/config.php:
mcedit /var/www/html/openemr/includes/config.php

#edit the following bolded variables:

$GLOBALS['oer_config']['ws_accounting']['enabled'] = true;

$GLOBALS['oer_config']['ws_accounting']['username'] = "openemr";

$GLOBALS['oer_config']['ws_accounting']['password'] = "openemrpassword";

$GLOBALS['oer_config']['ws_accounting']['income_acct'] = "4320";
TEXT EDITOR SAVE AND EXIT

      1. Finish up SQL-Ledger install, go to: http://localhost/sql-ledger/

Enter 'Name' -> 'openemr'. Enter password then click 'Login'.



Click 'Goods & Services'.



Click 'Add Services'.



Enter 'Number' -> 'MS'. Enter 'Description' -> 'Medical Service'. Choose 'Income' -> '4320—Consulting'. Remove checks on the three tax toggles. Otherwise, keep defaults. Then click 'Save'. Your done with SQL-Ledger install, you can log-out now.



Install php-GACL
Quick Index Link.
      1. Download phpgacl-3.3.6.tar.gz file from: http://sourceforge.net/project/showfiles.php?group_id=57103

      2. Enter below bolded instructions on command line as root user:

#log into root
su

#unpack and place program in its proper place
cd /var/www/html
tar xvzf /location/to/file/phpgacl-3.3.6.tar.gz
mv phpgacl-* phpgacl

#create the mySQL database
mysql
At mysql> prompt type:
CREATE DATABASE gacl;
exit

      1. Start phpGACL Installer via : http://localhost/phpgacl/setup.php

Close the window. (Don't worry, we will make the 'Important' directory below.)



      1. Enter below bolded instructions on command line as root user:

#log into root
su

#make a phpgacl/admin/templates_c directory, and change owner
mkdir /var/www/html/phpgacl/admin/templates_c
chown -R apache:apache /var/www/html/phpgacl/admin/templates_c

#edit file /var/www/html/openemr/library/acl.inc:
mcedit /var/www/html/openemr/library/acl.inc
#uncomment and edit following line:
$phpgacl_location = "/var/www/html/phpgacl";
TEXT EDITOR SAVE AND EXIT

#Password protect the /var/www/html/phpgacl/admin directory. Will need to: FIRST add entry to apache2 config file, SECOND create a password file, and THIRD re-start apache.

#FIRST, edit file /etc/httpd/conf/httpd.conf:
mcedit /etc/httpd/conf/httpd.conf
#paste following section at end of file:
<Directory "/var/www/html/phpgacl/admin">
AuthType Basic
AuthName "ACL Administrators"
AuthUserFile /var/www/html/phpgacl/admin/.htpasswd
Require valid-user
</Directory>
TEXT EDITOR SAVE AND EXIT

#SECOND, create the password file(file is .htpasswd and user is admin)
cd /var/www/html/phpgacl/admin
htpasswd -c /var/www/html/phpgacl/admin/.htpasswd admin
-Type in a secure password

#THIRD, Re-start apache
service httpd restart

      1. Configure phpGACL to use OpenEMR via: http://localhost/openemr/acl_setup.php

Close window.



      1. Start phpGACL via: http://localhost/phpgacl/admin/acl_admin.php

Log in as 'admin', and with password created by the above htpasswd command.



Close window. Learn how to use later. (Your OpenEMR 'admin' user is already configured as an administrator).



Configure SSL
Quick Index Link.
      1. SSL is very important, and will ensure encryption of all network traffic. This will allow safe use of a laptop over a wireless network. The protocol uses https instead of http and utilizes port 443 instead of 80. Only two configuration files will need changing. We will also firewall port 80 to ensure that the only available option will be an encrypted connection.

      1. Enter below bolded instructions on command line as root user:


#log into root
su

#Edit file /var/www/html/openemr/includes/config.php. This will fix the SQL-Ledger link in the OpenEMR billing page.
mcedit /var/www/html/openemr/includes/config.php
#edit following line (yes, you're just adding an 's'):

$GLOBALS['oer_config']['ws_accounting']['url_path'] = "https://" .
$_SERVER["SERVER_NAME"] . "/sql-ledger/login.pl";
TEXT EDITOR SAVE AND EXIT

#Edit file /etc/httpd/modules.d/41_mod_ssl.default-vhost.conf.
This will ensure only high level secure encryption is used.
mcedit /etc/httpd/modules.d/41_mod_ssl.default-vhost.conf

#REMOVE the entire line below:
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP

#PASTE all of below in place of the above removed line:
SSLOptions +StrictRequire
<Directory />
SSLRequireSSL
</Directory>
SSLProtocol -all +TLSv1 +SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
TEXT EDITOR SAVE AND EXIT

#Re-start apache
service httpd restart

      1. Firewall port 80

Click 'System' -> 'Configuration' -> 'Configure Your Computer'.



Enter 'root' user password. Then click 'OK'.



Click 'Security'.



Click 'Set up a personal...'



Ensure 'Web Server' is NOT selected. Then Click on 'Advanced'.



Enter 'Other ports' -> '443/tcp 443/udp'. Then click 'Ok'.



Click 'Ok'. Keep defaults.



Click 'Ok'. Keep defaults.



You are done. Close the window.



Using OpenEMR from 'localhost'
Quick Index Link.
      1. Use OpenEMR with the your previously created user name(likely 'admin') and default password 'pass' at: https://localhost/openemr
      2. Use SQL- Ledger at: https://localhost/sql-ledger
      3. Use php-GACL at: https://localhost/phpgacl/admin


Using OpenEMR from another/virtual computer
Quick Index Link.
      1. Networking with the Virtual computer over a LAN. You can get the current IP address thru Mandriva settings, and then use that IP address as the web address in another computers(including virtual) web browser.
        1. First, get your IP address:

Click 'System' -> 'Configuration' -> 'Configure Your Computer'.



Enter 'root' user password. Then click 'OK'.



Click 'Network & Internet'.



Click 'Reconfigure a network interface'.



The circled number above is your Your_Current_IP_address.



        1. Then you can use below links to connect to your server
          1. OpenEMR at https://Your_Current_IP_address/openemr
          2. SQL-Ledger at https://Your_Current_IP_address/sql-ledger
          3. php-GACL at https://Your_Current_IP_address/phpgacl/admin

      1. You can also change your IP address to a static one, so it doesn't change after the computer is turned off. I'm out of time, so can't go thru it. You'll have to Google this one (It can be changed in above window by clicking on the Protocol toggle and selecting static, then you can choose an IP address, however then you need to type in DNS servers and you need to ensure your router does not assign any other computers your chosen static IP address)


Printer Setup
Quick Index Link.
      1. For USB printers, you will need to connect the device by clicking on printer on top of window. Your host computer may no longer be able to see the printer after this step(not permanent, but can be a pain).

In my case I click on the 'Hewlett-Packard...' button at top of VMware window.



This is just to demonstrate that the 'Hewlett-Packard...' button is now shaded.


      1. Then install software and printer via Mandriva Control Center, which will first install CUPS, and then look for printers. If your lucky, Mandriva will see your printer.

Click 'System' -> 'Configuration' -> 'Configure Your Computer'.



Enter 'root' user password. Then click 'OK'.



Click 'Hardware'



Click 'Set up the printer(s)...'.



Click 'Yes'.



Select 'Local CUPS printing system'. Then click 'Ok'.



Click 'Yes'.



Just twiddle your thumbs and wait, it takes a while.



Click 'Add Printer'.



Select both auto-detect options. Then Click 'Next'.



No big deal. Close the windows and we will install the printer below thru CUPS.



      1. If the above step found your printer, then you can skip to the section below which will have you place the name of the printer into the openemr config file (this will allow printing while creating billing forms via freeb). If Mandriva can't find the printer, don't worry, we will install it via CUPS directly at: http://localhost:631/

Click 'Manage Printers'.



Click 'Add Printer'.



Enter 'User Name' -> 'root'. Enter the root password. Then click 'OK'.



Fill in form, and then click 'Conttinue'. The only important field is the 'Name'. This will be used later when configuring printer for freeb/openemr.



In my case I am selecting the 'USB Printer #1'. If your using a USB printer, this will likely work.


Click 'Continue'.



Select the make of your printer. Then click 'Continue'.



Select the model of your printer. Then click 'Continue'.



It Worked!! Click printer name to see more specifics on your newly added printer.



Done installing printer. I'd rec. testing it with 'Print Test Page'.



      1. Confirm seen in Mandriva and get your printer name:

Your printer name is underlined with red line. This will be typed into the below freeb/openemr configuration file.



      1. Enter below bolded instructions on command line as root user:

#log into root
su

#edit file /var/www/html/openemr/includes/config.php:
mcedit /var/www/html/openemr/includes/config.php
#change bolded variable to the name of your printer
$GLOBALS['oer_config']['freeb']['printer_name'] = "YourPrinterName";
TEXT EDITOR SAVE AND EXIT


Email Server Setup
Quick Index Link.
      1. This will allow only locally produced emails (such as “status” emails during the below 'backup script') to be sent over the internet.

      2. Need to update a package called 'msec' if you want to avoid an error email per minute(not exaggerating)
        1. Enter below bolded instructions on command line as root user:

#log into root
su

#Start MandrivaUpdate
MandrivaUpdate


Click 'Yes'.



Click 'Yes'.



Click 'Ok'. (just select the default mirror)



Type 'msec' and click 'Search'.



Select 'msec-0.49.1-...'. Then click 'Install'.



Your done. Close the window.


      1. Enter below bolded instructions on command line as root user:

#log into root
su

#This will allow outgoing mail from server.
# Just made up virtual.org, this can be
# anything since this is only an outgoing
# email server. (It does not need to match
# your domain or server name.)
#edit config file /etc/postfix/main.cf:
mcedit /etc/postfix/main.cf
#add to end of file
mydomain = virtual.org
myhostname = $mydomain
myorigin = $mydomain
relayhost = YourOutgoingSMTPMailServerHere


#This will forward the root's email to
# the below email address (needed to
# monitor server emails such as below
# backup script status)
#edit aliases file /etc/postfix/aliases:
mcedit /etc/postfix/aliases
#edit near end of file:
root: YourFullEmailAddressHere

#start postfix service and configure to start on computer boot up
service postfix start
chkconfig --add postfix



Automatic Backup Setup
Quick Index Link.
      1. This will enable a full daily backup of the MySQL server, PostGreSQL server, OpenEMR patient documents directory, and FreeB billing documents directory. The script will place a non-encrypted backup in the local hard drive secured /backup directory, and will also copy an encrypted backup to a DVD. The DVD copy works via multi-session, so you basically just need to leave one DVD in the DVD writer until it fills up. Do NOT use RW DVD. This script will work and should be used with R only DVD's. The output of the automated backup script will be emailed to the person's email entered in above email server setup.
        1. The local /backup directory will have to be manually cleaned up occasionally. I'd recommend deleting old backup sub-directories on a monthly basis or so. (of course, a script could be written for this)
        2. There is no restore script yet, will have to be done manually.
        3. The MySQL and PostGreSQL are gzipped. The ...openemr/documents and .../freeb/public backups are compressed via DAR (NOT tar).

      1. Download the script file fullbackup.sh. File can be found at: http://bradymd.com/fullbackup.sh (to download file, you may need to Right-Click the link and select 'Save Link As...')

      1. Configure file encryption package:
        1. Enter below bolded instructions on command line as root user:

#log into root
su

#Configure file encryption. If you want to be able to decrypt your encrypted files you need to remember (case sensitive) the passphrase that you type below. I'd also remember all the other info you type below.
gpg --gen-key
-'ENTER' to default of 1 for key selection
-'ENTER' to default 2048 keysize bits
-'ENTER' to default '0' so key does not expires
-Type 'Y' to confirm above
-Type your real full name
-Type your real email address
-Type 'openemr secure backup key'
-Type 'O' to confirm
-Type a very secure and long 'passphrase' (the longer your passphrase is the more secure, go for at least 15 characters with numbers, different cases, and strange characters)

#IMPORTANT!!! You NEED to backup the entire contents of directory /root/.gnupg on the most indestructible disk(s) you can find and then keep in a very secure place. This directory contains your secret key file, and without this you will be unable to restore from your encrypted data backup!!! You also need to remember your passphrase, or you won't be able to restore your backed up data.

#The decrypt command, in case you need at some point:
#gpg -o OutputFilename -d InputFilename

      1. Configure backup script and automate it:
        1. Enter below bolded instructions on command line as root user:

#log into root
su

#install the DAR backup package
urpmi dar
-yes to packages

#create a secure backup directory
mkdir /backup
chown root:root /backup
chmod 700 /backup

#move the backup script to /root , secure it, and allow execution
mv /location/to/file/fullbackup.sh /root
chown root:root /root/fullbackup.sh
chmod 700 /root/fullbackup.sh

#edit file /root/dailybackup.sh:
mcedit /root/fullbackup.sh
#edit the below DVDDEVICE line to what the
#device for the DVD writer is. It is likely going to
#be /dev/hda , /dev/hdb , /dev/hdc ... A very
#non-scientific way to figure this out is to put
#a DVD with files in the DVD writer, go to root
#command line and then use the
#'mount /dev/hda /mnt/cdrom1'
#command then 'ls /mnt/cdrom1', and continue
#this until you get the right device,
#don't forgot to 'umount /mnt/cdrom1':
DVDDEVICE=/dev/hdb

#edit full name you entered above for encryption key:
YOURFULLNAME='Full Name'
TEXT EDITOR SAVE AND EXIT

#Automate script to cron for a daily run at 1:02 AM. WARNING: This script needs to finish and start on the same day since it plays around with file names using the date command. Basically, don't start this script before midnight unless you are sure it will finish before midnight. This is why I have it set for 1:02AM.
export EDITOR=/usr/bin/mcedit
crontab -e
#paste below into empty file:
02 1 * * * . /root/fullbackup.sh
TEXT EDITOR SAVE AND EXIT


Helpful Tips
Quick Index Link.
      1. NEED to mark bills as 'cleared' (even after hfca processing) on the billing menu to send data to sql-ledger.
      2. NEED to leave the the 'Prior Authorization Form' installed and disabled for the hfca form printing to work.
      3. NEED to also create your new OpenEMR users in php-GACL or strange things will happen. (I refer you to below OpenEMR User Training section on how to do this.)
      4. NEED to ensure clock is set correctly (Virtual computer should not differ from host computer, or there will be cron scheduling problems)
      5. NEED to ensure your provider is authorized or you won't be able to send bills to sql-ledger. It's confusing because there are two different authorization options. Screenshots below go thru the process:

Click 'Administration'.



Click 'edit'.



Ensure 'the Authorized:' toggle is on. Ensure the 'See Authorizations:' is set to 'All' or 'only mine'. Then click 'Save Changes'.



OpenEMR User Training
Quick Index Link.
      1. There is an excellent web site for learning how to use all of the components of OpenEMR at: http://www.sunsetsystems.com/node/8
      2. The above link is also mirrored at the following wiki site, which means it could theoretically contain updates: http://www.oemr.org/modules/cjaycontent/index.php?id=2
      3. There is also an older user manual in the /var/www/html/openemr/Documentation directory which can be helpful.
      4. You can ask question as the SourceForge OpenEMR forum at: http://sourceforge.net/forum/?group_id=60081
      5. The OpenEMR home page is here with a wiki and a new forum: http://www.oemr.org/



MirrorMed

Main TOC Link.
Installation on Mandriva 2006 Virtual Computer



  1. See the above instructions(Part III, Building Virtual Computers, Mandriva) on installing the Mandriva Virtual Computer

  2. The MirrorMed package will require the following software:
    1. Apache, MySQL, and PHP4
    2. MirrorMed

  1. First we need to install Apache, MySQL, and PHP4.
    1. OpenMed requires PHP4. You shouldn't of installed PHP5, since you should not of selected any server packages during the Mandriva install(then you can disregard this, and skip to step 2). However if you have PHP5 on your system then use below bolded instructions on command line as root user:

#log into root
su

#list all the php5 packages
urpme php

#remove them all by pasting in all of the php packages below
urpme (paste)
  1. Enter below bolded instructions on command line as root user :

#log into root
su

#Install apache, php, mysql
urpmi apache php4-cli apache-mod_php4 apache-mod_ssl php4-mysql php4-xml php4-xmlrpc htmldoc mysql
-I chose 1- apache-mpm-prefork-2.0.54-13mdk.i586
-I chose 1- MySQL-4.1.12-3mdk.i586
-choose Yes to packages

#start apache and mysql
service httpd start
service mysqld start

#enables apache and mysql to start during boot-up
chkconfig --add httpd
chkconfig --add mysqld

  1. Open the firewall for the web server:

Click 'System' -> 'Configuration' -> 'Configure Your Computer'.



Click 'Security'.



Click 'Set up a personal firewall...'.



Select 'Web Server'. Then click 'OK'.



Click 'OK'.



Click 'Ok'. Keep defaults.



You are done. Close the window.



  1. Install MirrorMed
    1. Download MirrorMed software from www.mirrormed.com (version-1.0RC2)
    2. Enter below bolded instructions on command line as root user:

#log into root
su

#edit file /etc/php4.ini
mcedit /etc/php4.ini
#edit bolded variables:
change post_max_size = 30M
change upload_max_filesize = 30M
change memory_limit = 128M
change max_execution_time = 45
change register_globals = off
change magic_quotes_gpc = off
TEXT EDITOR SAVE AND EXIT

#restart httpd
service httpd restart

#put program in its place and change permission
cd /var/www/html
tar xzvf /location/to/file/mirrormed*.tgz
mv mirrormed* /var/www/html/mirrormed
chown -R apache:apache /var/www/html/mirrormed
#change permission of /tmp to avoid mirrormed permission errors
chmod a+r /tmp

  1. Then run Auto-Installer via link: https://127.0.0.1/mirrormed

Enter 'Database Username'->root. Leave 'Database Password' empty. 'Database Server'->localhost. 'Database Name'->mirrormed. Then click 'Save'.



Click 'Continue'



Toggle ON 'Codes Icd9'. Then click 'Install File'.



Toggle ON 'Codes Hcpcs'. Then click 'Install File'.



FreeMed

Main TOC Link.
Installation on Kubuntu 5.1(breezy) Virtual Computer
  1. See the above instructions(Part III, Building Virtual Computers, Kubuntu) on installing the Kubuntu 5.1 Virtual Computer.

  2. The FreeMed package requires the following software:
    1. Apache, MySQL, and PHP4
    2. FreeMed
    3. Remitt – insurance billing (optional)

  1. Install FreeMed
    1. The FreeMed .deb and .rpm files don't work. We will just download the tar version for a manual install.
    2. First, download freemed-0.8.2.tar.gz(version 0.8.2) from here: http://sourceforge.net/project/showfiles.php?group_id=1428
    3. Enter below bolded instructions on command line:
#edit /etc/apt/sources.list:
sudo nano /etc/apt/sources.list
#Comment out the DVD/CD repository on top line:
## deb cdrom:[Kubuntu 5.10 _Breezy Badger...
#Uncomment the 'universe' repositories
deb http://us.archive.ubuntu.com/ubuntu breezy universe
deb-src http://us.archive.ubuntu.com/ubuntu breezy universe

#Otherwise, leave defaults
TEXT EDITOR SAVE AND EXIT

#update the repository list
sudo apt-get update

#Install Apache, MySQL, PHP4 and all the other needed packages(dependencies)
sudo apt-get -y install mysql-server-4.1 php4 php4-gd php4-cli php4-mysql apache2 libapache2-mod-php4 libxml-parser-perl libtext-iconv-perl djvulibre-bin netpbm imagemagick tetex-bin tetex-extra cupsys cupsys-client gs-common php4-cgi xpdf-utils
-I chose “local only” on postfix question

#put freemed in its place
cd /usr/share
sudo tar zxvf /location/to/tarball/freemed-0.8.2.tar.gz
sudo mv freemed-* freemed

#change ownership of freemed directory
sudo chown -Rf www-data:www-data /usr/share/freemed

#edit file /etc/php4/apache2/php.ini:
sudo nano /etc/php4/apache2/php.ini
#edit bolded variables:
change post_max_size = 30M
change upload_max_filesize = 30M
change memory_limit = 128M
change max_execution_time to 45
ensure register_globals is off
ensure magic_quotes_gpc is on
TEXT EDITOR SAVE AND EXIT

#edit file /usr/share/freemed/lib/settings.php:
sudo nano /usr/share/freemed/lib/settings.php
set username and password at end of file
TEXT EDITOR SAVE AND EXIT

#edit file /etc/apache2/apache2.conf:
sudo nano /etc/apache2/apache2.conf
#add index.php following DirectoryIndex as below:
DirectoryIndex index.php (et cetera...)

#Uncomment below lines:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

#Paste all of below at end of file:
Alias /freemed /usr/share/freemed
<Directory /usr/share/freemed>
Options Indexes Includes ExecCGI MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
TEXT EDITOR SAVE AND EXIT

#re-start apache
sudo /etc/init.d/apache2 restart

  1. Auto-Installer via: http://127.0.0.1/freemed/ Do NOT use 'localhost' or you will get the dreaded “blank screen”!!!
    1. (pictures)

  1. Install Remitt
    1. Download remitt_0.3.1-1_all.deb(version 0.3.1) from here: http://sourceforge.net/project/showfiles.php?group_id=1428
    2. Enter below bolded instructions on command line:

#install Remitt, dependencies are all automatically installed.
sudo dpkg -i /location/to/file/remitt_0.3.1-1_all.deb
sudo apt-get -fy install

#Create Remitt username and password
cd /usr/share/remitt
sudo ./bin/sqlite_user_admin.pl create username password

  1. Now configure FreeMed to use Remitt.
    1. Go to http://127.0.0.1/freemed/
    2. log-in
    3. (picture)
    4. 'administration'
    5. (picture)
    6. 'configuration'
    7. (picture)
    8. click 'Remitt Billing System'



Use defaults and click 'Configure' (confirm)



-check to ensure billing running by clicking 'main' (picture) 'billing' (picture)



Ensure it states near top of screen 'REMITT Server Running'


TO DO:
1.Finish pictures



VistA

Main TOC Link.
Installation on Mandriva 2006 Virtual Computer



Quick Index of Vista Installation on Mandriva 2006 VM

Required Software for Installation 136
Install the Mandriva2006 Virtual Computer 136
Install VistA 137
Start VistA 139
Basic configuration of VistA 139
Registering a New Patient 165
Install the new 'edit/add patient' function 165
Configure the new 'edit/add patient' function 165
Register your new patient (finally) 169
Make a Doctor 172
Build a Clinic 176
Schedule an Appointment 178
CPRS GUI 183
Shutting Down Safely 183


Required Software for Installation
Quick Index Link.
      1. SemiVivaFOIA Gold bundle
        1. Includes the VA FOIA
        2. Also includes GT.M (MUMPS compiler)


Install the Mandriva2006 Virtual Computer
Quick Index Link.
      1. Follow the above instructions in (Part III, Building Virtual Computers, Mandriva).

Install VistA
Quick Index Link.
      1. Download OpenVistASemiVivAFOIAGold20050825.tgz from: http://prdownloads.sourceforge.net/worldvista

      1. Enter below bolded instructions on command line as root user:

#log in to root
su

#Create a vista user and password
useradd vista
passwd vista
-Type a new secure password for your new vista user

#Make a log directory and change ownership to vista user
mkdir /home/vista/log
chown vista:vista /home/vista/log

#Create healthy environment by editing file /home/vista/.bashrc:
mcedit /home/vista/.bashrc

#DELETE all the text in file, then PASTE all of below into file:

# .bashrc
# Get the aliases and functions
if [ -f ~/bashrc ]; then
. ~/bashrc
fi

# User specific environment and startup programs
PATH=$PATH:$HOME/bin
unset USERNAME

## OpenVistA specific environment ##
export gtm_dist=/usr/local/gtm
export gtm_log=/home/vista/log
export gtmgbldir=/home/vista/g/mumps.gld
export gtm_vista=/home/vista/
export vista_home=/home/vista
export gtmroutines="$vista_home/o($vista_home/r) $gtm_dist"
alias GTM="$gtm_dist/mumps -direct"
alias gtm="$gtm_dist/mumps -direct"
alias mupip="$gtm_dist/mupip"
alias gde="$gtm_dist/mumps -r ^GDE"
alias lke="$gtm_dist/lke"
alias dse="$gtm_dist/dse"
alias rundown="$gtm_dist/mupip rundown -r \"*\""
export PATH=$PATH:$gtm_dist
TEXT EDITOR SAVE AND EXIT

#make a garbage directory and move into it
mkdir /tmp/openvista
cd /tmp/openvista

#extract OpenVistASemiVivAFOIAGold20050212.tgz file:
tar -xzvf /to/location/of/OpenVistASemiVivAFOIAGold20050825.tgz

#gtm and OpenVistA are now just symbolic links. Since I don't like links... lets just get rid of them
rm -f gtm
rm -f OpenVistA

#change names of directories
mv gtm* gtm
mv FOIAVistA* OpenVistA

#change the permissions
chown -R root:root gtm
chown -R vista:vista OpenVistA

#put the files in their proper places
mv gtm /usr/local/
mv OpenVistA/* /home/vista/

#unpackage one more file
cd /home/vista/g
gunzip mumps.dat.gz

#remove the garbage directory
rm -rf /tmp/openvista

#Now log out of X-windows. Log back in as 'vista' user. Then continue below in 'configure vista' section.

Start VistA
Quick Index Link.
      1. Enter below bolded instructions on command line as vista user:

#start vista
gtm

Basic configuration of VistA
Quick Index Link.
      1. This consist of setting up MUMPS routines, a domain, an admin user, taskman, mailman, an RPC broker, and CPRS keys. This HowTo is emulating two other tutorials written by Mark Street and Nancy Anthracite.


LEGEND:
INPUT – This color is for user input.
SPECIAL – This color will be explained by my comments.
COMMENTS – This color will contain comments.
Default to the 'ENTER' key if no specific instructions


## First, lets set up the MUMPS routines

GTM>D ^ZTMGRSET

ZTMGRSET Version 8.0 **34,36,69,94,121,127,136,191,275**
HELLO! I exist to assist you in correctly initializing the current account.

THIS MAY NOT BE THE MANAGER UCI.
I think it is VAH,ROU. Should I continue anyway? N//YES
I think you are using GT.M (Unix)
Which MUMPS system should I install?

1 = VAX DSM(V6), VAX DSM(V7)
2 = MSM-PC/PLUS, MSM for NT or UNIX
3 = OpenM for NT, Cache/NT, Cache/VMS
4 = Datatree, DTM-PC, DT-MAX
5 = MVX,ISM VAX
6 = ISM (UNIX, Open VMS)
7 = GT.M (VMS)
8 = GT.M (Unix)
System: 8//8

I will now rename a group of routines specific to your operating system.
Routine: ZOSVGUX Loaded, Saved as %ZOSV
Routine: ZTBKCGUX Missing
Routine: ZIS4GTM . S (%,%1)=$ZGETDVI($I,"TT_ACCPORNAM")
^-----
At column 14, line 44, source module /home/vista/r/ZIS4GTM.m
%GTM-E-FNOTONSYS, Function or special variable is not supported by this operating system
Loaded, Saved as %ZIS4
Routine: ZISFGUX Missing
Routine: ZISHGUX Loaded, Saved as %ZISH
Routine: XUCIGTM Loaded, Saved as %XUCI
Routine: ZISETGUX Missing
Routine: ZOSV2GTM Loaded, Saved as %ZOSV2
Routine: ZISTCPS O NIO:(:SOCK:"AT"::512:512:10):30 Q:'$T S POP=0 U NIO
^-----
At column 9, line 25, source module /home/vista/r/ZISTCPS.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
J CHILDONT^%ZISTCPS(NIO,RTN):(:4:NIO:NIO):10 S %ZA=$ZA
^-----
At column 32, line 30, source module /home/vista/r/ZISTCPS.m
%GTM-E-JOBPARUNK, Job parameter unknown
U IO:(::"-M") ;Work like DSM
^-----
At column 8, line 36, source module /home/vista/r/ZISTCPS.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
Loaded, Saved as %ZISTCPS

NAME OF MANAGER'S UCI,VOLUME SET: VAH,ROU//
The value of PRODUCTION will be used in the GETENV api.
PRODUCTION (SIGN-ON) UCI,VOLUME SET: VAH,ROU//
The VOLUME name must match the one in PRODUCTION.
NAME OF VOLUME SET: ROU//
The temp directory for the system: '/tmp/'//
^%ZOSF setup

Now to load routines common to all systems.
Routine: ZTLOAD Loaded, Saved as %ZTLOAD
Routine: ZTLOAD1 Loaded, Saved as %ZTLOAD1
Routine: ZTLOAD2 Loaded, Saved as %ZTLOAD2
Routine: ZTLOAD3 Loaded, Saved as %ZTLOAD3
Routine: ZTLOAD4 Loaded, Saved as %ZTLOAD4
Routine: ZTLOAD5 Loaded, Saved as %ZTLOAD5
Routine: ZTLOAD6 Loaded, Saved as %ZTLOAD6
Routine: ZTLOAD7 Loaded, Saved as %ZTLOAD7
Routine: ZTM Loaded, Saved as %ZTM
Routine: ZTM0 Loaded, Saved as %ZTM0
Routine: ZTM1 Loaded, Saved as %ZTM1
Routine: ZTM2 Loaded, Saved as %ZTM2
Routine: ZTM3 Loaded, Saved as %ZTM3
Routine: ZTM4 Loaded, Saved as %ZTM4
Routine: ZTM5 Loaded, Saved as %ZTM5
Routine: ZTM6 S ZTNAME=$ZC(%GETJPI,ZTPID,"PRCNAM") Q:ZTNAME["Sub"
^-----
At column 12, line 75, source module /home/vista/r/ZTM6.m
%GTM-E-FNOTONSYS, Function or special variable is not supported by this operating system
S ZTSTATE=$ZC(%GETJPI,ZTPID,"STATE")
^-----
At column 13, line 76, source module /home/vista/r/ZTM6.m
%GTM-E-FNOTONSYS, Function or special variable is not supported by this operating system
Loaded, Saved as %ZTM6
Routine: ZTMS Loaded, Saved as %ZTMS
Routine: ZTMS0 Loaded, Saved as %ZTMS0
Routine: ZTMS1 Loaded, Saved as %ZTMS1
Routine: ZTMS2 Loaded, Saved as %ZTMS2
Routine: ZTMS3 Loaded, Saved as %ZTMS3
Routine: ZTMS4 Loaded, Saved as %ZTMS4
Routine: ZTMS5 Loaded, Saved as %ZTMS5
Routine: ZTMS7 Loaded, Saved as %ZTMS7
Routine: ZTMSH Loaded, Saved as %ZTMSH
Routine: ZTER I ^%ZOSF("OS")["OpenM" D SAVE("$ZU(56,2)",$ZU(56,2))
^-----
At column 45, line 29, source module /home/vista/r/ZTER.m
%GTM-E-INVFCN, Invalid function name
Loaded, Saved as %ZTER
Routine: ZTER1 S @%ZTERRT@("J")=$J_"^"_$ZC(%GETJPI,0,"PRCNAM")_"^"_$ZC(%GETJPI,0,"USERNAME")_"^"_%ZTER11I_"^"_$ZC(%SYSFAO,"!XL",$J),@%ZTERRT@("I")=$IO_"^"_$ZA_"^"_$ZB_"^"_$ZIO K %ZTER11I
^-----
At column 27, line 4, source module /home/vista/r/ZTER1.m
%GTM-E-FNOTONSYS, Function or special variable is not supported by this operating system
S @%ZTERRT@("ZH")=$TR($ZH,",","^")
^-----
At column 25, line 5, source module /home/vista/r/ZTER1.m
%GTM-E-INVSVN, Invalid special variable name
S %ZTER111="%" F D S %ZTER111=$ZSORT(@%ZTER111) Q:%ZTER111="" ;Code from DEC
^-----
At column 35, line 6, source module /home/vista/r/ZTER1.m
%GTM-E-INVFCN, Invalid function name
Loaded, Saved as %ZTER1
Routine: ZIS Loaded, Saved as %ZIS
Routine: ZIS1 Loaded, Saved as %ZIS1
Routine: ZIS2 Loaded, Saved as %ZIS2
Routine: ZIS3 Loaded, Saved as %ZIS3
Routine: ZIS5 Loaded, Saved as %ZIS5
Routine: ZIS6 Loaded, Saved as %ZIS6
Routine: ZIS7 Loaded, Saved as %ZIS7
Routine: ZISC Loaded, Saved as %ZISC
Routine: ZISP Loaded, Saved as %ZISP
Routine: ZISS Loaded, Saved as %ZISS
Routine: ZISS1 Loaded, Saved as %ZISS1
Routine: ZISS2 Loaded, Saved as %ZISS2
Routine: ZISTCP O NIO:(TCPCHAN,ADDRESS=IP):TO G:'$T NOOPN
^-----
At column 9, line 18, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
U NIO::"TCP" W /SOCKET(IP,SOCK) I $KEY="" C NIO G NOOPN
^-----
At column 8, line 23, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
I $$VERSION^%ZOSV'<5 S %A=$ZUTIL(68,55,1)
^-----
At column 29, line 27, source module /home/vista/r/ZISTCP.m
%GTM-E-INVFCN, Invalid function name
O NIO:(IP:SOCK:"-M"::512:512):TO G:'$T NOOPN ;Make work like DSM
^-----
At column 9, line 29, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
I %ZISOS["DSM",%ZISV'<7 S NIO="SYS$NET" O NIO:(TCPDEV):5 D:$T VAR(NIO)
^-----
At column 49, line 63, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
U NIO::"TCP" W /SOCKET("",SOCK)
^-----
At column 8, line 102, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
O NIO:(:SOCK:"AT"::512:512:3):30 Q:'$T S POP=0
^-----
At column 9, line 110, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
U NIO:(::"-M") ;Work like DSM
^-----
At column 9, line 116, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
S NIO=SOCK O NIO:(TCPCHAN):30 Q:'$T S POP=0
^-----
At column 20, line 121, source module /home/vista/r/ZISTCP.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
Loaded, Saved as %ZISTCP
Routine: ZISUTL Loaded, Saved as %ZISUTL
Routine: ZTPP Loaded, Saved as %ZTPP
Routine: ZTP1 Loaded, Saved as %ZTP1
Routine: ZTPTCH Loaded, Saved as %ZTPTCH
Routine: ZTRDEL Loaded, Saved as %ZTRDEL
Routine: ZTMOVE Loaded, Saved as %ZTMOVE
Want to rename the FileMan routines: No//YES
Routine: DIDT Loaded, Saved as %DT
Routine: DIDTC Loaded, Saved as %DTC
Routine: DIRCR Loaded, Saved as %RCR
Setting ^%ZIS('C')

Now, I will check your % globals...........
ALL DONE


## Initialize Fileman

GTM>D ^DINIT

VA FileMan V.22.0

Initialize VA FileMan now? NO//YES

SITE NAME: TECHNICAL INTEGRATION SERVICE// BRADYMD VISTA

## Write down the below SITE NUMBER that you enter. You
## will need this number later on when you type in an
## Institution and Medical Center name.

SITE NUMBER: 50// 4321..........................

Now loading MUMPS Operating System File....

Now loading DIALOG and LANGUAGE Files...........................................
...............

TYPE OF MUMPS SYSTEM YOU ARE USING: CACHE/OpenM// GT.M
1 GT.M(UNIX)
2 GT.M(VAX)
CHOOSE 1-2: 1 GT.M(UNIX)

Now loading other FileMan files--please wait....................................
................................................................................
................................................................................
................
..........

The following files have been installed:
.11 INDEX
.2 DESTINATION
.31 KEY
.4 PRINT TEMPLATE
.401 SORT TEMPLATE
.402 INPUT TEMPLATE
.403 FORM
.404 BLOCK
.44 FOREIGN FORMAT
.46 IMPORT TEMPLATE
.5 FUNCTION
.6 DD AUDIT
.7 MUMPS OPERATING SYSTEM
.81 DATA TYPE
.83 COMPILED ROUTINE
.84 DIALOG
.85 LANGUAGE
1 FILE
1.1 AUDIT
1.11 ARCHIVAL ACTIVITY
1.12 FILEGRAM HISTORY
1.13 FILEGRAM ERROR LOG
1.2 ALTERNATE EDITOR
1.521 SQLI_SCHEMA
1.52101 SQLI_KEY_WORD
1.5211 SQLI_DATA_TYPE
1.5212 SQLI_DOMAIN
1.5213 SQLI_KEY_FORMAT
1.5214 SQLI_OUTPUT_FORMAT
1.5215 SQLI_TABLE
1.5216 SQLI_TABLE_ELEMENT
1.5217 SQLI_COLUMN
1.5218 SQLI_PRIMARY_KEY
1.5219 SQLI_FOREIGN_KEY
1.52191 SQLI_ERROR_TEXT
1.52192 SQLI_ERROR_LOG

Re-indexing entries in the DIALOG file.....................

Compiling all forms ...

DICATT (#.001)
DIPTED (#.1001)
DIKC EDIT (#.1101)
DIKC EDIT UI (#.1102)
DIKK EDIT (#.3101)
DIBTED (#.40001)
DIETED (#.40101)
DIEDIT (#.40201)
DDGF BLOCK EDIT (#.40301)
DDGF PAGE ADD (#.40302)
DDGF PAGE EDIT (#.40303)
DDGF PAGE SELECT (#.40304)
DDGF FORM EDIT (#.40305)
DDGF HEADER BLOCK EDIT (#.40306)
DDGF FIELD ADD (#.40401)
DDGF FIELD CAPTION ONLY (#.40402)
DDGF FIELD DD (#.40403)
DDGF FIELD FORM ONLY (#.40404)
DDGF FIELD COMPUTED (#.40405)
DDGF BLOCK ADD (#.40406)
DDGF BLOCK DELETE (#.40407)
DDGF HEADER BLOCK SELECT (#.40408)
DDXP FF FORM1 (#.441)
DDMP SPECIFY IMPORT (#.461)
XPD EDIT BUILD (#1)
XUEDIT CHARACTERISTICS (#2)
XUEXISTING USER (#3)
XUDEVICE MT (#4)
XUDEVICE SDP (#5)
XUDEVICE SPL (#6)
XUDEVICE HFS (#7)
XUDEVICE CHAN (#8)
XU OPTION SCHEDULE (#9)
XUSERDEACT (#10)
XUTM UCI ASSOC (#11)
XUSITEPARM (#12)
XUAUDIT (#13)
XUREACT USER (#14)
PRSA TD EDIT (#15)
PRSA OT REQ (#16)
PRSA TD DISP (#17)
PRSA TL EDIT (#18)
PRSA TL DISP (#19)
PRSA LV REQ (#20)
PRSA ED REQ (#21)
PRSA VC POST (#22)
PRSA PM POST (#23)
PRSA TD TL (#24)
PRSA TP POST1 (#25)
PRSA TE EDIT (#26)
PRSA FEE POST (#27)
NURA-I-SERVICE (#28)
XU-PERSON CLASS (#29)
XUNEW USER (#30)
SPNLPFM1 (#31)
SPNFFRM1 (#32)
SPNFFRM2 (#33)
SPNLPFM2 (#34)
XPD EDIT MP (#35)
XPD EDIT GP (#36)
PRCHQ1 (#37)
PRCHQ2 (#38)
PRCHQ3 (#39)
PRCHQ4 (#40)
PRCHQ5 (#41)
SPNLP FUN MES (#42)
SPNLP FIM FM1 (#43)
SPNLP CHART FM1 (#44)
SPNLP MS FM1 (#45)
SPNE ENTER/EDIT SYNONYM (#46)
LREPI (#47)
ENPR MS (#48)
ENPR ALL (#49)
ENPR PRELIM (#50)
ENPR AE (#51)
ENPR CO (#52)
ENPR CHG (#53)
ABSV ADD/EDIT MASTER (#54)
XQEDTOPT (#55)
XU-INST-EDIT (#56)
LREPIPROT (#57)
XUTMKE ADD (#58)
WV PROC-FORM-1 (#59)
WV NOTIF-FORM-1 (#60)
WV PATIENT-FORM-1 (#61)
WV NOTIF-FORM-2 (#62)
WV PROC-FORM-2-COLP (#63)
WV NOTIFPURPOSE-FORM-1 (#64)
WV SITE PARAMS-FORM-1 (#65)
WV REFUSED PROCEDURE-ENTRY (#66)
WV PROC-FORM-LAB (#67)
XDR RESFILE FORM (#68)
HL SITE PARAMETERS (#69)
PSB PRN EFFECTIVENESS (#70)
PSB MED LOG EDIT (#71)
PSBO DL (#72)
PSBO WA (#73)
PSBO ML (#74)
PSBO MM (#75)
PSBO PE (#76)
PSB MISSING DOSE REQUEST (#77)
PSBO MH (#78)
PSBO MV (#79)
PSB MISSING DOSE FOLLOWUP (#80)
PSBO BL (#81)
PSBO MD (#82)
PSB NEW UD ENTRY (#83)
PSB NEW IV ENTRY (#84)
HL7 APP (#85)
HL7 LOGICAL LINK (#86)
HL7 INTERFACE (#87)
SPNLP ASIA MES (#88)
PSB MED LOG EDIT IV (#89)
SPNLP FAM FM1 (#90)
SPNLP DIENER FM1 (#91)
SPNLP DUSOI FM1 (#92)
XU-CLINICAL TRAINEE (#93)
XUSSPKI (#94)
INSTITUTION EDIT (#95)
PRSA LD POST (#96)
XUDEVICE LPD (#97)
XUDEVICE TRM (#98)
KMPD PARAMETERS EDIT (#99)
LREPI9 (#100)
BPS EOB TO BATCH (#101)
BPS BPSOSPW (#102)
BPS INPUT 1 (#103)
PXRM DIALOG EDIT (#104)

INITIALIZATION COMPLETED IN 20 SECONDS.


## Begin to set up your DOMAIN

GTM>S DUZ=1

GTM>D Q^DI

VA FileMan 22.0

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: RACE// DOMAIN (17 entries)
EDIT WHICH FIELD: ALL//

Select DOMAIN NAME: VISTA.BRADYMD.COM
Are you adding 'VISTA.BRADYMD.COM' as a new DOMAIN (the 18TH)? No// YES
(Yes)
FLAGS: ^

Select DOMAIN NAME:

Select OPTION:

GTM>D CHRISTEN^XMUDCHR

* * * * WARNING * * * *

You are about to change the domain name of this facility
in the MailMan Site Parameters file.

Currently, this facility is named: VISTA.PLATINUM.MED.VA.GOV

You must be extremely sure before you proceed!

Are you sure you want to change the name of this facility? NO// YES
Select DOMAIN NAME: VISTA.PLATINUM.MED.VA.GOV// VISTA.BRADYMD.COM

The domain name for this facility is now: VISTA.BRADYMD.COM
PARENT: FORUM.VA.GOV//
TIME ZONE: MDT// PST PACIFIC STANDARD

FORUM.VA.GOV has been initialized as your 'parent' domain.
(Forum is usually the parent domain, unless this is a subordinate domain.)

You may edit the MailMan Site Parameter file to change your parent domain.

We will not initialize your transmission scripts.

Use the 'Subroutine editor' option under network management menu to add your
site passwords to the MINIENGINE script, and the 'Edit a script' option
to edit any domain scripts that you choose to.


## Determine the entry number of our DOMAIN. This number
## is in blue and will be used in the next section.

GTM>D Q^DI

VA FileMan 22.0

Select OPTION: 5 INQUIRE TO FILE ENTRIES

OUTPUT FROM WHAT FILE: DOMAIN//
Select DOMAIN NAME: VISTA.BRADYMD.COM
ANOTHER ONE:
STANDARD CAPTIONED OUTPUT? Yes// (Yes)
Include COMPUTED fields: (N/Y/R/B): NO// BOTH Computed Fields and Record Number
(IEN) . S (%,%1)=$ZGETDVI($I,"TT_ACCPORNAM")
^-----
At column 14, line 44, source module /home/vista/r/_ZIS4.m
%GTM-E-FNOTONSYS, Function or special variable is not supported by this operating system

NUMBER: 19 NAME: VISTA.BRADYMD.COM
LEVEL 1 NAME (c): COM LEVEL 2 NAME (c): BRADYMD.COM
LEVEL 3 NAME (c): VISTA.BRADYMD.COM LEVEL 4 NAME (c): VISTA.BRADYMD.COM

Select DOMAIN NAME:

Select OPTION:


## Re-direct some important system parameters to the
## DOMAIN entry number, which was determined above.
## The numbers in blue you type below should match the
## blue number above.

GTM>S $P(^XTV(8989.3,1,0),"^")=19

GTM>S $P(^XWB(8994.1,1,0),"^")=19


## Re-index a couple parameter files with the DOMAIN

GTM>D Q^DI

VA FileMan 22.0

Select OPTION: UTILITY FUNCTIONS
Select UTILITY OPTION: RE-INDEX FILE

MODIFY WHAT FILE: DOMAIN// KERNEL SYSTEM PARAMETERS (1 entry)

THERE ARE 13 INDICES WITHIN THIS FILE
DO YOU WISH TO RE-CROSS-REFERENCE ONE PARTICULAR INDEX? No// (No)
OK, ARE YOU SURE YOU WANT TO KILL OFF THE EXISTING 13 INDICES? No// YES (Yes)
DO YOU THEN WANT TO 'RE-CROSS-REFERENCE'? Yes// (Yes)
...EXCUSE ME, THIS MAY TAKE A FEW MOMENTS...
FILE WILL NOW BE 'RE-CROSS-REFERENCED'................

Select UTILITY OPTION: RE-INDEX FILE

MODIFY WHAT FILE: KERNEL SYSTEM PARAMETERS// RPC BROKER SITE PARAMETERS
(1 entry)

THERE ARE 5 INDICES WITHIN THIS FILE
DO YOU WISH TO RE-CROSS-REFERENCE ONE PARTICULAR INDEX? No// (No)
OK, ARE YOU SURE YOU WANT TO KILL OFF THE EXISTING 5 INDICES? No// YES (Yes)
DO YOU THEN WANT TO 'RE-CROSS-REFERENCE'? Yes// (Yes)
...SORRY, LET ME THINK ABOUT THAT A MOMENT...
FILE WILL NOW BE 'RE-CROSS-REFERENCED'......

Select UTILITY OPTION:

Select OPTION:


## We need to collect some information about the system.
## The command below will give us the UCI, VOLUME SET,
## NODE, BOX, and VOLUME. Please note the possible
## confusion between the similarly named VOLUME SET
## and VOLUME variable. The command below will return
## these values in the following format:
## UCI^VOLUMESET^NODE^BOX:VOLUME.
## The blue output below can be broken down then into
## UCI=VAH, VOLUME SET=ROU, NODE=localhost,
## BOX=ROU, VOLUME=localhost. You will likely have the
## same variables as me. However if you don't, then write
## yours down and ensure to substitute appropriately at the
## blue input values throughout the rest of this configuration.


GTM>D GETENV^%ZOSV W Y

VAH^ROU^localhost^ROU:localhost


## Enter a new VOLUME SET

GTM>D Q^DI

VA FileMan 22.0

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: VOLUME SET// VOLUME SET (1 entry)
EDIT WHICH FIELD: ALL//

Select VOLUME SET: ??
VISTA

You may enter a new VOLUME SET, if you wish
Answer should be the name of a volume set.
When each cpu can have only one volume set, this is also the cpu name.
Answer will be used in extended global references to reach this volume.

Select VOLUME SET: ROU
Are you adding 'ROU' as a new VOLUME SET (the 2ND)? No// YES (Yes)
TYPE: GENERAL PURPOSE VOLUME SET GENERAL PURPOSE VOLUME SET
INHIBIT LOGONS?: NO NO
LINK ACCESS?: YES YES
OUT OF SERVICE?: NO NO
REQUIRED VOLUME SET?: NO NO
TASKMAN FILES UCI: VAH
TASKMAN FILES VOLUME SET: ROU
REPLACEMENT VOLUME SET:
DAYS TO KEEP OLD TASKS: 4
SIGNON/PRODUCTION VOLUME SET: YES Yes

Select VOLUME SET:


## Set the BOX:VOLUME pair

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: VOLUME SET// TASKMAN SITE PARAMETERS
(1 entry)
EDIT WHICH FIELD: ALL//

Select TASKMAN SITE PARAMETERS BOX-VOLUME PAIR: ?
Answer with TASKMAN SITE PARAMETERS BOX-VOLUME PAIR:
VISTA:PLATINUM

You may enter a new TASKMAN SITE PARAMETERS, if you wish
Answer must be 3-30 characters in length.

The value for the current account is ROU:localhost

## Type the above 'value for the current account'(in blue) below
## We will also use this entry in the next section

Select TASKMAN SITE PARAMETERS BOX-VOLUME PAIR: ROU:localhost
Are you adding 'ROU:localhost' as
a new TASKMAN SITE PARAMETERS (the 2ND)? No// YES (Yes)
RESERVED:
LOG TASKS?: NO NO
DEFAULT TASK PRIORITY:
TASK PARTITION SIZE:
SUBMANAGER RETENTION TIME: 10
TASKMAN JOB LIMIT: 990
TASKMAN HANG BETWEEN NEW JOBS: 0
MODE OF TASKMAN: GENERAL PROCESSOR GENERAL PROCESSOR
VAX DSM ENVIROMENT FOR DCL:
OUT OF SERVICE: NO NO
MIN SUBMANAGER CNT:
TM MASTER:
Balance Interval:
LOAD BALANCE ROUTINE:
Auto Delete Tasks: NO No
Manager Startup Delay: 1

Select TASKMAN SITE PARAMETERS BOX-VOLUME PAIR:


## Update the RPC BROKER SITE PARAMETERS file

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: TASKMAN SITE PARAMETERS// RPC BROKER SITE PARAMETERS
(1 entry)
EDIT WHICH FIELD: ALL//

Select RPC BROKER SITE PARAMETERS DOMAIN NAME: VISTA.BRADYMD.COM
...OK? Yes// (Yes)

DOMAIN NAME: VISTA.BRADYMD.COM//
MAIL GROUP FOR ALERTS:

## Type the above 'value for the current account'(in blue) below

Select BOX-VOLUME PAIR: VISTA:PLATINUM// ROU:localhost
Are you adding 'ROU:localhost' as a new LISTENER (the 2ND for this RPC BROKER
SITE PARAMETERS)? No// YES (Yes)
Select PORT: 9200
Are you adding '9200' as a new PORT (the 1ST for this LISTENER)? No// YES
(Yes)
TYPE OF LISTENER: Original Original
STATUS: STOPPED//
CONTROLLED BY LISTENER STARTER: NO NO

Select RPC BROKER SITE PARAMETERS DOMAIN NAME:


## Set up a System Administrator Account

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: RPC BROKER SITE PARAMETERS// NEW PERSON
(12 entries)
EDIT WHICH FIELD: ALL// .01 NAME
THEN EDIT FIELD: ACCESS CODE Want to edit ACCESS CODE (Y/N)
THEN EDIT FIELD: VERIFY CODE
1 VERIFY CODE Want to edit VERIFY CODE (Y/N)
2 VERIFY CODE never expires
CHOOSE 1-2: 1 Want to edit VERIFY CODE (Y/N)
THEN EDIT FIELD:

Select NEW PERSON NAME: ADMINISTRATOR, SYSTEM
Are you adding 'ADMINISTRATOR,SYSTEM' as a new NEW PERSON (the 13TH)? No// YE
S (Yes)
Checking SOUNDEX for matches.
No matches found.
NEW PERSON INITIAL: SA
NEW PERSON MAIL CODE:
Want to edit ACCESS CODE (Y/N): Y
Enter a new ACCESS CODE <Hidden>: *********
Please re-type the new code to show that I have it right: *********
OK, Access code has been changed!
The VERIFY CODE has been deleted as a security measure.
The user will have to enter a new one the next time they sign-on.

Want to edit VERIFY CODE (Y/N): Y

Enter a new VERIFY CODE: ********

Please re-type the new code to show that I have it right: ********

OK, Verify code has been changed!

Select NEW PERSON NAME:

## Get the System Administrator account number, which will
## be needed below.

Select OPTION: 5 INQUIRE TO FILE ENTRIES

OUTPUT FROM WHAT FILE: NEW PERSON// NEW PERSON
Select NEW PERSON NAME: ADMINISTRATOR,SYSTEM SA
ANOTHER ONE:
STANDARD CAPTIONED OUTPUT? Yes// (Yes)
Include COMPUTED fields: (N/Y/R/B): NO// BOTH Computed Fields and Record Number
(IEN)

NUMBER: 11 NAME: ADMINISTRATOR,SYSTEM
INITIAL: SA ACCESS CODE: <Hidden>
DATE VERIFY CODE LAST CHANGED: MAR 15,2006
VERIFY CODE: <Hidden> DATE ENTERED: MAR 15, 2006
CREATOR: SCHLEHUBER,CAMERON Entry Last Edit Date: MAR 15, 2006
NAME COMPONENTS: 200
SIGNATURE BLOCK PRINTED NAME: SYSTEM ADMINISTRATOR
DATE ACCESS CODE LAST CHANGED (c): MAR 15,2006
PROVIDER KEY (c): 0

Select NEW PERSON NAME:

Select OPTION:

## Set the DUZ equal to the above account number.

GTM>SET DUZ=11

GTM>S $P(^VA(200,DUZ,0),"^",4)="@"


## Assign keys to the System Administrator

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Select TERMINAL TYPE NAME: C-VT100
1 C-VT100 Digital Equipment Corporation VT-100 video
2 C-VT100HIGH Normal display of characters in BOLD !
CHOOSE 1-2: 1 C-VT100 Digital Equipment Corporation VT-100 video
Terminal Type set to: C-VT100

Select OPTION NAME: XUMAINT Menu Management

Select Menu Management Option: KEY Management

Select Key Management Option: ALLOCATION of Security Keys

Allocate key: XUMGR

Another key: XMMGR

Another key: XUPROGMODE

Another key: XUPROG
1 XUPROG
2 XUPROGMODE
CHOOSE 1-2: 1 XUPROG

Another key:

Holder of key: ADMINISTRATOR,SYSTEM SA

Another holder:

You've selected the following keys:

XUPROG XUMGR XUPROGMODE XMMGR

You've selected the following holders:

ADMINISTRATOR,SYSTEM

You are allocating keys. Do you wish to proceed? YES//

XUPROG being assigned to:
ADMINISTRATOR,SYSTEM

XUMGR being assigned to:
ADMINISTRATOR,SYSTEM

XUPROGMODE being assigned to:
ADMINISTRATOR,SYSTEM

XMMGR being assigned to:
ADMINISTRATOR,SYSTEM

Select Key Management Option:

Select Menu Management Option:

Do you really want to halt? YES//

Halting at 7:36 pm


## Add an institution and medical center division.

GTM>SET XUMF=1

GTM>D Q^DI

VA FileMan 22.0

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: 4 INSTITUTION (66 entries)
EDIT WHICH FIELD: ALL// STATION NUMBER
THEN EDIT FIELD:

Select INSTITUTION NAME: BRADYMD MEDICAL CENTER
Are you adding 'BRADYMD MEDICAL CENTER' as
a new INSTITUTION (the 67TH)? No// YES (Yes)

## The STATION NUMBER should be the same number that
## you typed in the 'Initialize Fileman' section (it was labeled
## the SITE NUMBER there). Hopefully you wrote this down
## as previously instructed, or I suppose you could just
## scroll up to find it...

STATION NUMBER: 4321

Select INSTITUTION NAME:

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: INSTITUTION// 40.8 MEDICAL CENTER DIVISION
(1 entry)
EDIT WHICH FIELD: ALL// FACILITY NUMBER
THEN EDIT FIELD: INSTITUTION FILE POINTER
THEN EDIT FIELD:

Select MEDICAL CENTER DIVISION NAME: BRADYMD MEDICAL CENTER
Are you adding 'BRADYMD MEDICAL CENTER' as
a new MEDICAL CENTER DIVISION (the 2ND)? No// YES (Yes)
MEDICAL CENTER DIVISION NUM: 2//

## Again, use the same above number with an 'A' after it.

MEDICAL CENTER DIVISION FACILITY NUMBER: 4321A
FACILITY NUMBER: 4321A//
INSTITUTION FILE POINTER: BRADYMD MEDICAL CENTER 4321

Select MEDICAL CENTER DIVISION NAME:

Select OPTION:


## Set up System Administrator access codes and menus.

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Terminal Type set to: C-VT100

Select OPTION NAME: XUSEREDIT
1 XUSEREDIT Edit an Existing User
2 XUSEREDITSELF Edit User Characteristics
CHOOSE 1-2: 1 XUSEREDIT Edit an Existing User
Edit an Existing User
Select NEW PERSON NAME: ADMINISTRATOR,SYSTEM SA

NAME: ADMINISTRATOR,SYSTEM Page 1 of 5
_______________________________________________________________________________
NAME... ADMINISTRATOR,SYSTEM INITIAL: SA
TITLE: NICK NAME: admin
SSN: DOB:
DEGREE: MAIL CODE:
DISUSER: TERMINATION DATE:
Termination Reason:

PRIMARY MENU OPTION: EVE
Select SECONDARY MENU OPTIONS: OR CPRS GUI CHART
Want to edit ACCESS CODE (Y/N): FILE MANAGER ACCESS CODE: @
Want to edit VERIFY CODE (Y/N):

Select DIVISION: BRADYMD MEDICAL CENTER
SERVICE/SECTION: IRM
_______________________________________________________________________________
Exit Save Next Page Refresh

Enter a command or '^' followed by a caption to jump to a specific field.

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Terminal Type set to: C-VT100

Select OPTION NAME: XUMAINT Menu Management

Select Menu Management Option: EDIT OPTIONS

Select OPTION to edit: EVE
1 EVE Systems Manager Menu
2 EVENT CAPTURE (ECS) EXTRACT AU ECX ECS SOURCE AUDIT Event Capture
(ECS) Extract Audit
3 EVENT CAPTURE DATA ENTRY ECENTER Event Capture Data Entry
4 EVENT CAPTURE EXTRACT ECXEC Event Capture Extract
5 EVENT CAPTURE MANAGEMENT MENU ECMGR Event Capture Management Menu
Press <RETURN> to see more, '^' to exit this list, OR
CHOOSE 1-5: 1 EVE Systems Manager Menu
NAME: EVE// ^10 MENU
Select ITEM: HL MAIN MENU// DIUSER VA FileMan
Are you adding 'DIUSER' as a new MENU (the 13TH for this OPTION)? No// YES
(Yes)
MENU SYNONYM:
SYNONYM:
DISPLAY ORDER:
Select ITEM: XMMGR
1 XMMGR Manage Mailman
2 XMMGR-BACKGROUND-FILER Background Filer (XMAD)
3 XMMGR-BKFILER-ACT Active Users/Deliveries Report
4 XMMGR-BKFILER-EDIT-NORMALIZED Edit numbers to Normalize Reports
5 XMMGR-BKFILER-GROUP Deliveries by Group
Press <RETURN> to see more, '^' to exit this list, OR
CHOOSE 1-5: 1 XMMGR Manage Mailman
Are you adding 'XMMGR' as a new MENU (the 14TH for this OPTION)? No// YES
(Yes)
MENU SYNONYM:
SYNONYM:
DISPLAY ORDER:
Select ITEM:
CREATOR: SCHLEHUBER,CAMERON// ADMINISTRATOR,SYSTEM SA
HELP FRAME:
PRIORITY:
Select TIMES PROHIBITED:
Select TIME PERIOD:
RESTRICT DEVICES?:
Select PERMITTED DEVICE:

Select OPTION to edit: XUCOMMAND SYSTEM COMMAND OPTIONS
NAME: XUCOMMAND// ^10 MENU
Select ITEM: XQALERT// XMUSER MailMan Menu
Are you adding 'XMUSER' as a new MENU (the 8TH for this OPTION)? No// YES
(Yes)
MENU SYNONYM:
SYNONYM:
DISPLAY ORDER:
Select ITEM:
CREATOR: SCHLEHUBER,CAMERON// ^

Select OPTION to edit:

Select Menu Management Option:

Do you really want to halt? YES//

Halting at 7:59 pm


## Change the default time before users are kicked off. This
## is done so you don't keep getting kicked off while
## learning the system.

GTM>D ^ZU

Volume set: ROU:localhost UCI: VAH Device: /dev/pts/1

ACCESS CODE: *********
VERIFY CODE: ********

Good evening admin
You last signed on today at 19:54

WARNING -- TASK MANAGER DOESN'T SEEM TO BE RUNNING!!!!

Select Systems Manager Menu Option: OPERations Management

Select Operations Management Option: KERnel Management Menu

Select Kernel Management Menu Option: ENTer/Edit Kernel Site Parameters

Note: the TaskMan site parameters have been moved out of this file.
Use the Edit TaskMan Parameters option to edit those values.
Kernel Site Parameter edit
DOMAIN:VISTA.BRADYMD.COM

DEFAULT # OF ATTEMPTS: 5 AGENCY CODE: VA
DEFAULT LOCK-OUT TIME: 600
DEFAULT MULTIPLE SIGN-ON: YES MULTIPLE SIGN-ON LIMIT:
DEFAULT AUTO-MENU: NO DEFAULT AUTO SIGN-ON: Disabled
DEFAULT LANGUAGE:
DEFAULT TYPE-AHEAD: YES
DEFAULT TIMED-READ (SECONDS): 3600 BROKER TIMEOUT: 180

BYPASS DEVICE LOCK-OUT: ASK DEVICE TYPE AT SIGN-ON:
LIFETIME OF VERIFY CODE: 90
DEFAULT INSTITUTION: SOFTWARE SERVICE
AUTO-GENERATE ACCESS CODES:
LOG RESOURCE USAGE?:

_______________________________________________________________________________
Exit Save Next Page Refresh

Select Kernel Management Menu Option:

Select Operations Management Option:

Select Systems Manager Menu Option:

Do you really want to halt? YES//

Halting at 8:06 pm


## Update the devices

bash-3.00$ GTM

GTM>D Q^DI

VA FileMan 22.0

Your Identity(DUZ) is 0(zero).
Please identify yourself.

Access Code:********

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: MEDICAL CENTER DIVISION// 3.5 DEVICE
(44 entries)
EDIT WHICH FIELD: ALL//

Select DEVICE NAME: CONSOLE
1 CONSOLE CONSOLE |TNT|
2 CONSOLE GTM-UNIX-CONSOLE Console (GT.M) /dev/tty
CHOOSE 1-2: 2 GTM-UNIX-CONSOLE Console (GT.M) /dev/tty
NAME: GTM-UNIX-CONSOLE//
LOCATION OF TERMINAL: Console (GT.M)//
Select MNEMONIC: CONSOLE//
LOCAL SYNONYM:
$I: /dev/tty//
VOLUME SET(CPU):
SIGN-ON/SYSTEM DEVICE: YES YES
TYPE: VIRTUAL TERMINAL//
SUBTYPE: C-VT100//
ASK DEVICE: YES//
ASK PARAMETERS:
ASK HOST FILE:
ASK HFS I/O OPERATION: ^

Select DEVICE NAME: TELNET
1 TELNET TELNET TNA VISTA
2 TELNET GTM-UNIX-TELNET TELNET /dev/pts/
CHOOSE 1-2: 2 GTM-UNIX-TELNET TELNET /dev/pts/
NAME: GTM-UNIX-TELNET//
LOCATION OF TERMINAL: TELNET//
Select MNEMONIC: TELNET//
LOCAL SYNONYM:
$I: /dev/pts///
VOLUME SET(CPU):
SIGN-ON/SYSTEM DEVICE: YES//
TYPE: VIRTUAL TERMINAL//
SUBTYPE: C-VT320// C-VT100
1 C-VT100 Digital Equipment Corporation VT-100 video
2 C-VT100HIGH Normal display of characters in BOLD !
CHOOSE 1-2: 1 C-VT100 Digital Equipment Corporation VT-100 video
ASK DEVICE: YES//
ASK PARAMETERS: ^

Select DEVICE NAME: HFS Host File Server USER$:[TEMP]TMP.DAT
NAME: HFS//
LOCATION OF TERMINAL: Host File Server//
Select MNEMONIC:
LOCAL SYNONYM:
$I: USER$:[TEMP]TMP.DAT//
VOLUME SET(CPU):
SIGN-ON/SYSTEM DEVICE: ^

Select DEVICE NAME: NULL
1 NULL NT SYSTEM NLA0:
2 NULL GTM-UNIX-NULL Bit Bucket (GT.M-Unix) /dev/null NULL
3 NULL-DSM Bit Bucket _NLA0:
CHOOSE 1-3: 2 GTM-UNIX-NULL Bit Bucket (GT.M-Unix) /dev/null NULL
NAME: GTM-UNIX-NULL//
LOCATION OF TERMINAL: Bit Bucket (GT.M-Unix) Replace
Select MNEMONIC: NULL//
LOCAL SYNONYM:
$I: /dev/null//
VOLUME SET(CPU):
SIGN-ON/SYSTEM DEVICE: NO//
TYPE: TERMINAL//^

Select DEVICE NAME:

Select OPTION:


## Check the Task Manager's Environment

GTM>D ^ZTMCHK

Checking Task Manager's Environment.

Checking Taskman's globals...
^%ZTSCH is defined!
^%ZTSK is defined!
^%ZTSK(-1) is defined!
^%ZIS(14.5,0) is defined!
^%ZIS(14.6,0) is defined!
^%ZIS(14.7,0) is defined!

Checking the ^%ZOSF nodes required by Taskman...
All ^%ZOSF nodes required by Taskman are defined!

Checking the links to the required volume sets...
There are no volume sets whose links are required!

Checks completed...Taskman's environment is okay!

Press RETURN to continue or '^' to exit:

Here is the information that Taskman has:
Operating System: GT.M (Unix)
Volume Set: ROU
Cpu-volume Pair: ROU:localhost
TaskMan Files UCI and Volume Set: VAH,ROU

Log Tasks? N
Default Task Priority:
Submanager Retention Time: 10
Min Submanager Count:
Taskman Hang Between New Jobs: 0
TaskMan running as a type: GENERAL

Logons Inhibited?: N
Taskman Job Limit: 990
Max sign-ons:
Current number of active jobs:

End of listing. Press RETURN to continue:


## Start the Task Manager. It seems to work well despite all the
## errors. These errors are only seen the first time the task
## manager is started. Errors are likely benign, will continue
## to research though.

GTM>D ^ZTMB

I ZTOS["M/SQL-PDP" J START^%ZTM0:ZTUCI Q
^-----
At column 35, line 12, source module /home/vista/r/ZTMB.m
%GTM-E-JOBPARUNK, Job parameter unknown
I ZTOS'["VAX DSM" J START^%ZTM0[ZTUCI] Q
^-----
At column 33, line 15, source module /home/vista/r/ZTMB.m
%GTM-E-SPOREOL, Either a space or an end-of-line was expected but not found
DTM I ZTMB="START" D NULLDEV F DEV=10:1:19 O DEV:("W":NULLDEV):0 C DEV
^-----
At column 51, line 29, source module /home/vista/r/ZTMB.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
I ZTOS["VAX DSM" I $ZC(%GETJPI,$J,"CURPRIV")["SHARE" D Q
^-----
At column 22, line 39, source module /home/vista/r/ZTMB.m
%GTM-E-FNOTONSYS, Function or special variable is not supported by this operating system
I ZTOS["M/SQL-PDP" J RESTART^%ZTM0:ZTUCI D DONE Q
^-----
At column 37, line 48, source module /home/vista/r/ZTMB.m
%GTM-E-JOBPARUNK, Job parameter unknown
I ZTOS'["VAX DSM" J RESTART^%ZTM0[ZTUCI] D DONE Q
^-----
At column 35, line 51, source module /home/vista/r/ZTMB.m
%GTM-E-SPOREOL, Either a space or an end-of-line was expected but not found


## Use the Task Manager Monitor

GTM>D ^ZTMON

Checking Taskman. Current $H=60339,74736 (Mar 15, 2006@20:45:36)
RUN NODE=60339,74734 (Mar 15, 2006@20:45:34)
Taskman is current..
Checking the Status List:
Node weight status time $J
ROU:localhost RUN T@20:45:34 6020 Main Loop

Checking the Schedule List:
Taskman has no tasks scheduled.

Checking the IO Lists:
There are no tasks waiting for devices.

Checking the Job List:
There are no tasks waiting for partitions.

Checking the Task List:
There are no tasks currently running.
On node ROU:localhost there is 1 free Sub-Manager(s). Status: Run

Enter monitor action: UPDATE//^


## Start RPC Broker (client/server software)

GTM>D STRT^XWBTCP(9200)
Start TCP Listener...
I XWBOS="DSM" O XWBTSKT:TCPCHAN:5 S %T=$T ;Open listener
^-----
At column 26, line 43, source module /home/vista/r/XWBTCPL.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
I XWBOS="OpenM" S XWBTDEV="|TCP|"_XWBTSKT O XWBTDEV:(:XWBTSKT:"A":$C(4):512:512:10):5 S %T=$T ;(*p35)
^-----
At column 55, line 45, source module /home/vista/r/XWBTCPL.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
. I XWBOS="MSM" S XWBTDEV=56 O 56 U 56::"TCP" W /SOCKET("",XWBTSKT)
^-----
At column 41, line 63, source module /home/vista/r/XWBTCPL.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
. U XWBTSKT:DISCONNECT ; release this socket
^-----
At column 14, line 159, source module /home/vista/r/XWBTCPL.m
%GTM-E-DEVPARUNK, Deviceparameter unknown
Checking if TCP Listener has started...
TCP Listener started successfully.


## Give the System Administrator some Keys to enable CPRS

GTM>D Q^DI

VA FileMan 22.0

Your Identity(DUZ) is 0(zero).
Please identify yourself.

Access Code:******

Select OPTION: 1 ENTER OR EDIT FILE ENTRIES

INPUT TO WHAT FILE: DEVICE// NEW PERSON (13 entries)
EDIT WHICH FIELD: ALL// KEYS
1 KEYS (multiple)
2 KEYSTROKES FROM LM WP
CHOOSE 1-2: 1 KEYS (multiple)
EDIT WHICH KEYS SUB-FIELD: ALL//
THEN EDIT FIELD: CPRS TAB (multiple)
EDIT WHICH CPRS TAB SUB-FIELD: ALL//
THEN EDIT FIELD: RESTRICT PATIENT SELECTION
THEN EDIT FIELD:

Select NEW PERSON NAME: SA ADMINISTRATOR,SYSTEM SA
Select KEY: XMMGR// ORES
REVIEW DATE:
Select KEY: PROVIDER
1 PROVIDER
2 PROVIDER ID EDIT IB PROVIDER EDIT
CHOOSE 1-2: 1 PROVIDER
REVIEW DATE:
Select KEY:
Select CPRS TAB: RPT Reports tab.
Are you adding 'RPT' as a new CPRS TAB (the 1ST for this NEW PERSON)? No// YE
S (Yes)
EFFECTIVE DATE: APRIL 1,2005 (APR 01, 2005)
EXPIRATION DATE: APRIL 1,2020 (APR 01, 2020)
Select CPRS TAB: COR CPRS GUI "core" tabs.
Are you adding 'COR' as a new CPRS TAB (the 2ND for this NEW PERSON)? No// YE
S (Yes)
EFFECTIVE DATE: APRIL 1,2005 (APR 01, 2005)
EXPIRATION DATE: APRIL 1,2020 (APR 01, 2020)
Select CPRS TAB:
RESTRICT PATIENT SELECTION: NO NO

Select NEW PERSON NAME:

Select OPTION:

##Need to exit and continue to follow below instructions

GTM>HALT



Registering a New Patient
Quick Index Link.
      1. This is not as straightforward as I'd like it to be. The original 'register/edit patient' function included in Vista does not work very well out of the box. It attempts to communicate with the VA 'Master Patient Index' in Austin. TX and basically 'freezes'. Luckily, there is another option for editing and registering new patients, and that is to install a working 'register/edit patient' function. This function was written by Kevin Toppenberg. The below instructions will show how to install edit/add patient function, configure the function, and then to register a new patient.


Install the new 'edit/add patient' function

Quick Index Link.
        1. Download the TMGMISC.m file. File can be found at: http://www.bradymd.com/TMGMISC.m (to download file, you may need to Right-Click the link and select 'Save Link As...')

        1. Install the new 'edit/add patient' function file:
            1. Enter below bolded instructions on command line as vista user:

#copy the file to your /home/vista/r directory
cp /location/to/file/TMGMISC.m /home/vista/r

#Set the owner and permissions
chown vista:vista /home/vista/r/TMGMISC.m
chmod 644 /home/vista/r/TMGMISC.m


Configure the new 'edit/add patient' function

Quick Index Link.
          1. Enter below bolded instructions on command line as vista user:

#start vista
gtm

LEGEND:
INPUT – This color is for user input.
SPECIAL – This color will be explained by my comments.
COMMENTS – This color will contain comments.
Default to the 'ENTER' key if no specific instructions


## Create a new PATIENT ADD/EDIT Menu item, which will
## run the new function.

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Access Code:******

Terminal Type set to: C-VT100

Select OPTION NAME: EVE
1 EVE Systems Manager Menu
2 EVENT CAPTURE (ECS) EXTRACT AU ECX ECS SOURCE AUDIT Event Capture
(ECS) Extract Audit
3 EVENT CAPTURE DATA ENTRY ECENTER Event Capture Data Entry
4 EVENT CAPTURE EXTRACT ECXEC Event Capture Extract
5 EVENT CAPTURE MANAGEMENT MENU ECMGR Event Capture Management Menu
Press <RETURN> to see more, '^' to exit this list, OR
CHOOSE 1-5: 1 EVE Systems Manager Menu

Select Systems Manager Menu Option: MENU Management

Select Menu Management Option: OPED Screen-based Option Editor

Select OPTION NAME: PATIENT EDIT/ADD
Not a known package or a local namespace.
Are you adding 'PATIENT EDIT/ADD' as a new OPTION (the 9485TH)? No// YES
(Yes)
OPTION MENU TEXT: PATIENT EDIT/ADD

## Edit below menu red entries, use 'tab' to switch to new
## entries, hit 'enter' after typing 'YES' in 'Related Fields'

--------------------------------------------------------------------
Welcome to the Screen-Based Option Editor

Name: PATIENT EDIT/ADD

Menu Text: PATIENT EDIT/ADD

Description: Type: action Is It Delegable: YES

Help Frame: Package:


Restrictions (Locks, etc.): NO Executable Fields (Programmers Only): NO

Option-type (Print, Run Routine, etc.) Related Fields: YES

_______________________________________________________________________________

Press <PF1>H for help Insert

## The below command will connect our new 'edit/add patient' function
## to our new menu item.

--------------------------------------------------------------------
?
? Action-type option
?
?
? Entry Action to Execute: DO EDITPT^TMGMISC(1)
?
?
?
?
?
?
?
?
----------------------------------------------------------------------
Option-type (Print, Run Routine, etc.) Related Fields: YES

_______________________________________________________________________________
An Action-type option simply executes the various executable fields
assigned to all options in the option file. It is most closely associated
with the Entry Action, and this field must be filed in. The entry is
standard M code.

Press <PF1>H for help Insert

Select OPTION NAME:

Select Menu Management Option:

Select Systems Manager Menu Option:

Do you really want to halt? YES//

Halting at 5:14 pm


## Add the new 'edit/add patient' menu item to the System
## Administrator's menu.

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Terminal Type set to: C-VT100

Select OPTION NAME: VA FILEMAN
1 VA FILEMAN DIUSER VA FileMan
2 VA FILEMAN (NURSING ADP COORDI NURSFM-MENU VA FileMan (Nursing ADP
Coordinator)
3 VA FILEMAN MANAGEMENT DI MGMT MENU VA FileMan Management
CHOOSE 1-3: 1 DIUSER VA FileMan

VA FileMan Version 22.0

Select VA FileMan Option: ENTER or Edit File Entries

INPUT TO WHAT FILE: NEW PERSON// 200 NEW PERSON (13 entries)
EDIT WHICH FIELD: ALL// SECONDARY MENU OPTIONS (multiple)
EDIT WHICH SECONDARY MENU OPTIONS SUB-FIELD: ALL//
THEN EDIT FIELD:

Select NEW PERSON NAME: SA ADMINISTRATOR,SYSTEM SA
Select SECONDARY MENU OPTIONS: OR CPRS GUI CHART// PATIENT EDIT/ADD PATIENT EDIT/ADD
Are you adding 'PATIENT EDIT/ADD' as a new SECONDARY MENU OPTIONS (the 2ND for this NEW PERSON)? No// YES (Yes)
SYNONYM:
Select SECONDARY MENU OPTIONS:

Select NEW PERSON NAME:

Select VA FileMan Option:

Do you really want to halt? YES//

Halting at 7:57 pm

GTM>

##Continue below to add your first new patient




Register your new patient (finally)

Quick Index Link.

LEGEND:
INPUT – This color is for user input.
SPECIAL – This color will be explained by my comments.
COMMENTS – This color will contain comments.
Default to the 'ENTER' key if no specific instructions



GTM>D ^ZU

Volume set: ROU:localhost UCI: VAH Device: /dev/pts/1

ACCESS CODE: *********
VERIFY CODE: ********

Good evening admin
You last signed on today at 18:46

## Type '??' to see the menu. Note your new PATIENT
## EDIT/ADD item under the secondary options.

Select Systems Manager Menu Option: ??

Core Applications ... [XUCORE]
Device Management ... [XUTIO]
Menu Management ... [XUMAINT]
Programmer Options ... [XUPROG]
**> Locked with XUPROG
Operations Management ... [XUSITEMGR]
Spool Management ... [XU-SPL-MGR]
Information Security Officer Menu ... [XUSPY]
Taskman Management ... [XUTM MGR]
User Management ... [XUSER]
Application Utilities ... [XTMENU]
Capacity Planning ... [XTCM MAIN]
HL7 Main Menu ... [HL MAIN MENU]
Manage Mailman ... [XMMGR]
VA FileMan ... [DIUSER]

You can also select a secondary option:

PATIENT EDIT/ADD [PATIENT EDIT/ADD]

Press 'RETURN' to continue, '^' to stop:

Or a Common Option:

Halt [XUHALT]
Continue [XUCONTINUE]
Restart Session [XURELOG]
VA View Alerts [XQALERT]
MailMan Menu ... [XMUSER]
Time [XUTIME]
User's Toolbox ... [XUSERTOOLS]
Where am I? [XUSERWHERE]

Select Systems Manager Menu Option: PATIENT EDIT/ADD

Select PATIENT NAME: ROOTBEER,DIET
ARE YOU ADDING 'ROOTBEER,DIET' AS A NEW PATIENT (THE 1ST)? No// YES (Yes)
PATIENT SEX: M MALE
PATIENT DATE OF BIRTH: 02/15/74 (FEB 15, 1974)

## Entering social security code as '00000xxxx' will
## flag your patient as a 'Test Patient'.

PATIENT SOCIAL SECURITY NUMBER: 000009876

Note: This is a Test Patient SSN.
PATIENT TYPE: ?
Choose from the available listing the PATIENT TYPE which best classifies th
is patient.
Enter the patient type for this patient. This is selectable from the
distributed entries in the TYPE OF PATIENT file. The type selected should
be the primary one selectable. For example, if the patient is both an
...
Answer with TYPE OF PATIENT NAME
Choose from:
ACTIVE DUTY
ALLIED VETERAN
COLLATERAL
EMPLOYEE
MILITARY RETIREE
NON-VETERAN (OTHER)
NSC VETERAN
SC VETERAN
TRICARE

PATIENT TYPE: NON-VETERAN (OTHER)
PATIENT VETERAN (Y/N)?: N NO
PATIENT SERVICE CONNECTED?: N NO
PATIENT MULTIPLE BIRTH INDICATOR: ?
Is the patient part of a multiple birth?
The MULTIPLE BIRTH INDICATOR will designate whether or not
the patient is part of a multiple birth (i.e. to identify
twins, etc.).
...
CHOOSE FROM:
N NO
Y *MULTIPLE BIRTH*
PATIENT MULTIPLE BIRTH INDICATOR: N NO

...searching for potential duplicates..........

No potential duplicates have been identified.

...adding new patient

Note: This is a Test Patient SSN....new patient added

Patient name components--
FAMILY (LAST) NAME: ROOTBEER//
GIVEN (FIRST) NAME: DIET//
MIDDLE NAME: G
PREFIX:
SUFFIX:
DEGREE: GED
Ok to file 'ROOTBEER,DIET G' and its name components? Yes//
Press ENTER to continue

PATIENT DEMOGRAPHIC DATA, SCREEN <1>
ROOTBEER,DIET G; 000-00-9876 NON-VETERAN (OTHER)
===============================================================================

[1] Name: ROOTBEER,DIET G SS: 000-00-9876 DOB: FEB 15,1974
Family: ROOTBEER Sex: MALE
Given: DIET [2] Alias: < No alias entries on file >
Middle: G
Prefix:
Suffix:
Degree: GED
[3] Remarks: NO REMARKS ENTERED FOR THIS PATIENT
[4] Permanent Address: [5] Temporary Address:
STREET ADDRESS UNKNOWN NO TEMPORARY ADDRESS
UNK. CITY/STATE
County: UNANSWERED County: NOT APPLICABLE
Phone: UNANSWERED Phone: NOT APPLICABLE
Office: UNANSWERED From/To: NOT APPLICABLE
Bad Addr:


<RET> to CONTINUE, 1-5 or ALL to EDIT, ^N for screen N or '^' to QUIT: ^

CONSISTENCY CHECKER TURNED OFF!!
Patient is exempt from Copay.

Select Systems Manager Menu Option:

Do you really want to halt? YES//

Halting at 6:53 pm

bash-3.00$ GTM

GTM>



Make a Doctor
Quick Index Link.
      1. To simplify we will make the System Administrator the Provider. The below script will illustrate how to add a PROVIDER, which consist of three redundant steps.


LEGEND:
INPUT – This color is for user input.
SPECIAL – This color will be explained by my comments.
COMMENTS – This color will contain comments.
Default to the 'ENTER' key if no specific instructions


## Lets create a Provider. To keep things simple we will
## make the System Administrator user a Provider. We
## already allocated the ORES and PROVIDER keys,
## and added OR CPRS GUI CHART to secondary menu
## of the System Administrator in the initial configuration.
## However, there are three more redundant
## steps to complete.
## First, add provider user class through the TIU menu.

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Access Code:******

Terminal Type set to: C-VT100

Select OPTION NAME: TIU MAINTENANCE MENU TIU IRM MAINTENANCE MENU TIU Maint
enance Menu

Select TIU Maintenance Menu Option: 3 User Class Management

--- User Class Management Menu ---

Select User Class Management Option: 2 List Membership by User
Select USER:SA SYSTEM ADMINISTRATOR SA


Current User Classes Mar 17, 2006@22:26:28 Page: 1 of 1
ADMINISTRATOR,SYSTEM 0 Classes
User Class Effective Expires
---------------------------------------------------------------------
No Class Memberships found for ADMINISTRATOR,SYSTEM







--------------------------------------------------------------------
+ Next Screen - Prev Screen ?? More Actions
At column 26, line 22, source module /home/vista/r/XGKB.m
%GTM-E-RPARENMISSING, Right parenthesis expected
ADD
SELECT USER CLASS: STAFF PHYSICIAN
EFFECTIVE DATE: T (MAR 17, 2006)
EXPIRATION DATE: 3/17/2026

Select Another USER CLASS:


-----------------------------------------------------------------------------
Current User Classes Mar 17, 2006@22:30:22 Page: 1 of 1
ADMINISTRATOR,SYSTEM 1 Class
User Class Effective Expires
1 Staff Physician 03/17/06 03/17/26











------------------------------------------------------------------------------
+ Next Screen - Prev Screen ?? More Actions
Add Remove Quit
Edit Change View
Select Action: Quit//
Select User Class Management Option:

Select TIU Maintenance Menu Option:

Do you really want to halt? YES//

Halting at 10:31 pm

## Second, add as provider through the PSO menu

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Terminal Type set to: C-VT100

Select OPTION NAME: PSO PROVIDER
1 PSO PROVIDER ADD Add New Providers
2 PSO PROVIDER EDIT Edit Provider
3 PSO PROVIDER INQUIRE View Provider
CHOOSE 1-3: 2 PSO PROVIDER EDIT Edit Provider
Edit Provider

Select Provider: SA ADMINISTRATOR,SYSTEM SA

ADMINISTRATOR,SYSTEM is NOT currently indicated as being a provider.
Do you want to make ADMINISTRATOR,SYSTEM a provider? (Y/N): NO// YES

NON-VA PRESCRIBER:
TAX ID:
EXCLUSIONARY CHECK PERFORMED:
DATE EXCLUSIONARY LIST CHECKED:
ON EXCLUSIONARY LIST:
AUTHORIZED TO WRITE MED ORDERS: YES YES
DEA#:
VA#: 12345
INACTIVE DATE: 3/25/2027 (MAR 25, 2027)
PROVIDER CLASS:
PROVIDER TYPE: FULL TIME FULL TIME
REQUIRES COSIGNER:
REMARKS:
STREET ADDRESS 1:
STREET ADDRESS 2:
STREET ADDRESS 3:
CITY:
STATE:
ZIP CODE:
PHONE (HOME):
OFFICE PHONE:
PHONE #3:
PHONE #4:
FAX NUMBER:
ROOM:

Select Provider:

## Third, give the provider an MD degree, an
## electronic signature code, and a provider 'person class'.

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Terminal Type set to: C-VT100

Select OPTION NAME: VA FILEMAN
1 VA FILEMAN DIUSER VA FileMan
2 VA FILEMAN (NURSING ADP COORDI NURSFM-MENU VA FileMan (Nursing ADP
Coordinator)
3 VA FILEMAN MANAGEMENT DI MGMT MENU VA FileMan Management
CHOOSE 1-3: 1 DIUSER VA FileMan

VA FileMan Version 22.0

Select VA FileMan Option: ENTER or Edit File Entries

INPUT TO WHAT FILE: NEW PERSON// 200 NEW PERSON (13 entries)
EDIT WHICH FIELD: ALL// PERSON CLASS (multiple)
EDIT WHICH PERSON CLASS SUB-FIELD: ALL//
THEN EDIT FIELD: ELECTRONIC SIGNATURE CODE
THEN EDIT FIELD: DEGREE
THEN EDIT FIELD:

Select NEW PERSON NAME: SA ADMINISTRATOR,SYSTEM SA
Select Person Class: 1 Physicians (M.D. and D.O.)
Physician/Osteopath

...OK? Yes// (Yes)

Are you adding 'Physicians (M.D. and D.O.)' as
a new PERSON CLASS (the 1ST for this NEW PERSON)? No// YES (Yes)
Effective Date: MAR 17,2006//
Expiration Date: 3/17/2026 (MAR 17, 2026)
ELECTRONIC SIGNATURE CODE: HEYHEY
DEGREE: MD

Select NEW PERSON NAME:

Select VA FileMan Option:

Do you really want to halt? YES//

Halting at 10:56 pm

GTM>



Build a Clinic
Quick Index Link.

LEGEND:
INPUT – This color is for user input.
SPECIAL – This color will be explained by my comments.
COMMENTS – This color will contain comments.
Default to the 'ENTER' key if no specific instructions


## Build a clinic. The institution and medical center were
## already created in the basic configuration. So, all we
## need to do i make a clinic with the SDBUILD menu.

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Terminal Type set to: C-VT100

Select OPTION NAME: SDBUILD Set up a Clinic
Set up a Clinic

Select CLINIC NAME: HEALTHY CHOICE
Are you adding 'HEALTHY CHOICE' as a new HOSPITAL LOCATION? No// YES (Yes)
NAME: HEALTHY CHOICE//
ABBREVIATION: HCC
CLINIC MEETS AT THIS FACILITY?: Y// YES
SERVICE: MEDICINE MEDICINE
NON-COUNT CLINIC? (Y OR N): Y YES
INCLUDE ON FILE ROOM LISTS?: N NO
STOP CODE NUMBER: 531 MH PRIMARY CARE TEAM - IND 531
DEFAULT APPOINTMENT TYPE: REGULAR//
TELEPHONE: 1234567890
REQUIRE X-RAY FILMS?:
REQUIRE ACTION PROFILES?: YES// YES
NO SHOW LETTER:
PRE-APPOINTMENT LETTER:
CLINIC CANCELLATION LETTER:
APPT. CANCELLATION LETTER:
ASK FOR CHECK IN/OUT TIME:
Select PROVIDER: SA ADMINISTRATOR,SYSTEM SA
Are you adding 'ADMINISTRATOR,SYSTEM' as a new PROVIDER (the 1ST for this HOS
PITAL LOCATION)? No// YES (Yes)
DEFAULT PROVIDER: YES YES
Select PROVIDER:
DEFAULT TO PC PRACTITIONER?: N NO
Select DIAGNOSIS:
WORKLOAD VALIDATION AT CHK OUT:
ALLOWABLE CONSECUTIVE NO-SHOWS: 5
MAX # DAYS FOR FUTURE BOOKING: 300
HOUR CLINIC DISPLAY BEGINS:
START TIME FOR AUTO REBOOK: 10
MAX # DAYS FOR AUTO-REBOOK: 30
SCHEDULE ON HOLIDAYS?:
CREDIT STOP CODE:
PROHIBIT ACCESS TO CLINIC?:
PHYSICAL LOCATION:
PRINCIPAL CLINIC:
OVERBOOKS/DAY MAXIMUM: 2
Select SPECIAL INSTRUCTIONS:
LENGTH OF APP'T: 30
VARIABLE APP'NTMENT LENGTH: Y YES, VARIABLE LENGTH
DISPLAY INCREMENTS PER HOUR: 4// 15-MIN

AVAILABILITY DATE: ?
Examples of Valid Dates:
JAN 20 1957 or 20 JAN 57 or 1/20/57 or 012057
T (for TODAY), T+1 (for TOMORROW), T+2, T+7, etc.
T-1 (for YESTERDAY), T-3W (for 3 WEEKS AGO), etc.
If the year is omitted, the computer assumes a date in the FUTURE.
ENTER THE DATE THIS CLINIC BECOMES AVAILABLE TO SEE PATIENTS
THE DATE ENTERED WILL BE THE FIRST DATE THAT APPOINTMENTS CAN
BE MADE FOR THIS CLINIC

AVAILABILITY DATE: T (MAR 17, 2006)

FRIDAY

## Sorry, it was late and my math was off, I would recommend
## putting an 8 for slots instead of 16, unless you
## like having a double booked clinic...

TIME: 0800-1200 NO. SLOTS: 1// 16

TIME:
[p p p p|p p p p|p p p p|p p p p]
...PATTERN OK FOR FRIDAYS INDEFINITELY? Y (Yes)
...SORRY, LET ME PUT YOU ON 'HOLD' FOR A SECOND...
PATTERN FILED!

AVAILABILITY DATE: T+3 (MAR 20, 2006)

MONDAY

TIME: 0800-1200 NO. SLOTS: 1// 16

TIME:
[p p p p|p p p p|p p p p|p p p p]
...PATTERN OK FOR MONDAYS INDEFINITELY? YES (Yes)
...EXCUSE ME, HOLD ON...
PATTERN FILED!

AVAILABILITY DATE:

Select CLINIC NAME:

GTM>



Schedule an Appointment
Quick Index Link.
      1. First, we will make the System Administrator a scheduler. Then we will schedule an appointment.


LEGEND:
INPUT – This color is for user input.
SPECIAL – This color will be explained by my comments.
COMMENTS – This color will contain comments.
Default to the 'ENTER' key if no specific instructions


## Make the the System Administrator a Scheduler by
## giving the System Admin the 'Appointment Menu'

GTM>D ^XUP

Setting up programmer environment
This is a TEST account.

Terminal Type set to: C-VT100

Select OPTION NAME: VA FILEMAN
1 VA FILEMAN DIUSER VA FileMan
2 VA FILEMAN (NURSING ADP COORDI NURSFM-MENU VA FileMan (Nursing ADP
Coordinator)
3 VA FILEMAN MANAGEMENT DI MGMT MENU VA FileMan Management
CHOOSE 1-3: 1 DIUSER VA FileMan

VA FileMan Version 22.0

Select VA FileMan Option: ENTER or Edit File Entries

INPUT TO WHAT FILE: NEW PERSON// 200 NEW PERSON (13 entries)
EDIT WHICH FIELD: ALL// SECONDARY MENU OPTIONS (multiple)
EDIT WHICH SECONDARY MENU OPTIONS SUB-FIELD: ALL//
THEN EDIT FIELD:

Select NEW PERSON NAME: SA ADMINISTRATOR,SYSTEM SA
Select SECONDARY MENU OPTIONS: PATIENT EDIT/ADD// APPOINTMENT MENU SDAPP Appointment Menu
Are you adding 'SDAPP' as a new SECONDARY MENU OPTIONS (the 3RD for this NEW
PERSON)? No// YES (Yes)
SYNONYM:
Select SECONDARY MENU OPTIONS:


Select NEW PERSON NAME:

Select VA FileMan Option:

Do you really want to halt? YES//

Halting at 11:08 pm


## Schedule an appointment

GTM>D ^ZU

Volume set: ROU:localhost UCI: VAH Device: /dev/pts/1

ACCESS CODE: *********
VERIFY CODE: ********

Good evening admin
You last signed on today at 23:12

## Lets check out our new menu. You don't need to do this.
## You could just type APPOINTMENT at the following prompt.

Select Systems Manager Menu Option: ??

Core Applications ... [XUCORE]
Device Management ... [XUTIO]
Menu Management ... [XUMAINT]
Programmer Options ... [XUPROG]
**> Locked with XUPROG
Operations Management ... [XUSITEMGR]
Spool Management ... [XU-SPL-MGR]
Information Security Officer Menu ... [XUSPY]
Taskman Management ... [XUTM MGR]
User Management ... [XUSER]
Application Utilities ... [XTMENU]
Capacity Planning ... [XTCM MAIN]
HL7 Main Menu ... [HL MAIN MENU]
Manage Mailman ... [XMMGR]
VA FileMan ... [DIUSER]

You can also select a secondary option:

Appointment Menu ... [SDAPP]
PATIENT EDIT/ADD [PATIENT EDIT/ADD]

Press 'RETURN' to continue, '^' to stop:

Or a Common Option:

Halt [XUHALT]
Continue [XUCONTINUE]
Restart Session [XURELOG]
VA View Alerts [XQALERT]
MailMan Menu ... [XMUSER]
Time [XUTIME]
User's Toolbox ... [XUSERTOOLS]
Where am I? [XUSERWHERE]

Select Systems Manager Menu Option: APPOINTMENT Menu

Select Appointment Menu Option: ?

AM Appointment Management
CK Appointment Check-in/Check-out
Add/Edit Stop Codes
Append Ancillary Test to Appt.
Cancel Appointment
Chart Request
Check-in/Unsched. Visit
Computer Generated Menu ...
Delete Ancillary Test for Appt.
Discharge from Clinic
Display Appointments
Edit Clinic Enrollment Data
Enrollment Review Date Entry
Find Next Available Appointment
Make Appointment
Multiple Appointment Booking
Multiple Clinic Display/Book
No-Shows

Enter ?? for more options, ??? for brief descriptions, ?OPTION for help text.

Select Appointment Menu Option: MAKE Appointment

Select CLINIC: HEALTHY CHOICE ADMINISTRATOR,SYSTEM
Select PATIENT NAME: ROOTBEER,DIET,DIET G ROOTBEER,DIET G 2-15-74 000
009876 NO NON-VETERAN (OTHER)
WARNING : You may have selected a test patient.
APPOINTMENT TYPE: REGULAR//
NO PENDING APPOINTMENTS
Select ETHNICITY INFORMATION:
Select RACE INFORMATION:
STREET ADDRESS [LINE 1]:
CITY:
STATE:
ZIP+4:
COUNTY:
PHONE NUMBER [RESIDENCE]:

IS THIS A 'NEXT AVAILABLE' APPOINTMENT REQUEST? YES

HEALTHY CHOICE
Mar 2006

TIME |8 |9 |10 |11 |12 |1 |2 |3 |4
DATE | | | | | | | | |
FR 17 [p p p p|p p p p|p p p p|p p p p]
MO 20 [p p p p|p p p p|p p p p|p p p p]
FR 24 [p p p p|p p p p|p p p p|p p p p]
MO 27 [p p p p|p p p p|p p p p|p p p p]
FR 31 [p p p p|p p p p|p p p p|p p p p]
Apr 2006
MO 03 [p p p p|p p p p|p p p p|p p p p]
FR 07 [p p p p|p p p p|p p p p|p p p p]
MO 10 [p p p p|p p p p|p p p p|p p p p]
FR 14 [p p p p|p p p p|p p p p|p p p p]
MO 17 [p p p p|p p p p|p p p p|p p p p]
FR 21 [p p p p|p p p p|p p p p|p p p p]
MO 24 [p p p p|p p p p|p p p p|p p p p]
FR 28 [p p p p|p p p p|p p p p|p p p p]

30 MINUTE APPOINTMENTS (VARIABLE LENGTH)
DATE/TIME: 0320@0930 (MAR 20, 2006@09:30)

LENGTH OF APPOINTMENT (IN MINUTES): 30//
30-MINUTE APPOINTMENT MADE

THIS APPOINTMENT IS MARKED AS 'NEXT AVAILABLE', IS THIS CORRECT? YES//

WANT PATIENT NOTIFIED OF LAB,X-RAY, OR EKG STOPS? No// (No)
OTHER INFO:
WANT PREVIOUS X-RAY RESULTS SENT TO CLINIC? No// (No)

## I am not sure what below statement means?
## Despite below statement, the appointment was booked.

AMIE LINK OUT OF ORDER

Press RETURN to continue:

Select CLINIC:

Select Appointment Menu Option:

Select Systems Manager Menu Option:

Do you really want to halt? YES//

Halting at 11:19 pm

bash-3.00$ GTM

GTM>



CPRS GUI
Quick Index Link.
      1. Relatively easy to do. Will post HowTo and Pictures at some point(open mandriva firewall, put demo cprs on a windows xp virtual computer, change some random windows file, and presto. (pending) (low priority for now. If your really itching for this, just email me, and i'll put it up here)


Shutting Down Safely
Quick Index Link.
      1. (stop broker, mailer, taskman, and rundown database). Also should review re-starting the broker, mailer, and taskman. (pending)(low priority for now. If your really itching for this, just email me, and i'll put it up here)


TO DO:
1.finish CPRS and Shuttingdown sections



Part V:Review of the Electronic Medical Record Software Packages

Main TOC Link.



Review Overview

Main TOC Link.

This is meant to be a very quick, simple review. The review template is below.

  1. Functions:
    1. Prescriptions – yes or no
    2. Electronic Notes – yes or no
    3. Appointments – yes or no
    4. Insurance billing -yes or no
    5. Inventory – yes or no
    6. Accounting – yes or no
    7. Ease of Use – yes or no
  1. Software development phase – Production or Development
  2. Ease of installation – easy, moderate, difficult, or very difficult
  3. Ease of backup – easy, moderate, or difficult (specific backup targets)
  4. Conclusion
    1. Chosen or not chosen

OpenEMR Review

Main TOC Link.

  1. Functions:
    1. Prescriptions - yes
    2. Electronic Notes - yes
    3. Appointments - yes
    4. Insurance billing -yes
    5. Inventory – yes
    6. Accounting - yes
    7. Ease of Use - yes
  1. Software development phase - Production
  2. Ease of installation - difficult
  3. Ease of backup – moderate (MySQL database, PostGRESQL database, patient documents directory, freeb bills directory)
  4. Conclusion
    1. The winner. It fulfilled all the requirements. This wasn't a simple decision, and basically just came down to personal preference. I preferred OpenEMR's user interface over FreeMED, was impressed by OpenEMR's strategy of utilizing other Open Source programs(example sql-ledger), and there also seemed to be more free help available with OpenEMR.

MirrorMed Review

Main TOC Link.

  1. Functions:
    1. Prescriptions - no
    2. Electronic Notes – no
    3. Appointments - yes
    4. Insurance billing – yes (did not test)
    5. Inventory – no
    6. Accounting - no
    7. Ease of Use – yes
  2. Software development phase - Development
  3. Ease of installation - moderate
  4. Ease of backup – did not assess
  5. Conclusion
    1. Not chosen. Doesn't fulfill requirements, bye bye.

FreeMed Review

Main TOC Link.

  1. Functions:
    1. Prescriptions - yes
    2. Electronic Notes - yes
    3. Appointments - yes
    4. Insurance billing – yes (did not test)
    5. Inventory – yes
    6. Accounting - yes
    7. Ease of Use - yes
  2. Software development phase - Production
  3. Ease of installation - moderate
  4. Ease of backup – did not assess
  5. Conclusion
    1. Not chosen. It fulfilled all the requirements, however I chose to go with OpenEMR. This wasn't a simple decision, and basically just came down to personal preference. I preferred OpenEMR's user interface over FreeMED, was impressed by OpenEMR's strategy of utilizing other Open Source programs(example sql-ledger), and there also seemed to be more free help available with OpenEMR.

VistA Review

Main TOC Link.

  1. Functions:
    1. Prescriptions – no, unless your a VA veteran
    2. Electronic Notes - yes
    3. Appointments - yes
    4. Insurance billing – no
    5. inventory - yes
    6. Accounting – exist, but per VA, is not released with public version
    7. Ease of Use - no
  2. Software development phase – Difficult to assess
  3. Ease of installation – very difficult
  4. Ease of backup – did not assess
  5. Conclusion
    1. Not chosen. Doesn't fulfill requirements, bye bye.



Part VI:Modifications of OpenEMR

Main TOC Link.



  1. Herbal formulas stuff.
    1. I'm making this too complicated, will just make a form which can do this. This will allow printing of labels,formulas in big print, and informational sheets for patients. Information will include chinese character, pinyin, latin word, and english description.
      1. Database entered of approximately 400 herbs in their pinyin name, latin name, english name/description, and chinese characters(in GIF's). Classify as a module to add to OpenEMR.
      2. Form will be entered in pinyin with auto-complete.
    2. In future, once form works, can then interface it with the medication/prescription functions.
  2. Forms for clinic
      1. Standard Visit
      2. MVA Brief
      3. MVA Long
      4. Fee Sheet modifications(this is very cool billing sheet, which allows one to pick the provider to authorize, which is important, since the providers have different licenses and are covered by different insurance agencies. Need to test this function.)
  3. Messaging system (one in place may be sufficient)
  4. Create medications/prescriptions interfaces
  5. Auto email appt confirmaton and calling mechanism
  6. Script to move current billing database(MediSoft)
  7. Calendar customization (3 providers, which are inter-related)
  8. Automatic backup scheme utilizing encryption (DONE)


Part VII:Production Installation of OpenEMR

Main TOC Link.



  1. Build/Order Production Computer
  2. Install Operating System
  3. Install software
  4. Install hardware
      1. Printers(main and label maker)
      2. DSL router with VPN support
  5. Security/privacy (very important)
    1. Only port 443 to be open on server
    2. Ensure all data encrypted sent thru network and on optical disk backup
    3. Secure wireless also with encryption( to get the data sent to printers)
    4. Only allow certain IP address vs. MAC address vs. SSL certificates on wireless LAN and to to access server
    5. No connection to internet except maybe VPN thru the router and/or SSL certificate identification
  6. Ensure backup(at least daily to optical disk)
  7. Ensure hard disk redundancy(RAID device)
    1. Server redundancy not gonna happen
  8. Ensure paper trail in case everything goes to shit



Part VIII:The Real-World Trial

Main TOC Link.



  1. If I ever get this far, I'm gonna make my woman(practitioner in the clinic) buy me a Playstation 3.



Part IX:Appendix

Main TOC Link.

A. Software versions

Main TOC Link.

Phpgacl-3.3.6
SQLLedger-2.6.3
FreeB-0.11
OpenEMR-2.8.1
MirrorMed-1.0RC2
FreeMed-0.8.2
Remitt-0.3.1
Mandriva-2006.0
Kubuntu-5.1-breezy
Vmware Workstation-5.5.0-build-18463
OpenVistASemiVivAFOIAGold20050825
MySQL-4.1.12
Apache-2.0.54
PHP-4.4.0
PostGreSQL-8.0.3


B. Useful Websites

Main TOC Link.

General EMR links:
  1. http://www.linuxmednews.com/ (Open Source EMR news)

  2. http://www.emrupdate.com/ (Great site and forums which discusses proprietary and open source EMRs. It also has a great actively updated price comparison for most proprietary EMR's)

  3. http://ehr.gplmedicine.org/ (Great detailed reviews of OpenEMR, MirrorMed, and FreeMed)

OpenEMR:
  1. http://www.oemr.org/ (Main OpenEMR website with a good Wiki and a new forum)

  2. http://sourceforge.net/projects/openemr/ (Main OpenEMR forums are here)

  3. http://www.bradymd.com/appliance/ (OpenEMR 2.8.1 Virtual Machine Manual)

MirrorMed:
  1. http://www.mirrormed.org/ (Main MirrorMed website)

FreeMed:
  1. http://www.freemed.org/ (FreeMED Software Foundation Sanctioned FreeMED website)

  2. http://www.freemedsoftware.org/ (Unsanctioned FreeMED website)

  3. http://www.freemedsoftware.com/ (FreeMED Software Foundation website)

VistA:
  1. http://www.worldvista.org/ (Site with very helpful Wiki)

  2. http://www.hardhats.org/ (A good starting point)

  3. http://kdtop.vistaoffice-ehr.com/

Virtual Machines:
  1. http://www.vmware.com/ (VMware website)

  2. http://www.vmware.com/appliances/ (VMware virtual appliance explanation)

  3. http://www.vmware.com/vmtn/appliances/overview.html (Another VMware virtual appliance explanation)


C. Author Email and License/Disclaimer

Main TOC Link.

Author: Brady Miller

Email: brady@sparmy.com


www.bradymd.com



Copyright (C) <2006-2007> <Brady Miller>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.

We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.

Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and
modification follow.

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.

b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.

c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,

b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,

c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.

9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.


195