public int GetRegisterPerson(DateTime startTime, DateTime endTime) { int result = 0; IRegisterInDuration register = this.uow.DomainFactories.CreateRegisterInDuration(EnumOutPatientCategories.OUTPATIENT); var registersList = register.GetRegisterInDuration(startTime, endTime); result = new GetCountFromRegisterList().GetRegisterPersonCount(registersList, startTime, endTime); return(result); }
public int GetAntibioticCategoryNumber(DateTime startTime, DateTime endTime) { int result = 0; IRegisterInDuration register = this.uow.DomainFactories.CreateRegisterFromPrescription(EnumOutPatientCategories.EMERGEMENT); var registersList = register.GetRegisterInDuration(startTime, endTime); result = new GetCountFromRegisterList().GetAntibioticCategoryNumberCount(registersList, startTime, endTime); return(result); }