Exemplo n.º 1
0
        public PanelSet()
        {
            this.m_ImplementedResultTypes = new List <string>();

            this.m_IsBillable       = true;
            this.m_NeverDistribute  = false;
            this.m_Active           = true;
            this.m_ExpectedDuration = TimeSpan.FromDays(7);

            this.m_PanelCollection = new Business.Panel.Model.PanelCollection();
            this.m_UniversalServiceIdCollection = new Business.ClientOrder.Model.UniversalServiceCollection();
            this.m_PanelSetCptCodeCollection    = new Business.Billing.Model.PanelSetCptCodeCollection();
            this.m_TaskCollection = new YellowstonePathology.Business.Task.Model.TaskCollection();

            this.m_ShowResultPageOnOrder       = false;
            this.m_CanHaveMultipleOrderTargets = false;
            this.m_HasNoOrderTarget            = false;
            this.m_AttemptOrderTargetLookup    = false;
            this.m_RequiresAssignment          = true;
            this.m_IsClientAccessioned         = false;

            this.m_ReportAsAdditionalTesting = true;
            this.m_MonitorPriority           = MonitorPriorityCritical;

            this.m_OrderTargetTypeCollectionExclusions   = new YellowstonePathology.Business.OrderTargetTypeCollection();
            this.m_OrderTargetTypeCollectionRestrictions = new YellowstonePathology.Business.OrderTargetTypeCollection();

            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.PanelSetOrder).AssemblyQualifiedName;
            this.m_WordDocumentClassName  = typeof(YellowstonePathology.Business.Document.NothingToPublishReport).AssemblyQualifiedName;
        }
Exemplo n.º 2
0
        /*
         * public YellowstonePathology.Business.Interface.IOrderTarget GetOrderTarget(YellowstonePathology.Business.OrderTargetTypeCollection orderTargetTypeCollection)
         * {
         *  YellowstonePathology.Business.Interface.IOrderTarget result = null;
         *  foreach (SpecimenOrder specimenOrder in this)
         *  {
         *      if (orderTargetTypeCollection.Exists(specimenOrder) == true)
         *      {
         *          result = specimenOrder;
         *          break;
         *      }
         *  }
         *  return result;
         * }
         */

        public YellowstonePathology.Business.Interface.IOrderTarget GetOrderTarget(YellowstonePathology.Business.OrderTargetTypeCollection orderTargetTypeCollection)
        {
            SpecimenOrder result = null;

            foreach (SpecimenOrder specimenOrder in this)
            {
                if (orderTargetTypeCollection.Exists(specimenOrder) == true)
                {
                    result = specimenOrder;
                    break;
                }
            }
            return(result);
        }
Exemplo n.º 3
0
        public bool Exists(YellowstonePathology.Business.OrderTargetTypeCollection orderTargetTypeCollection)
        {
            bool result = false;

            foreach (SpecimenOrder specimenOrder in this)
            {
                if (orderTargetTypeCollection.Exists(specimenOrder) == true)
                {
                    result = true;
                    break;
                }
            }
            return(result);
        }
Exemplo n.º 4
0
        public PanelSet()
        {
            this.m_IsBillable       = true;
            this.m_NeverDistribute  = false;
            this.m_Active           = true;
            this.m_ExpectedDuration = TimeSpan.FromDays(7);

            this.m_PanelCollection = new Business.Panel.Model.PanelCollection();
            this.m_UniversalServiceIdCollection = new Business.ClientOrder.Model.UniversalServiceCollection();
            this.m_PanelSetCptCodeCollection    = new Business.Billing.Model.PanelSetCptCodeCollection();
            this.m_TaskCollection = new YellowstonePathology.Business.Task.Model.TaskCollection();

            this.m_ShowResultPageOnOrder       = false;
            this.m_CanHaveMultipleOrderTargets = false;
            this.m_HasNoOrderTarget            = false;
            this.m_AttemptOrderTargetLookup    = false;
            this.m_RequireAssignmentOnOrder    = true;
            this.m_IsClientAccessioned         = false;

            this.m_OrderTargetTypeCollectionExclusions   = new YellowstonePathology.Business.OrderTargetTypeCollection();
            this.m_OrderTargetTypeCollectionRestrictions = new YellowstonePathology.Business.OrderTargetTypeCollection();

            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.PanelSetOrder).AssemblyQualifiedName;
        }
Exemplo n.º 5
0
 public YellowstonePathology.Business.OrderTargetCollection GetOrderTargetCollection(YellowstonePathology.Business.OrderTargetTypeCollection orderTargetTypeExclusionCollection)
 {
     YellowstonePathology.Business.OrderTargetCollection result = new YellowstonePathology.Business.OrderTargetCollection();
     foreach (YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder in this)
     {
         if (orderTargetTypeExclusionCollection.Exists(specimenOrder) == false)
         {
             result.Add(specimenOrder);
         }
     }
     return(result);
 }
Exemplo n.º 6
0
        public PanelSet()
        {
            this.m_IsBillable = true;
            this.m_NeverDistribute = false;
            this.m_Active = true;
            this.m_ExpectedDuration = TimeSpan.FromDays(7);

            this.m_PanelCollection = new Business.Panel.Model.PanelCollection();
            this.m_UniversalServiceIdCollection = new Business.ClientOrder.Model.UniversalServiceCollection();
            this.m_PanelSetCptCodeCollection = new Business.Billing.Model.PanelSetCptCodeCollection();
            this.m_TaskCollection = new YellowstonePathology.Business.Task.Model.TaskCollection();

            this.m_ShowResultPageOnOrder = false;
            this.m_CanHaveMultipleOrderTargets = false;
            this.m_HasNoOrderTarget = false;
            this.m_AttemptOrderTargetLookup = false;
            this.m_RequireAssignmentOnOrder = true;
            this.m_IsClientAccessioned = false;

            this.m_EpicDistributionIsImplemented = false;
            this.m_CMMCDistributionIsImplemented = false;

            this.m_OrderTargetTypeCollectionExclusions = new YellowstonePathology.Business.OrderTargetTypeCollection();
            this.m_OrderTargetTypeCollectionRestrictions = new YellowstonePathology.Business.OrderTargetTypeCollection();

            this.m_PanelSetOrderClassName = typeof(YellowstonePathology.Business.Test.PanelSetOrder).AssemblyQualifiedName;
            this.m_WordDocumentClassName = typeof(YellowstonePathology.Business.Document.NothingToPublishReport).AssemblyQualifiedName;
        }