Ejemplo n.º 1
0
        } // end of

        #endregion

        #region Clone

        public override Entity Clone()
        {
            EntityPatient newPatient = new EntityPatient(Identifier, PatientClass);

            newPatient.CorrespondingDoctor = CorrespondingDoctor;

            return(newPatient);
        } // end of Clone
Ejemplo n.º 2
0
        } // 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
Ejemplo n.º 3
0
        } // 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