/// <summary> /// Checks if all of the admitted patients assigned are ready for preparation. /// </summary> /// <returns>Boolean value of whether there are no patients that bear the Inactive status</returns> public bool CheckIfMedicinesAssignedAreReady() { return(!(Patients == null) && Patients.Count != 0 && (Patients.All(ap => ap.Remark != PatientAdministrationStatus.Inactive))); }