Esempio n. 1
0
 /// <summary>
 /// Method used to remove a drug from the list.
 /// </summary>
 /// <param name="drug">The drug to be removed.</param>
 public void removeDrug(Drug drug)
 {
     TreatmentCard.removeDrug(drug);
 }
Esempio n. 2
0
 /// <summary>
 /// Method used to remove a drug from the list.
 /// </summary>
 /// <param name="drug">The drug to be removed.</param>
 public void removeDrug(Drug drug)
 {
     Prescription.removeDrug(drug);
 }
Esempio n. 3
0
 /// <summary>
 /// Method used to administer a drug.
 /// Will add the drug to the administered drug list and remove from the regular drug list.
 /// </summary>
 /// <param name="drug">The drug being administered</param>
 /// <param name="administerDate">The date the drug was administered</param>
 /// <param name="administerTime">The time the drug was administered</param>
 /// <param name="nurse">The nurse who administered the drug</param>
 public void administerDrug(Drug drug, DateTime administerDate, string administerTime, Nurse nurse)
 {
     TreatmentCard.administerDrug(drug, administerDate, administerTime, nurse);
 }
Esempio n. 4
0
 /// <summary>
 /// Method used to administer a drug.
 /// Will add the drug to the administered drug list and remove from the regular drug list.
 /// </summary>
 /// <param name="drug">The drug being administered</param>
 /// <param name="administerDate">The date the drug was administered</param>
 /// <param name="administerTime">The time the drug was administered</param>
 /// <param name="nurse">The nurse who administered the drug</param>
 public void administerDrug(Drug drug, DateTime administerDate, string administerTime, Nurse nurse)
 {
     Prescription.administerDrug(drug, administerDate, administerTime, nurse);
 }
 /// <summary>
 /// Method used to remove a drug from the patients prescription.
 /// </summary>
 /// <param name="patient">Patient who will have prescription altered</param>
 /// <param name="drug">The drug to be removed.</param>
 public void removeDrug(Patient patient, Drug drug)
 {
     patient.removeDrug(drug);
 }
 /// <summary>
 /// Method used to administer a drug.
 /// </summary>
 /// <param name="patient">The patient who the drug will be administered to</param>
 /// <param name="drug">The drug being administered</param>
 /// <param name="administerDate">The date the drug was administered</param>
 /// <param name="administerTime">The time the drug was administered</param>
 /// <param name="nurse">The nurse who administered the drug</param>
 public void administerDrug(Patient patient, Drug drug, DateTime administerDate, string administerTime, Nurse nurse)
 {
     patient.administerDrug(drug, administerDate, administerTime, nurse);
 }
 /// <summary>
 /// Method used to administer a drug.
 /// Will add the drug to the administered drug list and remove from the regular drug list.
 /// </summary>
 /// <param name="drug">The drug being administered</param>
 /// <param name="administerDate">The date the drug was administered</param>
 /// <param name="administerTime">The time the drug was administered</param>
 /// <param name="nurse">The nurse who administered the drug</param>
 public void administerDrug(Drug drug, DateTime administerDate, string administerTime, Nurse nurse)
 {
     drug.administerDrug(administerDate, administerTime, nurse);
     administeredDrugList.Add(drug);
     removeDrug(drug);
 }
 /// <summary>
 /// Method used to remove a drug from the list.
 /// </summary>
 /// <param name="drug">The drug to be removed.</param>
 public void removeDrug(Drug drug)
 {
     drugList.Remove(drug);
 }