Esempio n. 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;
        }
 public CaseHistoryPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_PathologistHistoryList = new YellowstonePathology.Business.Surgical.PathologistHistoryList();
     if (this.m_AccessionOrder.PatientId != "0")
     {
         this.m_PathologistHistoryList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPathologistPatientHistory(this.m_AccessionOrder.PatientId);
     }
     InitializeComponent();
     this.DataContext = this;
 }
Esempio n. 3
0
 public CaseHistoryPage(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder         = accessionOrder;
     this.m_PathologistHistoryList = new YellowstonePathology.Business.Surgical.PathologistHistoryList();
     if (this.m_AccessionOrder.PatientId != "0")
     {
         this.m_PathologistHistoryList = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPathologistPatientHistory(this.m_AccessionOrder.PatientId);
     }
     InitializeComponent();
     this.DataContext = this;
 }
Esempio n. 4
0
 public void SetAccessionOrder(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_PathologistHistoryList.Clear();
     YellowstonePathology.Business.Surgical.PathologistHistoryList list = YellowstonePathology.Business.Gateway.AccessionOrderGateway.GetPathologistPatientHistory(this.m_AccessionOrder.PatientId);
     if (list != null)
     {
         foreach (YellowstonePathology.Business.Surgical.PathologistHistoryItem item in list)
         {
             this.m_PathologistHistoryList.Add(item);
         }
     }
     NotifyPropertyChanged("");
 }
Esempio n. 5
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);
        }
Esempio n. 6
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);
        }
Esempio n. 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);

            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);
        }