Beispiel #1
0
        public PathologistUI(System.Windows.Controls.TabItem writer)
        {
            this.m_Writer         = writer;
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_OrderCollection        = new YellowstonePathology.Business.Test.PanelOrderCollection();
            this.m_PathologistHistoryList = new YellowstonePathology.Business.Surgical.PathologistHistoryList();

            this.m_SelectedTabIndex = 0;

            this.m_PathologistSearch = new YellowstonePathology.Business.Search.PathologistSearch(this.m_Writer);
            this.m_PathologistUsers  = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetPathologistUsers();

            this.m_FieldEnabler   = new YellowstonePathology.Business.Common.FieldEnabler();
            this.m_AmendmentUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);

            this.m_PanelSetIdsThatCanOrderStains = new List <int>();
            YellowstonePathology.Business.Test.Surgical.SurgicalTest surgicalTest = new Business.Test.Surgical.SurgicalTest();
            this.m_PanelSetIdsThatCanOrderStains.Add(surgicalTest.PanelSetId);
            YellowstonePathology.Business.Test.TechnicalOnly.TechnicalOnlyTest technicalOnlyTest = new Business.Test.TechnicalOnly.TechnicalOnlyTest();
            this.m_PanelSetIdsThatCanOrderStains.Add(technicalOnlyTest.PanelSetId);
            YellowstonePathology.Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest reviewForAdditionalTestingTest = new Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest();
            this.m_PanelSetIdsThatCanOrderStains.Add(reviewForAdditionalTestingTest.PanelSetId);

            this.m_Facility = Business.Facility.Model.FacilityCollection.Instance.GetByFacilityId(YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.FacilityId);
            this.m_Location = YellowstonePathology.Business.User.UserPreferenceInstance.Instance.UserPreference.HostName;
        }
Beispiel #2
0
        public LabUI(YellowstonePathology.Business.User.SystemIdentity systemIdentity, System.Windows.Controls.TabItem writer)
        {
            this.m_SystemIdentity = systemIdentity;
            this.m_Writer         = writer;

            this.m_SearchEngine = new Business.Test.SearchEngine();
            this.m_MedTechUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.MedTech, true);
            this.m_LogUsers     = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Log, true);

            this.m_PanelSetCollection = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetMolecularLabPanelSets();

            this.m_DigeneImportFileList = new YellowstonePathology.Business.FileList();

            this.m_AcknowledgeOrders = new YellowstonePathology.Business.Domain.XElementFromSql();
            this.m_PanelOrderIds     = string.Empty;
            this.m_HasDataError      = false;

            this.m_PathologistSearch = new YellowstonePathology.Business.Search.PathologistSearch(this.m_Writer);

            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);

            this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler();

            this.m_PanelSetCaseTypeCollection = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPanelSetCaseTypeCollection();
        }
Beispiel #3
0
        public LabUI(YellowstonePathology.Business.User.SystemIdentity systemIdentity, System.Windows.Controls.TabItem writer)
        {
            this.m_SystemIdentity = systemIdentity;
            this.m_Writer = writer;

            this.m_SearchEngine = new Business.Test.SearchEngine();
            this.m_MedTechUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.MedTech, true);
            this.m_LogUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Log, true);

            this.m_PanelSetCollection = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetMolecularLabPanelSets();

            this.m_DigeneImportFileList = new YellowstonePathology.Business.FileList();

            this.m_AcknowledgeOrders = new YellowstonePathology.Business.Domain.XElementFromSql();
            this.m_PanelOrderIds = string.Empty;
            this.m_HasDataError = false;

            this.m_PathologistSearch = new YellowstonePathology.Business.Search.PathologistSearch(this.m_Writer);

            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);

            this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler();

            this.m_PanelSetCaseTypeCollection = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPanelSetCaseTypeCollection();
        }
Beispiel #4
0
        public TypingUIV2(System.Windows.Controls.TabItem writer)
        {
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_ParagraphTemplateCollection = new ParagraphTemplateCollection();

            this.m_CaseListDate = DateTime.Today;

            Business.Specimen.Model.Specimen fluid = Specimen.Model.SpecimenCollection.Instance.GetSpecimen("SPCMFLUID");  // Definition.Fluid();
            Business.Specimen.Model.Specimen urine = Specimen.Model.SpecimenCollection.Instance.GetSpecimen("SPCMNURINE"); // Definition.Urine();
            this.m_FluidSpecimenList = new List <Specimen.Model.Specimen>();
            this.m_FluidSpecimenList.Add(fluid);
            this.m_FluidSpecimenList.Add(urine);

            this.m_TypingUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Typing, true);

            this.m_SurgicalOrderList = new YellowstonePathology.Business.Surgical.SurgicalOrderList();
            this.m_SurgicalOrderList.FillByAccessionDate(DateTime.Today);

            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);
            YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.AddAllToUserList(this.PathologistUsers, true);

            this.m_BillingSpecimenViewCollection = new View.BillingSpecimenViewCollection();

            this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler();
            this.m_Writer       = writer;
        }
 public void Execute(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                     YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder,
                     YellowstonePathology.Business.Common.FieldEnabler fieldEnabler,
                     YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
 {
     this.m_AccessionOrder  = accessionOrder;
     this.m_PanelSetOrder   = panelSetOrder;
     this.m_FieldEnabler    = fieldEnabler;
     this.m_ExecutionStatus = executionStatus;
     this.m_Rule.Execute(this.m_ExecutionStatus);
 }
        public void Execute(YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder,
			YellowstonePathology.Business.Common.FieldEnabler fieldEnabler, 
			YellowstonePathology.Business.Rules.ExecutionStatus executionStatus)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_PanelSetOrder = panelSetOrder;
            this.m_FieldEnabler = fieldEnabler;
            this.m_ExecutionStatus = executionStatus;
            this.m_Rule.Execute(this.m_ExecutionStatus);
        }
