public EosinophiliaByFISHResultPath(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_PanelSetOrder  = (YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder) this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
 }
 public EosinophiliaByFISHResultPath(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_PanelSetOrder = (YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder)this.m_AccessionOrder.PanelSetOrderCollection.GetPanelSetOrder(reportNo);
 }
Exemplo n.º 3
0
        public EosinophiliaByFISHResultPage(YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder eosinophiliaByFISHTestOrder,
                                            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                            YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            this.m_PanelSetOrder  = eosinophiliaByFISHTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_PageHeaderText = this.m_PanelSetOrder.PanelSetName + " Result For: " + this.m_AccessionOrder.PatientDisplayName;

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description;

            InitializeComponent();

            DataContext = this;
        }
        public EosinophiliaByFISHResultPage(YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder eosinophiliaByFISHTestOrder,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            this.m_PanelSetOrder = eosinophiliaByFISHTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_PageHeaderText = this.m_PanelSetOrder.PanelSetName + " Result For: " + this.m_AccessionOrder.PatientDisplayName;

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description;

            InitializeComponent();

            DataContext = this;
        }
Exemplo n.º 5
0
        public EosinophiliaByFISHResultPage(YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder eosinophiliaByFISHTestOrder,
                                            YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
                                            YellowstonePathology.Business.User.SystemIdentity systemIdentity) : base(eosinophiliaByFISHTestOrder, accessionOrder)
        {
            this.m_PanelSetOrder  = eosinophiliaByFISHTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_PageHeaderText = this.m_PanelSetOrder.PanelSetName + " Result For: " + this.m_AccessionOrder.PatientDisplayName;

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description;

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
        public EosinophiliaByFISHResultPage(YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder eosinophiliaByFISHTestOrder,
			YellowstonePathology.Business.Test.AccessionOrder accessionOrder,
			YellowstonePathology.Business.User.SystemIdentity systemIdentity)
            : base(eosinophiliaByFISHTestOrder, accessionOrder)
        {
            this.m_PanelSetOrder = eosinophiliaByFISHTestOrder;
            this.m_AccessionOrder = accessionOrder;
            this.m_SystemIdentity = systemIdentity;

            this.m_PageHeaderText = this.m_PanelSetOrder.PanelSetName + " Result For: " + this.m_AccessionOrder.PatientDisplayName;

            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.m_PanelSetOrder.OrderedOn, this.m_PanelSetOrder.OrderedOnId);
            this.m_OrderedOnDescription = specimenOrder.Description;

            InitializeComponent();

            DataContext = this;

            this.m_ControlsNotDisabledOnFinal.Add(this.ButtonNext);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockShowDocument);
            this.m_ControlsNotDisabledOnFinal.Add(this.TextBlockUnfinalResults);
        }
Exemplo n.º 7
0
        public override void Render()
        {
            this.m_TemplateName = @"\\CFileServer\Documents\ReportTemplates\XmlTemplates\EosinophiliaByFISH.xml";
            base.OpenTemplate();

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

            YellowstonePathology.Business.Document.AmendmentSection amendmentSection = new YellowstonePathology.Business.Document.AmendmentSection();
            amendmentSection.SetAmendment(m_PanelSetOrder.AmendmentCollection, this.m_ReportXml, this.m_NameSpaceManager, true);

            YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder eosinophiliaByFISHTestOrder = (YellowstonePathology.Business.Test.EosinophiliaByFISH.EosinophiliaByFISHTestOrder) this.m_PanelSetOrder;

            YellowstonePathology.Business.Test.AliquotOrder            aliquotOrder  = this.m_AccessionOrder.SpecimenOrderCollection.GetAliquotOrder(eosinophiliaByFISHTestOrder.OrderedOnId);
            YellowstonePathology.Business.Specimen.Model.SpecimenOrder specimenOrder = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(eosinophiliaByFISHTestOrder.OrderedOn, eosinophiliaByFISHTestOrder.OrderedOnId);

            string specimenDescription = specimenOrder.Description;

            if (aliquotOrder != null)
            {
                specimenDescription += ", Block " + aliquotOrder.Label;
            }
            this.ReplaceText("specimen_description", specimenDescription);

            string collectionDateTimeString = YellowstonePathology.Business.Helper.DateTimeExtensions.CombineDateAndTime(specimenOrder.CollectionDate, specimenOrder.CollectionTime);

            this.SetXmlNodeData("date_time_collected", collectionDateTimeString);

            this.SetXMLNodeParagraphData("report_result", eosinophiliaByFISHTestOrder.Result);
            this.SetXMLNodeParagraphData("report_interpretation", eosinophiliaByFISHTestOrder.Interpretation);
            this.SetXMLNodeParagraphData("nuclei_scored", eosinophiliaByFISHTestOrder.NucleiScored);
            this.SetXMLNodeParagraphData("probeset_details", eosinophiliaByFISHTestOrder.ProbeSetDetail);

            this.ReplaceText("report_date", BaseData.GetShortDateString(this.m_PanelSetOrder.ReferenceLabFinalDate));
            this.ReplaceText("pathologist_signature", this.m_PanelSetOrder.ReferenceLabSignature);

            this.ReplaceText("report_disclaimer", eosinophiliaByFISHTestOrder.ReportDisclaimer);

            this.SaveReport();
        }