Advertisement
Guest User

Untitled

a guest
Jan 9th, 2013
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <module configVersion="1.2">
  4.  
  5. <!-- Module Properties -->
  6. <id>appointment</id>
  7. <name>Appointment Module</name>
  8. <version>0.1-SNAPSHOT</version>
  9. <package>org.openmrs.module.appointment
  10. </package>
  11. <author>Tobin,Adam,Yonatan</author>
  12. <description>
  13. Module for scheduling patient appointments
  14. </description>
  15. <updateURL>https://dev.openmrs.org/modules/download/appointment/update.rdf
  16. </updateURL>
  17. <require_version>Between "1.9.2" and "1.10.0-SNAPSHOT"</require_version>
  18. <!-- / Module Properties -->
  19. <globalProperty>
  20. <property>appointment.phoneNumberPersonAttributeTypeId
  21. </property>
  22. <defaultValue>8</defaultValue>
  23. <description>Person attribute type id for the phone number.
  24. </description>
  25. </globalProperty>
  26.  
  27. <!-- Module Activator -->
  28. <activator>org.openmrs.module.appointment.AppointmentActivator
  29. </activator>
  30.  
  31. <dwr>
  32. <allow>
  33. <convert converter="bean" match="org.openmrs.module.appointment.web.PatientData"/>
  34. <convert converter="bean" match="org.openmrs.module.appointment.TimeSlot"/>
  35. <convert converter="bean" match="org.openmrs.module.appointment.AppointmentBlock"/>
  36. <convert converter="bean" match="org.openmrs.module.appointment.AppointmentType"/>
  37. <convert converter="bean" match="org.openmrs.Provider"/>
  38. <convert converter="bean" match="org.openmrs.Location"/>
  39. <create creator="new" javascript="DWRAppointmentService">
  40. <param name="class" value="org.openmrs.module.appointment.web.DWRAppointmentService" />
  41. <include method="getPatientDescription" />
  42. <include method="getAvailableTimeSlots" />
  43. <include method="getAppointmentBlocks"/>
  44. <include method="purgeAppointmentBlock"/>
  45. </create>
  46. </allow>
  47.  
  48. <signatures>
  49. <![CDATA[
  50. import org.openmrs.module.appointment.web.DWRAppointmentService;
  51. DWRAppointmentService.getPatientDescription(Integer patientId);
  52. DWRAppointmentService.getAppointmentBlocks(String fromDate,String toDate,Integer locationId);
  53. DWRAppointmentService.purgeAppointmentBlock(Integer appointmentBlockId)
  54. ]]>
  55. <![CDATA[
  56. import org.openmrs.module.appointment.web.DWRAppointmentService;
  57. DWRAppointmentService.getAvailableTimeSlots();
  58. ]]>
  59. </signatures>
  60. </dwr>
  61.  
  62.  
  63. <!-- Adds link to admin page -->
  64. <extension>
  65. <point>org.openmrs.admin.list</point>
  66. <class>org.openmrs.module.appointment.extension.html.AdminList
  67. </class>
  68. </extension>
  69.  
  70. <!-- Maps hibernate file's, if present -->
  71. <mappingFiles>
  72. Appointment.hbm.xml
  73. AppointmentType.hbm.xml
  74. AppointmentBlock.hbm.xml
  75. TimeSlot.hbm.xml
  76. AppointmentStatusHistory.hbm.xml
  77. </mappingFiles>
  78.  
  79. <!-- Internationalization -->
  80. <!-- All message codes should start with appointment. -->
  81. <messages>
  82. <lang>en</lang>
  83. <file>messages.properties</file>
  84. </messages>
  85. <messages>
  86. <lang>fr</lang>
  87. <file>messages_fr.properties</file>
  88. </messages>
  89. <messages>
  90. <lang>es</lang>
  91. <file>messages_es.properties</file>
  92. </messages>
  93. <!-- /Internationalization -->
  94.  
  95. </module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement