Skip to content
No description, website, or topics provided.
JavaScript CSS HTML Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Inside the HGU folder there is the source code for the hgu module which holds the reource files needed for the jspedigree drawing tool.

You can simply add this module to the modules folder which inside the app folder.

Steps to build

  1. Go to the root fodler and run a mvn clean install

  2. Go to the target folder and copy the omod file created

  3. Copy the file to the Modules folder inside App Data Folder

  4. Re Deploy OpenMRS

  5. In order to get the funcationality, use the following code at the beginning of the HTML form

       <script type="text/javascript" src="../../moduleResources/hgu/scripts/jspedigrees/jspedigrees.nocache.js"></script>
       <script type="text/javascript" src="../..//moduleResources/hgu/scripts/jspedigrees-view/jspedigrees.nocache.js"></script> 
  6. You can look at how the jspedigree has been loaded in to the html form when you look at the "html_form.html" file. There you will come across a sction within an id named pedigree. That is the part which generates the drawing tool.

Wiki Page : Blog Post Links : Week 1 : Week 2 : Week 3 : Week 4 : Week 5 :

You can’t perform that action at this time.