private void ButtonPatientLinking_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Business.Patient.Model.PatientLinker patientLinker = new Business.Patient.Model.PatientLinker(this.m_TypingUI.AccessionOrder.MasterAccessionNo, this.m_TypingUI.SurgicalTestOrder.ReportNo, this.m_TypingUI.AccessionOrder.PFirstName, this.m_TypingUI.AccessionOrder.PLastName, this.m_TypingUI.AccessionOrder.PMiddleInitial, this.m_TypingUI.AccessionOrder.PSSN, this.m_TypingUI.AccessionOrder.PatientId, this.m_TypingUI.AccessionOrder.PBirthdate); if (patientLinker.IsOkToLink.IsValid == true) { YellowstonePathology.UI.Common.PatientLinkingDialog patientLinkingDialog = new Common.PatientLinkingDialog(this.m_TypingUI.AccessionOrder, Business.Patient.Model.PatientLinkingListModeEnum.AccessionOrder, patientLinker); patientLinkingDialog.ShowDialog(); } else { MessageBox.Show(patientLinker.IsOkToLink.Message, "Missing Information"); } }
private void ButtonPatientLinking_Click(object sender, RoutedEventArgs e) { YellowstonePathology.Business.Patient.Model.PatientLinker patientLinker = new Business.Patient.Model.PatientLinker(this.m_FlowUI.AccessionOrder.MasterAccessionNo, this.m_FlowUI.PanelSetOrderLeukemiaLymphoma.ReportNo, this.m_FlowUI.AccessionOrder.PFirstName, this.m_FlowUI.AccessionOrder.PLastName, this.m_FlowUI.AccessionOrder.PMiddleInitial, this.m_FlowUI.AccessionOrder.PSSN, this.m_FlowUI.AccessionOrder.PatientId, this.m_FlowUI.AccessionOrder.PBirthdate); if (patientLinker.IsOkToLink.IsValid == true) { YellowstonePathology.UI.Common.PatientLinkingDialog patientLinkingDialog = new Common.PatientLinkingDialog(this.m_FlowUI.AccessionOrder, Business.Patient.Model.PatientLinkingListModeEnum.AccessionOrder, patientLinker); patientLinkingDialog.ShowDialog(); } else { MessageBox.Show(patientLinker.IsOkToLink.Message, "Missing Information"); } }
private void LinkPatient() { if (HaveAvailableItem() == true) { YellowstonePathology.Business.Patient.Model.PatientLinker patientLinker = new Business.Patient.Model.PatientLinker(this.m_LabUI.AccessionOrder.MasterAccessionNo, this.m_LabUI.PanelSetOrder.ReportNo, this.m_LabUI.AccessionOrder.PFirstName, this.m_LabUI.AccessionOrder.PLastName, this.m_LabUI.AccessionOrder.PMiddleInitial, this.m_LabUI.AccessionOrder.PSSN, this.m_LabUI.AccessionOrder.PatientId, this.m_LabUI.AccessionOrder.PBirthdate); if (patientLinker.IsOkToLink.IsValid == true) { YellowstonePathology.UI.Common.PatientLinkingDialog patientLinkingDialog = new Common.PatientLinkingDialog(this.m_LabUI.AccessionOrder, Business.Patient.Model.PatientLinkingListModeEnum.AccessionOrder, patientLinker); patientLinkingDialog.ShowDialog(); } else { MessageBox.Show(patientLinker.IsOkToLink.Message, "Missing Information"); } } }