コード例 #1
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();
        }
コード例 #2
0
ファイル: LabUI.cs プロジェクト: ericramses/YPILIS
        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();
        }
コード例 #3
0
        public POCRetensionReport(DateTime startDate, DateTime endDate)
        {
            this.m_DataContext = new YellowstonePathology.Business.DataContext.YpiData();
            YellowstonePathology.Business.Domain.XElementFromSql xelement = this.m_DataContext.GetPOCRetensionReport(startDate, endDate).Single <Domain.XElementFromSql>();
            this.m_Document = xelement.Document;

            InitializeComponent();

            this.DataContext = this;
        }
コード例 #4
0
ファイル: LabOrderSheet.cs プロジェクト: waffle-iron/YPILIS
 public void CreateReport(string panelOrderIds, DateTime acknowledgeDate, DateTime acknowledgeTime)
 {
     Domain.XElementFromSql xElementFromSql = new YellowstonePathology.Business.Domain.XElementFromSql();
     if (panelOrderIds.Length > 0)
     {
         xElementFromSql = YellowstonePathology.Business.Gateway.XmlGateway.GetXmlOrdersToAcknowledge(panelOrderIds);
         int seq = 1;
         foreach (XElement accession in xElementFromSql.Document.Elements("AccessionOrder"))
         {
             PrintForAccession(accession, seq.ToString(), acknowledgeDate, acknowledgeTime);
             seq++;
         }
     }
 }
コード例 #5
0
 public void CreateReport(string panelOrderIds, DateTime acknowledgeDate, DateTime acknowledgeTime)
 {
     Domain.XElementFromSql xElementFromSql = new YellowstonePathology.Business.Domain.XElementFromSql();
     if (panelOrderIds.Length > 0)
     {
         xElementFromSql = YellowstonePathology.Business.Gateway.XmlGateway.GetXmlOrdersToAcknowledge(panelOrderIds);
         int seq = 1;
         foreach (XElement accession in xElementFromSql.Document.Elements("AccessionOrder"))
         {
             PrintForAccession(accession, seq.ToString(), acknowledgeDate, acknowledgeTime);
             seq++;
         }
     }
 }