Beispiel #7
0
        public PathologistUI(System.Windows.Controls.TabItem writer)
        {
            this.m_Writer         = writer;
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_OrderCollection        = new YellowstonePathology.Business.Test.PanelOrderCollection();
            this.m_PathologistHistoryList = new YellowstonePathology.Business.Surgical.PathologistHistoryList();

            this.m_SelectedTabIndex = 0;

            this.m_PathologistSearch = new YellowstonePathology.Business.Search.PathologistSearch(this.m_Writer);
            this.m_PathologistUsers  = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetPathologistUsers();

            this.m_FieldEnabler   = new YellowstonePathology.Business.Common.FieldEnabler();
            this.m_AmendmentUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);
        }
Beispiel #8
0
        public PathologistUI(System.Windows.Controls.TabItem writer)
        {
            this.m_Writer = writer;
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_OrderCollection = new YellowstonePathology.Business.Test.PanelOrderCollection();
            this.m_PathologistHistoryList = new YellowstonePathology.Business.Surgical.PathologistHistoryList();

            this.m_SelectedTabIndex = 0;

            this.m_PathologistSearch = new YellowstonePathology.Business.Search.PathologistSearch(this.m_Writer);
            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetPathologistUsers();

            this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler();
            this.m_AmendmentUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);
        }
Beispiel #9
0
        public TypingUIV2(System.Windows.Controls.TabItem writer)
        {
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_ParagraphTemplateCollection = new ParagraphTemplateCollection();

            this.m_CaseListDate = DateTime.Today;

            this.m_TypingUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Typing, true);

            this.m_SurgicalOrderList = new YellowstonePathology.Business.Surgical.SurgicalOrderList();
            this.m_SurgicalOrderList.FillByAccessionDate(DateTime.Today);

            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);
            YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.AddAllToUserList(this.PathologistUsers, true);

            this.m_BillingSpecimenViewCollection = new View.BillingSpecimenViewCollection();

            this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler();
            this.m_Writer = writer;
        }
Beispiel #10
0
        public TypingUIV2(System.Windows.Controls.TabItem writer)
        {
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_ParagraphTemplateCollection = new ParagraphTemplateCollection();

            this.m_CaseListDate = DateTime.Today;

            this.m_TypingUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Typing, true);

            this.m_SurgicalOrderList = new YellowstonePathology.Business.Surgical.SurgicalOrderList();
            this.m_SurgicalOrderList.FillByAccessionDate(DateTime.Today);

            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist, true);
            YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.AddAllToUserList(this.PathologistUsers, true);

            this.m_BillingSpecimenViewCollection = new View.BillingSpecimenViewCollection();

            this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler();
            this.m_Writer       = writer;
        }
Beispiel #11
0
        public PathologistUI(System.Windows.Controls.TabItem writer)
        {
            this.m_Writer = writer;
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;

            this.m_OrderCollection = new YellowstonePathology.Business.Test.PanelOrderCollection();
            this.m_PathologistHistoryList = new YellowstonePathology.Business.Surgical.PathologistHistoryList();

            this.m_SelectedTabIndex = 0;

            this.m_PathologistSearch = new YellowstonePathology.Business.Search.PathologistSearch(this.m_Writer);
            this.m_PathologistUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetPathologistUsers();

            this.m_FieldEnabler = new YellowstonePathology.Business.Common.FieldEnabler();
            this.m_AmendmentUsers = YellowstonePathology.Business.User.SystemUserCollectionInstance.Instance.SystemUserCollection.GetUsersByRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.AmendmentSigner, true);

            this.m_PanelSetIdsThatCanOrderStains = new List<int>();
            YellowstonePathology.Business.Test.Surgical.SurgicalTest surgicalTest = new Business.Test.Surgical.SurgicalTest();
            this.m_PanelSetIdsThatCanOrderStains.Add(surgicalTest.PanelSetId);
            YellowstonePathology.Business.Test.TechnicalOnly.TechnicalOnlyTest technicalOnlyTest = new Business.Test.TechnicalOnly.TechnicalOnlyTest();
            this.m_PanelSetIdsThatCanOrderStains.Add(technicalOnlyTest.PanelSetId);
            YellowstonePathology.Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest reviewForAdditionalTestingTest = new Business.Test.ReviewForAdditionalTesting.ReviewForAdditionalTestingTest();
            this.m_PanelSetIdsThatCanOrderStains.Add(reviewForAdditionalTestingTest.PanelSetId);
        }