-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMedicationPrescribed.java
More file actions
97 lines (76 loc) · 3.32 KB
/
MedicationPrescribed.java
File metadata and controls
97 lines (76 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package teamprojectsavecare;
/**
*
* @author craig
*/
public class MedicationPrescribed extends Medication {
private String prescriptionId;
private String doctorFirstName;
private String doctorLastName;
private String doctorId;
private String patientId;
private String medicationDatePrescribed;
private String medicationDateEnded;
public MedicationPrescribed(String prescriptionId, String doctorFirstName, String doctorLastName, String doctorId, String patientId, String medicationDatePrescribed, String medicationDateEnded, String companyId, String companyStaffId, String medicationName, String medicationBrand, String medicationSideEffects, String medicationDose, String medicationUse, String medicationDateRecommended, String medicationRecommendation, String medicationId) {
super(companyId, companyStaffId, medicationName, medicationBrand, medicationSideEffects, medicationDose, medicationUse, medicationDateRecommended, medicationRecommendation, medicationId);
this.prescriptionId = prescriptionId;
this.doctorFirstName = doctorFirstName;
this.doctorLastName = doctorLastName;
this.doctorId = doctorId;
this.patientId = patientId;
this.medicationDatePrescribed = medicationDatePrescribed;
this.medicationDateEnded = medicationDateEnded;
}
public MedicationPrescribed() {
}
public String getDoctorId() {
return doctorId;
}
public void setDoctorId(String doctorId) {
this.doctorId = doctorId;
}
public String getPrescriptionId() {
return prescriptionId;
}
public void setPrescriptionId(String prescriptionId) {
this.prescriptionId = prescriptionId;
}
public String getDoctorFirstName() {
return doctorFirstName;
}
public void setDoctorFirstName(String doctorFirstName) {
this.doctorFirstName = doctorFirstName;
}
public String getDoctorLastName() {
return doctorLastName;
}
public void setDoctorLastName(String doctorLastName) {
this.doctorLastName = doctorLastName;
}
public String getPatientId() {
return patientId;
}
public void setPatientId(String patientId) {
this.patientId = patientId;
}
public String getMedicationDatePrescribed() {
return medicationDatePrescribed;
}
public void setMedicationDatePrescribed(String medicationDatePrescribed) {
this.medicationDatePrescribed = medicationDatePrescribed;
}
public String getMedicationDateEnded() {
return medicationDateEnded;
}
public void setMedicationDateEnded(String medicationDateEnded) {
this.medicationDateEnded = medicationDateEnded;
}
@Override
public String toString() {
return super.toString() + "prescriptionId=" + prescriptionId + ", doctorFirstName=" + doctorFirstName + ", doctorLastName=" + doctorLastName + ", patientId=" + patientId + ", medicationDatePrescribed=" + medicationDatePrescribed + ", medicationDateEnded=" + medicationDateEnded + '}';
}
}