Ejemplo n.º 1
0
        /// <summary>
        /// Remove the encounter by ID
        /// </summary>
        /// <param name="encounterId">ID of the encounter to remove</param>
        /// <returns>If the encounter was successfully removed</returns>
        public bool RemoveEncounter(int encounterId)
        {
            foreach (PatientCheckIn checkIn in PatientCheckIns)
            {
                if (checkIn.Id == encounterId)
                {
                    PatientCheckIns.Remove(checkIn);
                    return(true);
                }
            }

            return(false);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Remove encounter from a patient check in
 /// </summary>
 /// <param name="checkIn">check in to remove the encounter from</param>
 public void RemoveEncounter(PatientCheckIn checkIn)
 {
     PatientCheckIns.Remove(checkIn);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Add encounter to a patient check in
 /// </summary>
 /// <param name="checkIn">check in to add the encounter to</param>
 public void AddEncounter(PatientCheckIn checkIn)
 {
     PatientCheckIns.Add(checkIn);
 }