Beispiel #1
0
        ///<summary>Get all non-hidden fee sched fees for a clinic and add to the cache. Cannot be used as part of a transaction.</summary>
        private void AddClinicFees(long clinicNum)
        {
            List <long> listFeeScheds = FeeScheds.GetDeepCopy(true).Select(x => x.FeeSchedNum).ToList();
            List <Fee>  listFees      = Fees.GetByFeeSchedNumsClinicNums(listFeeScheds, new List <long>()
            {
                clinicNum
            });

            Add(listFees);
        }
Beispiel #2
0
        ///<summary>Load the dictionary with the non-hidden fee schedule fees for each of the clinics currently in the queue.</summary>
        public void Initialize()
        {
            List <long> listFeeScheds = FeeScheds.GetDeepCopy(true).Select(x => x.FeeSchedNum).ToList();

            _dict = new FeeCacheDictionary(Fees.GetByFeeSchedNumsClinicNums(listFeeScheds, _queueClinicNums.ToList()));
        }