Example #1
0
            public int GetRegisterPerson(DateTime startTime, DateTime endTime)
            {
                int result        = 0;
                var register      = this.innerFactory.CreateRegisterInDuration(EnumOutPatientCategories.OUTPATIENT);
                var registersList = register.GetRegisterInDuration(startTime, endTime);

                result = new GetCountFromRegisterList().GetRegisterPersonCount(registersList, startTime, endTime);
                return(result);
            }
Example #2
0
            public int GetAntibioticCategoryNumber(DateTime startTime, DateTime endTime)
            {
                int result = 0;

                var register      = this.innerFactory.CreateRegisterFromPrescription(EnumOutPatientCategories.OUTPATIENT_EMERGEMENT);
                var registersList = register.GetRegisterInDuration(startTime, endTime);

                result = new GetCountFromRegisterList().GetAntibioticCategoryNumberCount(registersList, startTime, endTime);

                return(result);
            }