コード例 #1
0
        public void ButtonGenerateComment_Click(object sender, RoutedEventArgs args)
        {
            List <YellowstonePathology.Shared.Interface.IFlowMarker> flowMarkers = this.PanelSetOrderLeukemiaLymphoma.FlowMarkerCollection.ToList();

            YellowstonePathology.Shared.Helper.FlowCommentHelper comment = new YellowstonePathology.Shared.Helper.FlowCommentHelper(this.m_FlowAccessionCollection[0].SpecimenOrderCollection[0].Description, this.PanelSetOrderLeukemiaLymphoma, flowMarkers);
            comment.SetInterpretiveComment();
        }
コード例 #2
0
        public void ButtonAppendComment_Click(object sender, RoutedEventArgs args)
        {
            if (this.m_FlowCommentCollection.Count == 0)
            {
                YellowstonePathology.YpiConnect.Proxy.FlowSignoutServiceProxy       flowSignoutServiceProxy = new Proxy.FlowSignoutServiceProxy();
                YellowstonePathology.YpiConnect.Contract.Flow.FlowCommentCollection flowCommentCollection   = flowSignoutServiceProxy.GetFlowComments();
                foreach (YellowstonePathology.YpiConnect.Contract.Flow.FlowComment flowComment in flowCommentCollection)
                {
                    this.m_FlowCommentCollection.Add(flowComment);
                }
            }

            LeukemiaLymphomaCommentDialog leukemiaLymphomaCommentDialog = new LeukemiaLymphomaCommentDialog(this.m_FlowCommentCollection);
            bool?result = leukemiaLymphomaCommentDialog.ShowDialog();

            if (result.HasValue && result.Value == true)
            {
                List <YellowstonePathology.Shared.Interface.IFlowMarker>  flowMarkers = this.PanelSetOrderLeukemiaLymphoma.FlowMarkerCollection.ToList();
                YellowstonePathology.Shared.Helper.FlowCommentHelper      comment     = new YellowstonePathology.Shared.Helper.FlowCommentHelper(this.m_FlowAccessionCollection[0].SpecimenOrderCollection[0].Description, this.PanelSetOrderLeukemiaLymphoma, flowMarkers);
                YellowstonePathology.YpiConnect.Contract.Flow.FlowComment item        = leukemiaLymphomaCommentDialog.SelectedComment;
                comment.AddComment(item.Category, item.Impression, item.Comment);
            }
        }