コード例 #1
0
        public static ClientOrder GetClientOrder(Nullable <int> panelSetId)
        {
            ClientOrder result = null;

            if (panelSetId.HasValue == true)
            {
                switch (panelSetId)
                {
                case 13:
                    result = new SurgicalClientOrder();
                    break;

                case 15:
                    result = new CytologyClientOrder();
                    break;

                default:
                    result = new ClientOrder();
                    break;
                }
            }
            else
            {
                result = new ClientOrder();
            }
            return(result);
        }
コード例 #2
0
 public static ClientOrder GetSpecificClientOrder(YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet)
 {
     ClientOrder result = null;
     switch (panelSet.PanelSetId)
     {
         case 13:
             result = new SurgicalClientOrder();
             break;
         case 15:
             result = new CytologyClientOrder();
             break;
     }
     return result;
 }
コード例 #3
0
        public static ClientOrder GetSpecificClientOrder(YellowstonePathology.Business.PanelSet.Model.PanelSet panelSet)
        {
            ClientOrder result = null;

            switch (panelSet.PanelSetId)
            {
            case 13:
                result = new SurgicalClientOrder();
                break;

            case 15:
                result = new CytologyClientOrder();
                break;
            }
            return(result);
        }
コード例 #4
0
 public static ClientOrder GetClientOrder(SpecimenTypeEnum specimenType)
 {
     ClientOrder result = null;
     switch (specimenType)
     {
         case SpecimenTypeEnum.Surgical:
             result = new SurgicalClientOrder();
             break;
         case SpecimenTypeEnum.ThinPrepPap:
             result = new CytologyClientOrder();
             break;
         default:
             result = new ClientOrder();
             break;
     }
     return result;
 }
コード例 #5
0
        public static ClientOrder GetClientOrder(SpecimenTypeEnum specimenType)
        {
            ClientOrder result = null;

            switch (specimenType)
            {
            case SpecimenTypeEnum.Surgical:
                result = new SurgicalClientOrder();
                break;

            case SpecimenTypeEnum.ThinPrepPap:
                result = new CytologyClientOrder();
                break;

            default:
                result = new ClientOrder();
                break;
            }
            return(result);
        }
コード例 #6
0
 public static ClientOrder GetClientOrder(Nullable<int> panelSetId)
 {
     ClientOrder result = null;
     if (panelSetId.HasValue == true)
     {
         switch (panelSetId)
         {
             case 13:
                 result = new SurgicalClientOrder();
                 break;
             case 15:
                 result = new CytologyClientOrder();
                 break;
             default:
                 result = new ClientOrder();
                 break;
         }
     }
     else
     {
         result = new ClientOrder();
     }
     return result;
 }