private void Tool_EHR_Click(bool onLoadShowOrders) { //Quarterly key check was removed from here so that any customer can use EHR tools //But we require a EHR subscription for them to obtain their MU reports. FormEHR FormE = new FormEHR(); FormE.PatNum=PatCur.PatNum; FormE.PatNotCur=PatientNoteCur; FormE.PatFamCur=FamCur; FormE.ShowDialog(); if(FormE.DialogResult!=DialogResult.OK) { return; } if(FormE.ResultOnClosing==EhrFormResult.PatientSelect) { OnPatientSelected(Patients.GetPat(FormE.PatNum)); ModuleSelected(FormE.PatNum); } }