} // end of #endregion #region Clone public override Entity Clone() { EntityPatient newPatient = new EntityPatient(Identifier, PatientClass); newPatient.CorrespondingDoctor = CorrespondingDoctor; return(newPatient); } // end of Clone
} // end of AddPatient #endregion #region RemovePatient /// <summary> /// Removes a patient to the current patient list /// </summary> /// <param name="patient">Patient to remove</param> public void RemovePatient(EntityPatient patient) { _currentPatients.Remove(patient); } // end of RemovePatient
} // end of StaffOutsideShift #endregion //-------------------------------------------------------------------------------------------------- // Methods //-------------------------------------------------------------------------------------------------- #region AddPatient /// <summary> /// Adds a patient to the current patient list /// </summary> /// <param name="patient">Patient to add</param> public void AddPatient(EntityPatient patient) { _currentPatients.Add(patient); } // end of AddPatient