openhie / openinfoman-tz

OpenInfoMan suport for Tanzania

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openinfoman-tz

OpenInfoMan TZ

Converting an organizational hierarchy for Tanzania into a CSD document.

Ubuntu Installation

You can easily install on Ubuntu 14.04 and Ubuntu 14.10 using the following commands

sudo add-apt-repository ppa:openhie/release
sudo apt-get update
sudo apt-get install openinfoman-tz

Once installed, you should be able to access OpenInfoMan at:

http://localhost:8984/CSD

Manual Installation

Assumes that you have installed BaseX and OpenInfoMan according to:

https://github.com/openhie/openinfoman/wiki/Install-Instructions

Directions

To get the libarary:

cd ~/
git clone https://github.com/openhie/openinfoman-tz

Library Module

There is no library module at the time of writing.

Stored Functions

To install the stored functions you can do:

cd ~/basex/resources/stored_query_definitions
ln -sf ~/openinfoman-tz/resources/stored_query_definitions/* .
ln -sf ~/openinfoman-tz/resources/stored_updating_query_definitions/* .

Be sure to reload the stored functions:

https://github.com/openhie/openinfoman/wiki/Install-Instructions#Loading_Stored_Queries

RapidPro Endpoints

To make the GET endpoints available:

cd ~/basex/webapp
ln -sf ~/openinfoman-tz/webapp/openinfoman_resourcemap_bindings.xqm

About

OpenInfoMan suport for Tanzania

License:Apache License 2.0


Languages

Language:PHP 66.9%Language:XQuery 22.9%Language:JavaScript 4.9%Language:Shell 4.1%Language:Makefile 1.3%