public InfoPasser(String docId) { doctorId = docId; trailsTestVersion = 'x'; trailsVertical = true; currentPatient = null; }
public InfoPasser() { doctorId = "0"; trailsTestVersion = 'x'; trailsVertical = true; currentPatient = null; }
// 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); }
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; }