public static BillableObject GetBillableObject(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
 {
     BillableObject result = null;
     if (IsMountainViewNeo(accessionOrder, reportNo) == true)
     {
         result = new BillableObjectMountainViewNeo(accessionOrder, reportNo);
     }
     else if(IsMedicareProstateNeedleBiopsy(accessionOrder, reportNo) == true)
     {
         result = new BillableObjectMedicareProstateNeedleBiopsy(accessionOrder, reportNo);
     }
     else if(IsAutopsyTechnicalOnly(accessionOrder, reportNo) == true)
     {
         result = new BillableObjectTechnicalOnlyAutopsy(accessionOrder, reportNo);
     }
     else
     {
         result = GetStandardBillableObject(accessionOrder, reportNo);
     }
     return result;
 }
Пример #2
0
        public static BillableObject GetBillableObject(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
        {
            BillableObject result = null;

            if (IsMountainViewNeo(accessionOrder, reportNo) == true)
            {
                result = new BillableObjectMountainViewNeo(accessionOrder, reportNo);
            }
            else if (IsMedicareProstateNeedleBiopsy(accessionOrder, reportNo) == true)
            {
                result = new BillableObjectMedicareProstateNeedleBiopsy(accessionOrder, reportNo);
            }
            else if (IsAutopsyTechnicalOnly(accessionOrder, reportNo) == true)
            {
                result = new BillableObjectTechnicalOnlyAutopsy(accessionOrder, reportNo);
            }
            else
            {
                result = GetStandardBillableObject(accessionOrder, reportNo);
            }
            return(result);
        }