<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://easylinux.info/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>WorldVistA EHR - Revision history</title>
		<link>http://easylinux.info/index.php?title=WorldVistA_EHR&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Mon, 20 May 2013 08:37:43 GMT</lastBuildDate>
		<item>
			<title>Perspectoff:&amp;#32;/* Installation */</title>
			<link>http://easylinux.info/index.php?title=WorldVistA_EHR&amp;diff=33057&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;WorldVistA consists of two parts: a database server and a collection of client modules. The server runs in Linux, whereas the clients are generally Windows-based (at this time). The first step is to install the WorldVistA server. It can be installed on the operating system of a stand-alone computer or on the guest operating system of a virtual machine (usually running on the same computer as the client modules).&lt;br /&gt;
&lt;br /&gt;
When the VistA server is run within a virtual machine on the same computer as the client modules, a fully self-contained WorldVistA EHR is created on a single computer.&lt;br /&gt;
&lt;br /&gt;
* If you will run the WorldVistA server on a standalone computer, then install the [[Ubuntu:All#Servers|Ubuntu Server edition]] as an operating system on that computer first. (You can [[Ubuntu:All#Servers|add an ubuntu-desktop or kubuntu-desktop]] GUI to the server later, if you so desire).&lt;br /&gt;
&lt;br /&gt;
* If you will run the WorldVistA server within a virtual machine, then install the Ubuntu Server edition (virtual machine minimal install) into a virtual machine first. See [http://ubuntudoctorsguild.dyndns.org/public/index.php/VirtualAstronaut these instructions].&lt;br /&gt;
&lt;br /&gt;
Then proceed in a similar fashion (in each type of operating system installation) for the subsequent installation of [http://astronautvista.com/astronaut-help/how-to/how-to-install-astronaut-vista-server-and-client Astronaut VistA]. &lt;br /&gt;
&lt;br /&gt;
===Preparing your server===&lt;br /&gt;
*The Astronaut installer uses an emerging standardized installation framework for VistA derivatives (WorldVistA and OpenVistA currently). These instruction reflect this framework, with modifications I have used in setting up my system on Ubuntu.&lt;br /&gt;
&lt;br /&gt;
* A secure SSH tunnel is created between the Astronaut client(s) and the Astronaut VistA server using port 22. Information coming from a client's port 9260 is sent through this tunnel and received by the the VistA server's port 9260. (The network only sees traffic over port 22.) So that the network can always find the VistA server, it should have a [[Ubuntu:All#Set_a_static_IP_address|static IP address]] on the LAN. Your LAN (router) should then forward port 22 (and perhaps port 9260 during testing) traffic to the VistA server's IP address on the LAN. Make sure any firewall running on the VistA server firewall allows port 22 (and, to be safe, port 9260) traffic through.&lt;br /&gt;
&lt;br /&gt;
It is easiest to set this up before using the Astronaut installer, since the Astronaut server installer autodetects IP address settings.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
[http://worldvista.org WorldVistA] is the largest and most robust CCHIT-approved electronic health record platform in the public domain. It is is based on the US Veterans Administration health record system and is GPL licensed. The database and server can be installed on a standalone server (which would then be accessed over a network by clients on other computers) or can be installed in a [http://ubuntudoctorsguild.dyndns.org/public/index.php/VirtualAstronaut virtual machine] on a computer which also contains the [[#Connect_with_a_CPRS_client|clients]] (creating a self-contained EHR on a single computer). There are several installation packages. (The original WorldVistA site is [http://worldvista.org/Software_Download/worldvista-ehr-auto-installers here].)&lt;br /&gt;
&lt;br /&gt;
*Apache2 is required. It can be installed individually (sudo apt-get install apache2) or as part of a [[Ubuntu:All#LAMP_server_installation|LAMP]] (Linux, Apache2, MySQL, PHP) installation:&lt;br /&gt;
 sudo apt-get install tasksel&lt;br /&gt;
 sudo tasksel install lamp-server&lt;br /&gt;
&lt;br /&gt;
*The [[Ubuntu:All#OpenSSH_server|OpenSSH server]] is required:&lt;br /&gt;
 sudo apt-get install tasksel&lt;br /&gt;
 sudo tasksel install openssh-server&lt;br /&gt;
&lt;br /&gt;
*If you are installing on a Server edition without a desktop, you will also need:&lt;br /&gt;
 sudo apt-get install wget iptables nano&lt;br /&gt;
&lt;br /&gt;
*Install prerequisites:&lt;br /&gt;
 sudo apt-get install xinetd update-inetd whois apache2-suexec&lt;br /&gt;
:*Astronaut VistA is made for a 32-bit operating system. If you are using a 64-bit Ubuntu operating system, then also install ia32-libs:&lt;br /&gt;
 sudo apt-get ia32-libs&lt;br /&gt;
&lt;br /&gt;
*A package can be installed directly from the Astronaut VistA repositories (replace ''lucid'' with ''karmic'' if using Karmic Koala 9.10) by adding the the repository:&lt;br /&gt;
 sudo echo &amp;quot;deb &amp;lt;nowiki&amp;gt;http://software.astronautvista.com/deb&amp;lt;/nowiki&amp;gt; ''lucid'' main&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list.d/lucid-partner.list&lt;br /&gt;
 sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
::then installing the Astronaut version of the WorldVistA server:&lt;br /&gt;
 sudo apt-get install astronaut-wv-server-beta&lt;br /&gt;
&amp;lt;!---&amp;gt;&lt;br /&gt;
:*The previous (now obsolete) method of installing the Astronaut version of WorldVistA Server was to obtain and install the Debian (.deb) package from Sourceforge:&lt;br /&gt;
 sudo mkdir /etc/''worldvistaserver''&lt;br /&gt;
 cd /etc/''worldvistaserver''&lt;br /&gt;
 sudo wget -O astronaut-ov-server-current.deb &amp;lt;nowiki&amp;gt;http://sourceforge.net/projects/astronautnostro/files/astronaut-wv-server/astronaut-wv-server-beta-0.9-3.deb/download&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 sudo dpkg -i astronaut-wv-server-current.deb&lt;br /&gt;
&amp;lt;---&amp;gt;&amp;lt;!---&amp;gt;&lt;br /&gt;
:Installation shows this [[OpenVistAInstallationFile]].&lt;br /&gt;
&amp;lt;---&amp;gt;&lt;br /&gt;
::Note: During the VistA server installation, you may wish to save (as a text file) the installation notes that are displayed for future reference.&lt;br /&gt;
&amp;lt;!---&amp;gt;&lt;br /&gt;
Note: It is recommended to install WorldVistA on a dedicated server. Apache and other server settings will be altered by the installation, which may alter your ability to run other servers on the same machine.&lt;br /&gt;
&amp;gt;---&amp;gt;&lt;br /&gt;
*Open incoming ports 9260 and 22 in your [[Ubuntu:All#Firewall|firewall]]. If behind a router, make sure these ports are forwarded to the IP address of the computer acting as the WorldVistA server.&lt;br /&gt;
&lt;br /&gt;
*Note: Astronaut routes all communications through an SSH tunnel (port 22) using PuTTY (on the client side) and OpenSSH (on the server side). If you will only connect using this SSH tunnel, you do not need port 9260 to be open on (or forwarded by) your router. Alternatively, if you connect between clients and the server directly (using port 9260), then you do not need port 22 to be open. Note that connecting directly through port 9260 directly is slightly less secure, so it is discouraged when connecting through the Internet.&lt;br /&gt;
&lt;br /&gt;
*Note: This installation installs the WorldVistA database and server in an Ubuntu Linux OS (that resides either on a standalone computer or in a [http://ubuntudoctorsguild.dyndns.org/public/index.php/VirtualAstronaut virtual machine]). The [[#Connect_with_a_CPRS_client|CPRS user client]] for WorldVistA is written in Delphi for Windows (and works imperfectly in Wine). The CPRS client is therefore usually installed onto a Windows-based PCs (or onto USB flashdrives). These CPRS clients connect through the network to the WorldVistA server on a Ubuntu Linux-based server PC, or directly to the server running in a virtual machine.&lt;br /&gt;
&amp;lt;!---&amp;gt;&lt;br /&gt;
*Also see the [http://www.youtube.com/watch?v=4So0ulz0XVk Astronaut installation YouTube video] and the [http://www.youtube.com/watch?v=xzTJw8axJds Astronaut Client Server Manager YouTube video].&lt;br /&gt;
&amp;lt;---&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Installation Notes===&lt;br /&gt;
*The MUMPS database (GT.M) is installed into /opt/lsb-gtm/V5.3-004A_i686.&lt;br /&gt;
*The WorldVistA EHR program is installed into /opt/worldvista/EHR.&lt;br /&gt;
*m2web is installed into /opt/worldvista/EHR/web/m2web.&lt;br /&gt;
*A startup file is installed as /etc/init.d/vista-EHR.&lt;br /&gt;
*The listener port for clients like CPRS is 9260.&lt;br /&gt;
*The listener port for m2web is 80.&lt;br /&gt;
&lt;br /&gt;
The following default actions were done:&lt;br /&gt;
&lt;br /&gt;
 gtm Mumps interpreter installed in: /opt/lsb-gtm/gtm&lt;br /&gt;
 Default user id created: worldvistaEHR in /home/worldvistaEHR&lt;br /&gt;
 textEHR user id created.&lt;br /&gt;
 VistA software installed in: /opt/worldvista/EHR&lt;br /&gt;
 Started port listener on port: 9260&lt;br /&gt;
 Open port: 9260&lt;br /&gt;
&lt;br /&gt;
NEXT STEPS:&lt;br /&gt;
Log in as user: worldvistaEHR with default password: vista!123&lt;br /&gt;
You will be prompted to immediately change the password. Use a strong password.&lt;br /&gt;
Full disk encryption of your Linux is strongly recommended.&lt;br /&gt;
&lt;br /&gt;
Write down the IP address of this machine and port:&lt;br /&gt;
 IP address of this machine:&lt;br /&gt;
 ''192.168.0.24''&lt;br /&gt;
 Port: 9260&lt;br /&gt;
&lt;br /&gt;
(Obviously, record the IP address of your own server.)&lt;br /&gt;
&lt;br /&gt;
=== Installing on a Server edition ===&lt;br /&gt;
&amp;lt;!---&amp;gt;If you are installing on a Server edition without a desktop/package manager installed, you may need to install as root:&lt;br /&gt;
 sudo -s&lt;br /&gt;
 sudo dpkg -i astronaut-wv-server-current.deb&lt;br /&gt;
 sudo apt-get -f install&lt;br /&gt;
&amp;lt;---&amp;gt;&lt;br /&gt;
Note: The command &amp;quot;apt-get -f install&amp;quot; finds and installs unmet dependencies. This is only needed for Server editions in which a package manager is not installed.&lt;br /&gt;
&lt;br /&gt;
=== Installing WorldVistA Server in a Virtual Machine ===&lt;br /&gt;
There are two methods for doing this.&lt;br /&gt;
&lt;br /&gt;
* Install the Ubuntu Server edition (virtual machine minimal install) into a virtual machine (like VirtualBox) and then install Astronaut WorldVistA on top of this. See [http://ubuntudoctorsguild.dyndns.org/public/index.php/VirtualAstronaut these instructions].&lt;br /&gt;
&lt;br /&gt;
* The [http://sourceforge.net/projects/worldvista/files/ WorldVistA EHR Personal Toaster] is a self-contained appliance for Windows that includes a bundled QEMU virtual machine, a Damn Small Linux operating system, and a WorldVistA server (it does not use the Astronaut format). All are installed in a one-step process.&lt;br /&gt;
&lt;br /&gt;
Another example solution is demonstrated in [http://www.youtube.com/watch?v=G5FEM7oV168 this YouTube video].&lt;br /&gt;
&lt;br /&gt;
=== Use a static IP address for the server ===&lt;br /&gt;
It will be difficult for the WorldVistA clients to locate the WorldVistA server if the IP address of the server is always changing (i.e. repeatedly assigned a new dynamic IP address by the router/network DHCP server). It is best, therefore, to assign a static IP adress to the server. &lt;br /&gt;
&lt;br /&gt;
The network administrator must assign the static IP address on the LAN for use by the server (especially if a DNS nameserver is in use on the network). Let's say the LAN has a router/gateway address of 192.168.1.1, a static IP address range of 192.168.1.125 - 192.168.1.253, and the server is assigned an IP address of 192.168.1.135. Then the Ubuntu Server can be configured to use this static IP address.&lt;br /&gt;
&lt;br /&gt;
*When the Ubuntu Server OS is running, edit the /etc/network/interfaces configuration file:&lt;br /&gt;
 sudo nano /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
*Make sure the settings are similar to:&lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 #&lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 auto eth0&lt;br /&gt;
 #iface eth0 inet dhcp&lt;br /&gt;
 #&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
 address 192.168.1.135&lt;br /&gt;
 broadcast 192.168.1.255&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
 gateway 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
*Reboot the Ubuntu OS again so that the new IP address is used.&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
{{OpenVistA_Server_functions}}&lt;br /&gt;
&lt;br /&gt;
== Connect with a CPRS client ==&lt;br /&gt;
&lt;br /&gt;
*See the [http://ubuntudoctorsguild.dyndns.org/public/index.php/Astronaut_CPRS_client_package Astronaut CPRS client package] installation and configuration instructions.&lt;br /&gt;
&lt;br /&gt;
== Using the VistA Configuration Utility ==&lt;br /&gt;
&lt;br /&gt;
*See the [http://ubuntudoctorsguild.dyndns.org/public/index.php/VistA_Configuration_Utility VistA Configuration Utility] usage instructions.&lt;br /&gt;
&lt;br /&gt;
== Using the VistA Clinical Scheduling utility ==&lt;br /&gt;
The Clinical Scheduler from the Indian Health System's RPMS system has been imported as one of the modules included with an Astronaut VistA installation. &lt;br /&gt;
 &lt;br /&gt;
*See the [http://ubuntudoctorsguild.dyndns.org/public/index.php/VistA_Clinical_Scheduling_Utility VistA Clinical Scheduling Utility] usage instructions.&lt;br /&gt;
&lt;br /&gt;
== Configure access to the VistA server from the Internet through a virtual server ==&lt;br /&gt;
&lt;br /&gt;
*See [http://ubuntudoctorsguild.dyndns.org/public/index.php/Ubuntu_Virtual_Servers Ubuntu Virtual Servers]&lt;br /&gt;
&lt;br /&gt;
== Other resources ==&lt;br /&gt;
*This page was adapted from the original at [http://ubuntudoctorsguild.dyndns.org/public/index.php/WorldVistA_on_Ubuntu Ubuntu Doctors Guild].&lt;/div&gt;</description>
			<pubDate>Thu, 16 Feb 2012 16:33:21 GMT</pubDate>			<dc:creator>Perspectoff</dc:creator>			<comments>http://easylinux.info/wiki/Talk:WorldVistA_EHR</comments>		</item>
	</channel>
</rss>