I need to know how to edit the view method of OpenMRS HTML forms. Since I am embedding a third party library in order to get the functionality for JsPedigrees(pedigree drawing tool) when it comes to viewing saved OpenMRS forms I need to load a saved XML value to the jspedigrees method setStateXML() in order to draw the pedigree. How can I edit this in order to load the XML related to the pedigree?
Edit : The third party library is not loaded in the patient dashboard page where vitals are shown( I categorized the HTML form as a vital) . Is there a reason for this? if I can fix this I am sure it would solve the issue.
Have you tried importing the JS library in the form source? It seems the logical place to do it, unless the HTML forms engine does not recognize it (in this case, you will need to hack the engine).
@lluismf Sure I will do so, this points to another question, the reference application has .gsp files (not .jsp as the older GUI ). Should I still do the same manner you suggested?