Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

root/openmrs-modules/dhisconnector/metadata/config.xml

Revision 3148, 3.6 kB (checked in by rcrichton, 1 year ago)

--

  • Property svn:mime-type set to text/plain
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE module PUBLIC "-//OpenMRS//DTD OpenMRS Config 1.0//EN" "http://resources.openmrs.org/doctype/config-1.0.dtd">
3
4 <module configVersion="1.0">
5        
6         <!-- Base Module Properties -->
7         <id>dhisconnector</id>
8         <name>DHIS Connector</name>
9         <version>1.0</version>
10         <package>org.openmrs.module.@MODULE_ID@</package>
11         <author>Phumzile Khumalo</author>
12         <description>
13                         DHIS Module. Used for extracting and constructing messages to be sent to DHIS.
14         </description>
15
16         <activator>@MODULE_PACKAGE@.DhisConnectorActivator</activator>
17        
18         <!-- <updateURL>https://dev.openmrs.org/modules/download/@MODULE_ID@/update.rdf</updateURL> -->
19         <!-- /Base Module Properties -->
20        
21         <require_version>1.1.10.2283</require_version>
22        
23
24         <extension>
25                 <point>org.openmrs.admin.list</point>
26                 <class>@MODULE_PACKAGE@.extension.html.AdminList</class>
27         </extension>
28          
29        
30        
31         <!-- AOP
32         <advice>
33                 <point>org.openmrs.api.FormService</point>
34                 <class>@MODULE_PACKAGE@.advice.DuplicateFormAdvisor</class>
35         </advice>
36          /AOP -->
37        
38        
39        
40         <privilege>
41                 <name>Manage Data Sets</name>
42                 <description>Allows user to access all the available data sets</description>
43         </privilege>
44
45         <privilege>
46                 <name>Send to DHIS</name>
47                 <description>Allows user to choose and send aggregate data to DHIS</description>
48         </privilege>
49        
50
51
52          
53         <globalProperty>
54                 <property>@MODULE_ID@.dhisInput</property>
55                 <defaultValue></defaultValue>
56                 <description>
57                         This specifies the directory where all the inputs for the module are. The directory contains things like the Dataset file.
58                         (ex. C:/Application Data/OpenMRS/DHIS/DHISInput)
59                 </description>
60         </globalProperty>
61
62         <globalProperty>
63                 <property>@MODULE_ID@.dataSetFile</property>
64                 <defaultValue></defaultValue>
65                 <description>
66                         This specifies the file that has the datasets that need to be sent to the DHIS system. The
67                         directory of the file is needed. (ex. C:/Application Data/OpenMRS/DHIS/DHISInput/dataSets.txt)
68                 </description>
69         </globalProperty>
70
71         <globalProperty>
72                 <property>@MODULE_ID@.HL7Archive</property>
73                 <defaultValue></defaultValue>
74                 <description>
75                         This specifies the directory that will hold all HL7 messages sent to DHIS
76                         saved by date. (ex. C:/Application Data/OpenMRS/DHIS/HL7Archive)
77                 </description>
78         </globalProperty>
79
80         <require_modules>
81                 <require_module>org.openmrs.module.mirthmessaging</require_module>
82         </require_modules>
83        
84        
85         <!--
86         <dwr>
87                 <allow>
88                         <create creator="new" javascript="DWRFormEntryService">
89                                 <param name="class" value="org.openmrs.module.@MODULE_ID@.web.DWRFormEntryService"/>
90                                 <include method="enterForm"/>
91                         </create>
92                 </allow>
93
94                 <signatures>
95                         <![CDATA[
96                         import @MODULE_PACKAGE@.web.DWRFormEntryService;
97                         DWRFormEntryService.enterForm(Integer patientId, Integer formId, boolean useEncounter, List<String> fields);
98                         ]]>
99                 </signatures>   
100         </dwr>
101         -->
102        
103         <!-- Servlets -->
104         <!-- Accessed through the url /pageContext()/moduleServlet/<moduleId>/<servlet-name>
105         <servlet>
106                 <servlet-name>formDownload</servlet-name>
107                 <servlet-class>@MODULE_PACKAGE@.web.FormDownloadServlet</servlet-class>
108         </servlet>
109         -->
110         <!-- /Servlets -->
111        
112        
113         <!-- Internationalization -->
114         <!-- All message codes should start with @MODULE_ID@.* -->
115
116        
117         <messages>
118                 <lang>en</lang>
119                 <file>messages.properties</file>
120         </messages>
121         <messages>
122                 <lang>fr</lang>
123                 <file>messages_fr.properties</file>
124         </messages>
125         <messages>
126                 <lang>es</lang>
127                 <file>messages_es.properties</file>
128         </messages>
129         <!-- /Internationalization -->
130        
131 </module>
132
Note: See TracBrowser for help on using the browser.