Overview of Debian Packaging for VistA - luisibanez/debian-med-vista GitHub Wiki
Once installed in a production machine, VistA is a system running on a MUMPS database.
The Debian packaging involves:
- Downloading the VistA source code from a Git repository
- Exporting the code and data from the repository into a file format that can be imported in a MUMPS database
- Creating the MUMPS database that will host the system
- Importing the VistA code and data into the database
- Performing a set of configuration steps
This Debian package is intended to be good enough for making easier for Debian users to give a try to VistA. It is not intended to be the robust installation that could be deployed in a Clinical Facility. Please treat it as an Educational resource at this point.
We need to pick a directory to install the database. The current suggestion is:
/usr/share/vista-ehr/
This will have the following subdirectories
-
/usr/share/vista-ehr/r
-
/usr/share/vista-ehr/o
-
/usr/share/vista-ehr/g
-
/usr/share/vista-ehr/g/database.gld
The "r" subdirectory will contain all the .m routines (about 26,000). The "o" subdirectory will contain the result of compiling the .m routines The "g" subdirectory holds the database with globals (starts at about 900Mb) once VistA is installed without any actual (patient) data.
How to build
- make -f debian/rules get-orig-source
- cd ..
- tar -xzf OSEHRA-OSEHRA-Automated-Testing-1bc4122.orig.tar.gz
- tar -xzf OSEHRA-VistA-FOIA-d7fb400.orig.tar.gz
- cd OSEHRA-OSEHRA-Automated-Testing-1bc4122
- cp -a ../trunk/debian/ .
- debuild | tee /tmp/build.log