Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <module configVersion="1.2">
- <!-- Module Properties -->
- <id>appointment</id>
- <name>Appointment Module</name>
- <version>0.1-SNAPSHOT</version>
- <package>org.openmrs.module.appointment
- </package>
- <author>Tobin,Adam,Yonatan</author>
- <description>
- Module for scheduling patient appointments
- </description>
- <updateURL>https://dev.openmrs.org/modules/download/appointment/update.rdf
- </updateURL>
- <require_version>Between "1.9.2" and "1.10.0-SNAPSHOT"</require_version>
- <!-- / Module Properties -->
- <globalProperty>
- <property>appointment.phoneNumberPersonAttributeTypeId
- </property>
- <defaultValue>8</defaultValue>
- <description>Person attribute type id for the phone number.
- </description>
- </globalProperty>
- <!-- Module Activator -->
- <activator>org.openmrs.module.appointment.AppointmentActivator
- </activator>
- <dwr>
- <allow>
- <convert converter="bean" match="org.openmrs.module.appointment.web.PatientData"/>
- <convert converter="bean" match="org.openmrs.module.appointment.TimeSlot"/>
- <convert converter="bean" match="org.openmrs.module.appointment.AppointmentBlock"/>
- <convert converter="bean" match="org.openmrs.module.appointment.AppointmentType"/>
- <convert converter="bean" match="org.openmrs.Provider"/>
- <convert converter="bean" match="org.openmrs.Location"/>
- <create creator="new" javascript="DWRAppointmentService">
- <param name="class" value="org.openmrs.module.appointment.web.DWRAppointmentService" />
- <include method="getPatientDescription" />
- <include method="getAvailableTimeSlots" />
- <include method="getAppointmentBlocks"/>
- <include method="purgeAppointmentBlock"/>
- </create>
- </allow>
- <signatures>
- <![CDATA[
- import org.openmrs.module.appointment.web.DWRAppointmentService;
- DWRAppointmentService.getPatientDescription(Integer patientId);
- DWRAppointmentService.getAppointmentBlocks(String fromDate,String toDate,Integer locationId);
- DWRAppointmentService.purgeAppointmentBlock(Integer appointmentBlockId)
- ]]>
- <![CDATA[
- import org.openmrs.module.appointment.web.DWRAppointmentService;
- DWRAppointmentService.getAvailableTimeSlots();
- ]]>
- </signatures>
- </dwr>
- <!-- Adds link to admin page -->
- <extension>
- <point>org.openmrs.admin.list</point>
- <class>org.openmrs.module.appointment.extension.html.AdminList
- </class>
- </extension>
- <!-- Maps hibernate file's, if present -->
- <mappingFiles>
- Appointment.hbm.xml
- AppointmentType.hbm.xml
- AppointmentBlock.hbm.xml
- TimeSlot.hbm.xml
- AppointmentStatusHistory.hbm.xml
- </mappingFiles>
- <!-- Internationalization -->
- <!-- All message codes should start with appointment. -->
- <messages>
- <lang>en</lang>
- <file>messages.properties</file>
- </messages>
- <messages>
- <lang>fr</lang>
- <file>messages_fr.properties</file>
- </messages>
- <messages>
- <lang>es</lang>
- <file>messages_es.properties</file>
- </messages>
- <!-- /Internationalization -->
- </module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement