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; }
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; }
private void BuildPanelOrder(Test.PanelSetOrder panelSetOrder, XElement panelSetOrderElement) { List <XElement> panelOrderElements = (from poc in panelSetOrderElement.Elements("PanelOrderCollection") select poc).ToList <XElement>(); YellowstonePathology.Business.Panel.Model.PanelCollection panelCollection = YellowstonePathology.Business.Panel.Model.PanelCollection.GetAll(); foreach (XElement panelOrderElement in panelOrderElements.Elements("PanelOrder")) { int panelId = Convert.ToInt32(panelOrderElement.Element("PanelId").Value); YellowstonePathology.Business.Panel.Model.Panel panel = panelCollection.GetPanel(panelId); Test.PanelOrder panelOrder = Test.PanelOrderFactory.GetPanelOrder(panel); YellowstonePathology.Business.Persistence.XmlPropertyWriter xmlPropertyWriter = new YellowstonePathology.Business.Persistence.XmlPropertyWriter(panelOrderElement, panelOrder); xmlPropertyWriter.Write(); BuildTestOrderRightSide(panelOrder, panelOrderElement); panelSetOrder.PanelOrderCollection.Add(panelOrder); } }
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; }