示例#1
0
            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);
            }
示例#2
0
            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);
            }