def setUp(self):
		self.driver = initDriver.start(main.browser)
		self.andrew = profiles.Profile(self.driver, 'andrew')

		self.defaultQuestions =  [
			{'name': 'Heart Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
			{'name': 'Lung Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
			{'name': 'Kidney Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
			{'name': 'Diabetes Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
			{'name': 'Blood Pressure Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
			{'name': 'Blood Clot (DVT) Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
			{'name': 'Neuropathy Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
			{'name': 'Other Health Conditions', 'value': 'dont know',
				'secondaryQuestions': [],
			},
		]

		self.freshFormInfo = {
			# 'newly_diagnosed': 'No',
			'diagnosis_date': '05/2018',
			'type': 'solitary plasmacytoma',
			'stable': 'no',
			'm_protein': 'no',
			'recent_pain': 'yes',
			'lesions': 'no lesions',
			'high_risk': 'no',
			'transplant_eligible': 'no',
			'diagnosis_location': {
				'facility': 'Huntsman Cancer',
				'city': 'Salt Lake City',
				'state': 'Utah',
			},
			'additional_diagnosis': False,
			'additional_diagnoses': [],
			'physicians': [
				{'name': 'David Avigan',
					'facility': 'Beth Israel Deaconess Medical Center',
					'city': 'Boston',
					'state': 'Massachusetts',
				},
			],
		}
示例#2
0
 def setUp(self):
     self.driver = initDriver.start(main.browser)
     self.andrew = profiles.Profile(self.driver, 'andrew')
示例#3
0
 def setUp(self):
     self.driver = initDriver.start(main.browser)
     self.elliot = profiles.Profile(self.driver, 'elliot')