Looking for the latest version? Download medisis.zip (30.7 MB)
Home
Name Modified Size Downloads / Week Status
Totals: 2 Items   30.7 MB 2
medisis.zip 2013-04-24 30.7 MB 11 weekly downloads
readme.txt 2011-07-17 4.1 kB 11 weekly downloads
Java Before development I noticed that all types of operating systems were used in the hospital by various people. Microsoft, Snow Leopard and so on and so forth. Java was thus a natural choice for development due to th fact that it is platform independant. No pre process switches or any of the fun stuff you see in a language like C++. Java is totally free and open source. To install simply download the applicable JRE (Java Runtime Environment) and install it. Some componies other than Microsoft package this runtime environment with there software. Snow leopard is an example. If this is the case you don't need to do anything. Once java is up and running on you machine double click the jar file and it should open the application. This should be evident by you reading this. Database In development postgreSQL was chosen as database engen for this application. Version 8.4.8 was used. After installing the JVM as described above you should install postgreSQL 8.4.8. You can look at the documentation for this open source relational database engen on the net and get it working. I would suggest running a database server separatly from all others. This server should have at least 250GB of space avalable on it. Technically speaking you clould set it up on a Windows server, it would work. But concidering the price for one of those I would suggest something like UBUNTU, a linux server that is free of charge and in my opinion more stable. You have to connect to the database using the terminal to configure and create tables. You should also install the termcap libraries and get a master termcap file of the net. To install the termcap libraries the following command can be issued from a terminal. <i>apt-get install libncurses5-dev</i>. The termcap file can be retrieved from <i>http://www.catb.org/~esr/terminfo/</i> When postgreSQL is up and running and all environment varibles are setup. Run the following command from a terminal <i>createdb --owner postgres medisis</i>. When this command returns the MediSis database has been created. Connect to the database issuing the following command. <i>psq -U postgres medisis</i>. Once conected run the configuration script by typing <i>\i create_schema.sql</i> note that you must have connected to the database from the directory that contains this file otherwize you will have to specify a full path to the file. Once all is configured on the postgreSQL side. You have to make an entry into the crontab file for reindexing purposes. If this is not done the database will get slow after a while. To make this entry issue the following command from the command prompt. <i>sudo crontab -e</i>. This will open the crontab file. Enter the following line into that file. <i>0 2 * * * reindexdb -w -q -s medisis</i>. Save and quit. The last step is to configure the .pgpass file for the database. This file is used to lookup passwords for batch jobs on a system. Type the following <i>sudo vim /root/.pgpass</i> enter the following <i>localhost:5432:medisis:postgres:password</i> where password is the password you selected in setting up the database. Save entries. For security perposes this file needs to have specific premissions. Issue the following command <i>sudo chmod 0600 /root/.pgpass</i> from a terminal. All this should be done on one computer that is dedicated to the database JBoss The application server chosen for this was JBoss 6 AS. This was because of the JAX-WS-2.2 technology used in the Service orientated architecture (SOA) design of the solution. JBoss 6 AS is an open source server and the complete server is free of charge. If you want red-hat support though you'll have to pay. Get JBoss set up and configure a datasource to point to the database that was setup above. This datasource JNDI name is <i>MedisisDB</i>. When this is done. deploy the ear file <i>Medisis-ear.ear</i> to the server and you should be up and running. Set up ssl on jboss port 80 for the web application and your ready to go.
Source: readme.txt, updated 2011-07-17