Link to the Git Hub : https://github.com/surangak/HguSriLanka
The variable val has been loaded with the XML value of the pedigree and that has been changed to base 64 encoded. The base 64 encoded value has been saved to the hidden variable XML.
Following segment defines the container for the jspedigree drawing tool
<div id ="ped">
<section id="pedigree" sectionTag="section" headerStyle="title" headerCode="Pedigree Drawing">
<legend>Pedigree Drawing Tool</legend>
<tr><td ><b>5.0 Family History</b> </td><td></td></tr>
<tr><td>5.2 Pedigree chart (Please draw a 3 generation pedigree and indicate affected members if known)</td><td></td></tr>
<tr><td colspan="2" id="jsPedigreesContainer" height="600px" width="200px"></td></tr>
This is one major feature which is still under construction at the time of writing this wiki page. Image upload works in the Old UI of OpenMRS but in the new UI it has to be fixed.