예제 #1
0
 public InfoPasser(String docId)
 {
     doctorId = docId;
     trailsTestVersion = 'x';
     trailsVertical = true;
     currentPatient = null;
 }
예제 #2
0
 public InfoPasser()
 {
     doctorId = "0";
     trailsTestVersion = 'x';
     trailsVertical = true;
     currentPatient = null;
 }
예제 #3
0
 // Populates the TestReplay patient using the split patient line
 public void parsePatientInfo(List<string> patientString)
 {
     GENDER gender;
     if (patientString[6] == "M") gender = GENDER.MALE;
     else gender = GENDER.FEMALE;
     EDU_LEVEL eduLevel = (EDU_LEVEL)Enum.Parse(typeof(EDU_LEVEL), patientString[8]);
     DateTime birthdate = Convert.ToDateTime(patientString[2] + ' ' + patientString[3] + ' ' + patientString[4]);
     string name = patientString[0];
     patient = new Patient(name, "", birthdate, gender, eduLevel);
 }
예제 #4
0
 public TestReplay(Patient _patient, TEST_TYPE TestType)
 {
     patient = _patient;
     testActions = new List<TestAction>();
     testNotes = new List<PatientNote>();
     testErrors = new List<TestError>();
     testCompletions = new List<NodeCompletion>();
     testType = TestType;
 }