コード例 #1
0
 public GrossOnlyResultPath(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                            YellowstonePathology.UI.Navigation.PageNavigator pageNavigator,
                            System.Windows.Window window)
     : base(pageNavigator, window)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_TestOrder      = (YellowstonePathology.Business.Test.GrossOnly.GrossOnlyTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
 }
コード例 #2
0
 public GrossOnlyResultPath(string reportNo, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, 
     YellowstonePathology.UI.Navigation.PageNavigator pageNavigator,
     System.Windows.Window window)
     : base(pageNavigator, window)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_TestOrder = (YellowstonePathology.Business.Test.GrossOnly.GrossOnlyTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
 }
コード例 #3
0
        public GrossOnlyResultPage(YellowstonePathology.Business.Test.GrossOnly.GrossOnlyTestOrder grossOnlyTestOrder,
                                   YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                   YellowstonePathology.Business.User.SystemIdentity systemIdentity) : base(grossOnlyTestOrder, accessionOrder)
        {
            this.m_SystemIdentity = Business.User.SystemIdentity.Instance;
            this.m_PanelSetOrder  = grossOnlyTestOrder;
            this.m_AccessionOrder = accessionOrder;

            this.m_PageHeaderText = "Gross Only Result For: " + this.m_AccessionOrder.PatientDisplayName;

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
コード例 #4
0
        public GrossOnlyResultPage(YellowstonePathology.Business.Test.GrossOnly.GrossOnlyTestOrder grossOnlyTestOrder,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity)
            : base(grossOnlyTestOrder, accessionOrder)
        {
            this.m_PanelSetOrder = grossOnlyTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_PageHeaderText = "Gross Only Result For: " + this.m_AccessionOrder.PatientDisplayName;

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
コード例 #5
0
        public override void Render()
        {
            YellowstonePathology.Business.Test.GrossOnly.GrossOnlyTestOrder grossOnlyTestOrder = (YellowstonePathology.Business.Test.GrossOnly.GrossOnlyTestOrder) this.m_PanelSetOrder;
            this.m_PanelSetOrder = grossOnlyTestOrder;

            this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\GrossOnly.2.xml";
            base.OpenTemplate();

            base.SetDemographicsV2();


            this.ReplaceText("gross_description", grossOnlyTestOrder.GrossX);

            string finalDate = YellowstonePathology.Business.BaseData.GetShortDateString(this.m_PanelSetOrder.FinalDate) + " - " + YellowstonePathology.Business.BaseData.GetMillitaryTimeString(this.m_PanelSetOrder.FinalTime);

            this.SetXmlNodeData("final_date", finalDate);

            this.SetReportDistribution();
            this.SetCaseHistory();

            this.SaveReport();
        }