Exemple #1
0
 def test_tour_uniquecase_mult_proc_a(self):
     feed = [{
         'Appt Status': 'Sch',
         'Patient Class': 'Outpatient',
         'Type': 'PLEURX',
         'Department': 'PULM GRYBIG9',
         'VT ID': '100188',
         'Status': 'Alive',
         'Date': '4/11/18',
         'Provider/Resource': 'Doctor 1 ',
         'Appt Time': ' 9:00 AM',
         'Canc Date': '',
         'Pref Language': 'English',
         'Patient': 'Paudell, Max J',
         'CSN': '1445578838',
         'Mobile #': '333-333-3333',
         'Pt. E-mail Address': '*****@*****.**',
         'Birth Date': '4/10/64',
         'Gender': 'Female',
         'MRN': '1445578838'
     }, {
         'Appt Status': 'Sch',
         'Patient Class': 'Outpatient',
         'Type': 'THORACENTIS',
         'Department': 'PULM GRYBIG9',
         'VT ID': '100188',
         'Status': 'Alive',
         'Date': '4/14/18',
         'Provider/Resource': 'Doctor 1 ',
         'Appt Time': ' 9:00 AM',
         'Canc Date': '',
         'Pref Language': 'English',
         'Patient': 'Paudell, Max J',
         'CSN': '1445578838',
         'Mobile #': '333-333-3333',
         'Pt. E-mail Address': '*****@*****.**',
         'Birth Date': '4/10/64',
         'Gender': 'Female',
         'MRN': '1445578838'
     }]
     self.assertTrue(scan_input(feed)["Paudell, Max J"].tour ==
                     4)  # most recent is PLEURX (4)
Exemple #2
0
 def test_tour_one_a(self):
     feed = [{
         'Appt Status': 'Sch',
         'Patient Class': 'Outpatient',
         'Type': 'FLEX BRONCH WITH BAL',
         'Department': 'PULM GRYBIG9',
         'VT ID': '100188',
         'Status': 'Alive',
         'Date': '4/14/18',
         'Provider/Resource': 'Doctor 1 ',
         'Appt Time': ' 9:00 AM',
         'Canc Date': '',
         'Pref Language': 'English',
         'Patient': 'Paudell, Max J',
         'CSN': '1445578838',
         'Mobile #': '333-333-3333',
         'Pt. E-mail Address': '*****@*****.**',
         'Birth Date': '4/10/64',
         'Gender': 'Female',
         'MRN': '1445578838'
     }]
     self.assertTrue(scan_input(feed)["Paudell, Max J"].tour == 1)
Exemple #3
0
 def test_invalid_scheduled_date_enrollment(self):
     feed = [{
         'Appt Status': 'Sch',
         'Patient Class': 'Outpatient',
         'Type': 'THORACENTIS',
         'Department': 'PULM GRYBIG9',
         'VT ID': '100188',
         'Status': 'Alive',
         'Date': '4/16/18',
         'Provider/Resource': 'Doctor 1 ',
         'Appt Time': ' 9:00 AM',
         'Canc Date': '',
         'Pref Language': 'Spanish',
         'Patient': 'Paudell, Max J',
         'CSN': '1445578838',
         'Mobile #': '333-333-3333',
         'Pt. E-mail Address': '*****@*****.**',
         'Birth Date': '4/10/64',
         'Gender': 'Female',
         'MRN': '1445578838'
     }]
     self.assertTrue(scan_input(feed)["Paudell, Max J"].tour == -1)