Ejemplo n.º 1
0
 private void butOK_Click(object sender, EventArgs e)
 {
     try {
         if (textDate.errorProvider1.GetError(textDate) != "")
         {
             MsgBox.Show(this, "Invalid date");
             return;
         }
         DateTime date = PIn.Date(textDate.Text);
         _ccd = EhrCCD.GenerateClinicalSummary(_patCur, checkAllergy.Checked, checkEncounter.Checked, checkFunctionalStatus.Checked, checkImmunization.Checked, checkMedication.Checked, checkPlanOfCare.Checked, checkProblem.Checked, checkProcedure.Checked, checkReferral.Checked, checkResult.Checked, checkSocialHistory.Checked, checkVitalSign.Checked, textInstructions.Text, date);
     }
     catch (Exception ex) {
         MessageBox.Show(ex.Message);
         return;
     }
     DialogResult = DialogResult.OK;
 }
Ejemplo n.º 2
0
 private void butOK_Click(object sender, EventArgs e)
 {
     _ccd         = EhrCCD.GenerateClinicalSummary(_patCur, checkAllergy.Checked, checkEncounter.Checked, checkFunctionalStatus.Checked, checkImmunization.Checked, checkMedication.Checked, checkPlanOfCare.Checked, checkProblem.Checked, checkProcedure.Checked, checkReferral.Checked, checkResult.Checked, checkSocialHistory.Checked, checkVitalSign.Checked, textInstructions.Text);
     DialogResult = DialogResult.OK;
 }