The GNU Health Plugins are client-side programs that provide extra functionality. They are installed locally.
Initialize the plugin directory
The GNU Health plugins are installed in your $HOME directory, under "gnuhealth_plugins".
In order to keep the GNU Health plugins across the Tryton compatible with the current GNU Health, you need to create a link to the GNU Health plugins directory
ln -si $HOME/gnuhealth_plugins $HOME/.config/tryton/3.8/plugins
The GNU Health Camera
The GNU Health camera plugin allows to visualize, transfer and store media from a webcam device ( camera, microscope, ... ).
There are many contexts where the camera is useful, some of them :
- Person or patient registration
- Domiciliary units surveys
- Histological studies
- EKG strips
- Dx Imaging
The information captured by the device will be transferred and stored in the GNU Health server.
The GNU Health camera uses the excellent Open Computer Vision library ("OpenCV"). You need to install the opencv package for your operating system.
How to check the correct installation of OpenCV: import the module CV2 in the python interpreter
$ python2 Python 2.7.11 (default, Mar 31 2016, 06:18:34) [GCC 5.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import cv2 >>>
If no errors, the installation is successful!
Installing the GNU Health Camera
Download and uncompress the latest version from GNU into your home directory
cd $HOME wget ftp://ftp.gnu.org/gnu/health/plugins/gnuhealth-camera-plugin-latest.tar.gz tar -xzvf gnuhealth-camera-plugin-latest.tar.gz
Restart the client
Invoking the GNU Health Camera
From the client, click on the Launch action icon, and select "GNU Health Camera"
Using the Camera
"a" : attach any media taken from the camera device into the current model.
[SPACE] : store the media as a binary field, for instance, as the person / patient picture. To store the media as a picture, press the SPACE bar. Currently GNU Health has the party model person picture predefined.
"h" : Show the help menu
"q" : Quit the camera
After you transfer the media, you need to refresh the current view [CONTROL + R]
GNU Health Crypto plugin
GNU Health allows signing and encrypting documents with the GNU Privacy Guard plugin.
The Crypto plugin works along with the GNU Health Crypto Module .
||These packages are installed in the client, NOT in the server|
In order to use it, you need the following in your client:
- The GNU Health crypto plugin for the Tryton client, shipped with the main tarball (under the backend/plugins directory). Since 2.8.0, the GNU Health Tryton crypto plugin will be a separate package.
- The GPG package (comes with most modern operating systems).
- The python-gnupg library (https://pypi.python.org/pypi/python-gnupg).
Installation of the Crypto plugin
We assume you have installed the Tryton client using the sources . Suppose you are using the Tryton client 3.4.1 in your $HOME dir
Place the "crypto" directory containing the plugin under the "gnuhealth_plugins" of your client.
cp -a gnuhealth_crypto_plugin_dir $HOME/gnuhealth_plugins