コード例 #1
0
ファイル: FlowUI.cs プロジェクト: WilliamCopland/YPILIS
        public FlowUI(object writer)
        {
            this.m_Writer = writer;
            this.m_FlowLogSearch = new FlowLogSearch();

            this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance;
            if (this.m_SystemIdentity.User.IsUserInRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist))
            {
                this.m_FlowLogSearch.SetByLeukemiaNotFinal();
            }
            else
            {
                this.m_FlowLogSearch.SetByAccessionMonth(DateTime.Now);
            }

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

            this.m_FlowPanelSetCollection = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetFlowPanelSets(false);

            this.m_FlowComment = new FlowComment();
            this.m_FlowComment.FlowCommentCollection.SetFillCommandAll();
            this.m_FlowComment.FlowCommentCollection.Fill();

            this.m_Marker = new Marker();
            this.m_Marker.MarkerCollection.SetFillCommandAll();
            this.m_Marker.MarkerCollection.Fill();

            this.m_FlowCaseValidation = new FlowCaseValidation();

            this.m_ICDCodeList = new YellowstonePathology.Business.Billing.ICDCodeList();
            this.m_ICDCodeList.SetFillCommandByFlowCodes();
            this.m_ICDCodeList.Fill();

            this.m_FlowPanelList = new FlowPanelList();
            this.m_FlowPanelList.SetFillCommandByAll();
            this.m_FlowPanelList.Fill();

            this.m_FacilityCollection = YellowstonePathology.Business.Facility.Model.FacilityCollection.GetAllFacilities();

            this.m_CaseDocumentCollection = new Document.CaseDocumentCollection();
            this.m_PatientHistoryList = new YellowstonePathology.Business.Patient.Model.PatientHistoryList();
            this.m_PanelSets = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetAll();

            this.Search();
        }
コード例 #2
0
        public FlowUI(object writer)
        {
            this.m_Writer        = writer;
            this.m_FlowLogSearch = new FlowLogSearch();

            this.m_SystemIdentity = YellowstonePathology.Business.User.SystemIdentity.Instance;
            if (this.m_SystemIdentity.User.IsUserInRole(YellowstonePathology.Business.User.SystemUserRoleDescriptionEnum.Pathologist))
            {
                this.m_FlowLogSearch.SetByLeukemiaNotFinal();
            }
            else
            {
                this.m_FlowLogSearch.SetByAccessionMonth(DateTime.Now);
            }

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

            this.m_FlowPanelSetCollection = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetFlowPanelSets(false);

            this.m_FlowComment = new FlowComment();
            this.m_FlowComment.FlowCommentCollection.SetFillCommandAll();
            this.m_FlowComment.FlowCommentCollection.Fill();

            this.m_Marker = new Marker();
            this.m_Marker.MarkerCollection.SetFillCommandAll();
            this.m_Marker.MarkerCollection.Fill();

            this.m_FlowCaseValidation = new FlowCaseValidation();

            this.m_ICDCodeList = new YellowstonePathology.Business.Billing.ICDCodeList();
            this.m_ICDCodeList.SetFillCommandByFlowCodes();
            this.m_ICDCodeList.Fill();

            this.m_FlowPanelList = new FlowPanelList();
            this.m_FlowPanelList.SetFillCommandByAll();
            this.m_FlowPanelList.Fill();

            this.m_FacilityCollection = YellowstonePathology.Business.Facility.Model.FacilityCollection.GetAllFacilities();

            this.m_CaseDocumentCollection = new Document.CaseDocumentCollection();
            this.m_PatientHistoryList     = new YellowstonePathology.Business.Patient.Model.PatientHistoryList();
            this.m_PanelSets = YellowstonePathology.Business.PanelSet.Model.PanelSetCollection.GetAll();

            this.Search();
        }