4848 AdvanceFOBTScreeningEpisodePage ,
4949)
5050from utils .dataset_field_util import DatasetFieldUtil
51- from utils .oracle .oracle_specific_functions import get_subjects_for_investigations
51+ from utils .oracle .oracle_specific_functions import get_subjects_for_investigation_dataset_updates
5252from utils .subject_demographics import SubjectDemographicUtil
5353
5454
@@ -313,7 +313,7 @@ def test_compartment_6(page: Page, smokescreen_properties: dict) -> None:
313313
314314 # This needs to be repeated for two subjects, one old and one not - High Risk Result
315315 # Older patient
316- subjects_df = get_subjects_for_investigations (smokescreen_properties ["c6_eng_number_of_subjects_to_record" ], smokescreen_properties ["c6_eng_org_id" ])
316+ subjects_df = get_subjects_for_investigation_dataset_updates (smokescreen_properties ["c6_eng_number_of_subjects_to_record" ], smokescreen_properties ["c6_eng_org_id" ])
317317 nhs_no = subjects_df ["subject_nhs_number" ].iloc [0 ]
318318 SubjectDemographicUtil (page ).update_subject_dob (nhs_no , False )
319319 go_to_investigation_datasets_page (page , nhs_no )
@@ -362,7 +362,6 @@ def test_compartment_6(page: Page, smokescreen_properties: dict) -> None:
362362
363363 # This needs to be repeated for two subjects, one old and one not - LNPCP Result
364364 # Older patient
365- # nhs_no = "9840970194"
366365 nhs_no = subjects_df ["subject_nhs_number" ].iloc [2 ]
367366 SubjectDemographicUtil (page ).update_subject_dob (nhs_no , False )
368367 go_to_investigation_datasets_page (page , nhs_no )
@@ -379,7 +378,6 @@ def test_compartment_6(page: Page, smokescreen_properties: dict) -> None:
379378 handover_subject_to_symptomatic_care (page )
380379
381380 # Younger patient
382- # nhs_no = "9717136637"
383381 nhs_no = subjects_df ["subject_nhs_number" ].iloc [3 ]
384382 SubjectDemographicUtil (page ).update_subject_dob (nhs_no , True )
385383 go_to_investigation_datasets_page (page , nhs_no )
@@ -409,7 +407,6 @@ def test_compartment_6(page: Page, smokescreen_properties: dict) -> None:
409407 )
410408
411409 # This needs to be repeated for 1 subject, age does not matter - Normal Result
412- # nhs_no_normal = "9673858853"
413410 nhs_no_normal = subjects_df ["subject_nhs_number" ].iloc [4 ]
414411 go_to_investigation_datasets_page (page , nhs_no_normal )
415412
0 commit comments