private void UnsignReport() { this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].Final = false; this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].FinalDate = null; this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].FinalTime = null; this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].FinaledById = 0; this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].Signature = string.Empty; LeukemiaLymphomaSignoutPage.Save(this.m_FlowAccessionCollection); }
private void SignReport() { if (this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].FinaledById != 0) { this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].Final = true; this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].FinalDate = DateTime.Parse(DateTime.Now.ToShortDateString()); this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].FinalTime = DateTime.Parse(DateTime.Now.ToShortTimeString()); this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].Signature = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.Signature; this.m_FlowAccessionCollection[0].PanelSetOrderCollection[0].FinaledById = YellowstonePathology.YpiConnect.Contract.Identity.ApplicationIdentity.Instance.WebServiceAccount.SystemUserId; LeukemiaLymphomaSignoutPage.Save(this.m_FlowAccessionCollection); } else { MessageBox.Show("You must take ownership of the case before you can final the case. Use the general page to take ownership of the case."); } }
public void Save() { LeukemiaLymphomaSignoutPage.Save(this.m_FlowAccessionCollection); }
private void HyperlinkSave_Click(object sender, RoutedEventArgs e) { LeukemiaLymphomaSignoutPage.Save(this.m_FlowAccessionCollection); }