Пример #1
0
 public void HandlePQRS()
 {
     YellowstonePathology.Business.Surgical.PQRSMeasureCollection pqrsCollection = YellowstonePathology.Business.Surgical.PQRSMeasureCollection.GetAll();
     foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in this.m_PanelSetOrder.SurgicalSpecimenCollection)
     {
         bool pqrsFound = false;
         foreach (YellowstonePathology.Business.Surgical.PQRSMeasure pqrsMeasure in pqrsCollection)
         {
             int patientAge = YellowstonePathology.Business.Helper.PatientHelper.GetAge(this.m_AccessionOrder.PBirthdate.Value);
             if (pqrsMeasure.DoesMeasureApply(this.m_PanelSetOrder, surgicalSpecimen, patientAge) == true)
             {
                 this.m_PQRSMeasureDialog = new PQRSMeasureDialog();
                 PQRSMeasurePage pqrsMeasurePage = new PQRSMeasurePage(pqrsMeasure, surgicalSpecimen);
                 pqrsMeasurePage.Cancel                += new PQRSMeasurePage.CancelEventHandler(PQRSMeasurePage_Cancel);
                 pqrsMeasurePage.AddPQRSCode           += new PQRSMeasurePage.AddPQRSCodeEventHandler(PQRSMeasurePage_AddPQRSCode);
                 pqrsMeasurePage.PQRSCodeNotApplicable += new PQRSMeasurePage.PQRSCodeNotApplicableEventHandler(PQRSMeasurePage_PQRSCodeNotApplicable);
                 this.m_PQRSMeasureDialog.PageNavigator.Navigate(pqrsMeasurePage);
                 this.m_PQRSMeasureDialog.ShowDialog();
                 pqrsFound = true;
                 break;
             }
         }
         if (pqrsFound)
         {
             break;
         }
     }
 }
Пример #2
0
 public void HandlePQRS()
 {
     YellowstonePathology.Business.Surgical.PQRSMeasureCollection pqrsCollection = YellowstonePathology.Business.Surgical.PQRSMeasureCollection.GetAll();
     foreach (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen in this.m_PanelSetOrder.SurgicalSpecimenCollection)
     {
         bool pqrsFound = false;
         foreach (YellowstonePathology.Business.Surgical.PQRSMeasure pqrsMeasure in pqrsCollection)
         {
             int patientAge = YellowstonePathology.Business.Helper.PatientHelper.GetAge(this.m_AccessionOrder.PBirthdate.Value);
             if (pqrsMeasure.DoesMeasureApply(this.m_PanelSetOrder, surgicalSpecimen, patientAge) == true)
             {
                 this.m_PQRSMeasureDialog = new PQRSMeasureDialog();
                 PQRSMeasurePage pqrsMeasurePage = new PQRSMeasurePage(pqrsMeasure, surgicalSpecimen);
                 pqrsMeasurePage.Cancel += new PQRSMeasurePage.CancelEventHandler(PQRSMeasurePage_Cancel);
                 pqrsMeasurePage.AddPQRSCode += new PQRSMeasurePage.AddPQRSCodeEventHandler(PQRSMeasurePage_AddPQRSCode);
                 pqrsMeasurePage.PQRSCodeNotApplicable += new PQRSMeasurePage.PQRSCodeNotApplicableEventHandler(PQRSMeasurePage_PQRSCodeNotApplicable);
                 this.m_PQRSMeasureDialog.PageNavigator.Navigate(pqrsMeasurePage);
                 this.m_PQRSMeasureDialog.ShowDialog();
                 pqrsFound = true;
                 break;
             }
         }
         if (pqrsFound) break;
     }
 }