Ejemplo n.º 1
0
 private IExam CreateExam(int examID, int patientID, ExamType type)
 {
     try
     {
         IExam exam = null;
         switch (type)
         {
             case ExamType.REVIEW:
                 exam = new Exam(examID, patientID, type);
                 break;
             case ExamType.PULMONARY:
                 exam = new VQExam(examID, patientID, type);
                 break;
         }
         return exam;
     }
     catch (Exception e) { System.Windows.MessageBox.Show("There was an error creating the exam reference: " + e.ToString()); return null; }
 }
Ejemplo n.º 2
0
 public ExamDA(Exam examObj)
 {
     ExamParent = examObj;
 }