You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# # TODO: When I receive Lynch diagnosis "EPCAM" for a new subject in my hub aged "75" with diagnosis date "3 years ago" and last colonoscopy date "2 years ago"
52
+
# Get or create a subject suitable for Lynch self-referral
"[SUBJECT CREATED IN DB] created subject in the database with no screening history who is eligible to self refer"
49
60
)
50
61
51
-
# TODO: When I receive Lynch diagnosis "EPCAM" for a new subject in my hub aged "75" with diagnosis date "3 years ago" and last colonoscopy date "2 years ago"
52
-
prepare_subject_with_lynch_diagnosis(
53
-
page,
54
-
user,
55
-
nhs_no,
56
-
SubjectPage.TestData.subject_age,
57
-
SubjectPage.TestData.diagnosis_date,
58
-
SubjectPage.TestData.last_colonoscopy_date,
59
-
)
60
-
61
62
# Then Comment: NHS number
62
63
logging.info(f"[SUBJECT CREATION] Created subject's NHS number: {nhs_no}")
63
64
64
-
# When I self refer the subject
65
-
subject_page=SubjectPage(page)
65
+
# TODO: When I self refer the subject
66
+
# And I press OK on my confirmation prompt
66
67
subject_page.self_refer_subject()
67
-
subject_page.confirm_prompt()
68
+
logging.info("[UI ACTION] Self-referred the subject")
0 commit comments