Advertisement
Guest User

Untitled

a guest
Mar 11th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. package org.openmrs.module.amrsordermodule.models;
  2.  
  3. import org.openmrs.Concept;
  4. import org.openmrs.Order;
  5. import org.openmrs.OrderFrequency;
  6.  
  7. import javax.persistence.*;
  8.  
  9. public class ProcedureOrder extends Order {
  10.  
  11. public static final long serialVersionUID = 1780L;
  12.  
  13. public enum Laterality {
  14. LEFT, RIGHT, BILATERAL
  15. }
  16.  
  17. private String clinicalHistory;
  18.  
  19. private Concept procedureName;
  20.  
  21. private OrderFrequency frequency;
  22.  
  23. private boolean requiresSpecimen;
  24.  
  25. private Concept specimenSource;
  26.  
  27. private int numberOfRepeats;
  28.  
  29. private Laterality laterality;
  30.  
  31. private String testNotes;
  32.  
  33. public ProcedureOrder() {
  34. }
  35.  
  36. public Concept getProcedureName() {
  37. return procedureName;
  38. }
  39.  
  40. public void setProcedureName(Concept procedureName) {
  41. this.procedureName = procedureName;
  42. }
  43.  
  44. public OrderFrequency getFrequency() {
  45. return frequency;
  46. }
  47.  
  48. public void setFrequency(OrderFrequency frequency) {
  49. this.frequency = frequency;
  50. }
  51.  
  52. public String getClinicalHistory() {
  53. return clinicalHistory;
  54. }
  55.  
  56. public void setClinicalHistory(String clinicalHistory) {
  57. this.clinicalHistory = clinicalHistory;
  58. }
  59.  
  60. public boolean isRequiresSpecimen() {
  61. return requiresSpecimen;
  62. }
  63.  
  64. public void setRequiresSpecimen(boolean requiresSpecimen) {
  65. this.requiresSpecimen = requiresSpecimen;
  66. }
  67.  
  68. public Concept getSpecimenSource() {
  69. return specimenSource;
  70. }
  71.  
  72. public void setSpecimenSource(Concept specimenSource) {
  73. this.specimenSource = specimenSource;
  74. }
  75.  
  76. public int getNumberOfRepeats() {
  77. return numberOfRepeats;
  78. }
  79.  
  80. public void setNumberOfRepeats(int numberOfRepeats) {
  81. this.numberOfRepeats = numberOfRepeats;
  82. }
  83.  
  84. public Laterality getLaterality() {
  85. return laterality;
  86. }
  87.  
  88. public void setLaterality(Laterality laterality) {
  89. this.laterality = laterality;
  90. }
  91.  
  92. public String getTestNotes() {
  93. return testNotes;
  94. }
  95.  
  96. public void setTestNotes(String testNotes) {
  97. this.testNotes = testNotes;
  98. }
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement