Advertisement
harshadura

as

Jul 15th, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. package org.openmrs.module.patientnarratives.extension.html;
  2.  
  3. import org.openmrs.module.web.extension.LinkExt;
  4.  
  5. public class GutterListExt extends LinkExt {
  6.  
  7. String urlg = "";
  8. String label = "";
  9.  
  10. public String getLabel() {
  11. label = "Patient Narratives";
  12. return this.label;
  13. }
  14.  
  15. public String getUrl() {
  16. urlg = "module/patientnarratives/patientNarrativesForm.form";
  17. return this.urlg;
  18. }
  19.  
  20. /**
  21. * Returns the required privilege in order to see this section. Can be a
  22. * comma delimited list of privileges. If the default empty string is
  23. * returned, only an authenticated user is required
  24. *
  25. * @return Privilege string
  26. */
  27. public String getRequiredPrivilege() {
  28. return "Add Patient Narratives";
  29. }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement