This is deprecated
seperatly. We have it embedded in dcm4chee.
Warning |
---|
This page and steps below are deprecated and not required. We don't install Oviyam2 |
separately now in Bahmni. dcm4chee is embedded in Bahmni installer as an optional installation component. Please see this document: Bahmni Advanced Installation. |
If oviyam2 to be installed on tomcat only then follow below instructions else follow http://www.dcm4che.org/confluence/display/OV/Oviyam+Installation
Download Oviyam-2.1-bin.zip from the link below
http://sourceforge.net/projects/dcm4che/files/Oviyam/2.1/
Extract the war file downloaded using the following command
Info jar -xvf filename.war
Open the extracted source code in IDE
In web.xml
4.1 comment the following
Info icon false <security-constraint>
<web-resource-collection>
<web-resource-name>dispatcher</web-resource-name>
<description>Only allows users with the role WebAdmin to access the Archive Web Administration pages</description>
<url-pattern>*.jsp</url-pattern>
<url-pattern>*.html</url-pattern>
<url-pattern>*.do</url-pattern>
<url-pattern>/oviyam</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
4.2 uncomment the following
Info <servlet-mapping>
<servlet-name>ConfigurationServlet</servlet-name>
<url-pattern>/configuration.do</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ConfigurationServlet</servlet-name>
<servlet-class>in.raster.oviyam.servlet.ConfigurationServlet</servlet-class>
</servlet
In config.html, remove the if else condition below and just use the command $( "#tabs" ).tabs();
Info if(role == 'Admin') {
$( "#tabs" ).tabs();
} else {
$( "#tabs" ).tabs().tabs( "remove", 0);
}Reason : We are not using any login credentials and by default we need to see all the tabs. But as per the code, if you logged in as admin then only you will be able to see all the tabs.
Build war file again using IDE.
Copy the war file to tomcat/webapps
Copy the following line to apache-tomcat-8.0.12/bin/setenv.sh:
Info CLASSPATH="/home/bahmni/apache-tomcat-8.0.12/webapps/oviyam2/WEB-INF/lib/*"
- if it is still not working do the following:
Copy the files from Oviyam2.1-bin/tomcat to tomcat/lib
Access the Patient Order using the below URL template
Info
...