Skip to content

Commit 1444fe9

Browse files
committed
Add PlantUML code for Pilot ID based sequence diagram
1 parent 93bcf11 commit 1444fe9

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
@startuml
2+
actor "NHSE pilot admin staff actor" as NHSE_Admin
3+
actor "e2e partner staff actor" as E2E_Staff
4+
entity "e2e partner system" as E2E_System
5+
entity "e2e partner Identifiable database" as E2E_ID_DB
6+
entity "e2e partner Pilot Lookup database" as E2E_Pilot_Lookup_DB
7+
actor "participant actor" as Participant
8+
actor "NHSE analysis staff actor" as NHSE_Analysis
9+
entity "NHS digital pilot app" as NHS_App
10+
database "NHSE Lung Anonymised database" as Lung_Anon_DB
11+
12+
' Step 1
13+
NHSE_Admin -> NHSE_Admin: Identify required cohort size (e.g. 50 participants)
14+
' Step 2
15+
NHSE_Admin -> E2E_Staff: Advise required cohort size
16+
' Step 3
17+
E2E_Staff -> Participant: Ask for consent to join pilot
18+
19+
alt Participant provides consent
20+
' ALT path one i
21+
Participant -> E2E_Staff: Provide consent
22+
' ALT path one ii
23+
E2E_Staff -> E2E_System: Record consent
24+
' ALT path one iii
25+
E2E_System -> E2E_System: Generate unique Pilot ID for NHS Number
26+
' ALT path one iv
27+
E2E_System -> E2E_Pilot_Lookup_DB: Record NHS Number, Pilot ID and consent
28+
' Step 5
29+
E2E_Staff -> NHSE_Admin: Send consented Pilot ID participant list
30+
' Step 6
31+
NHSE_Admin -> Lung_Anon_DB: Upload consented Pilot ID participant list
32+
' Step 7
33+
E2E_Staff -> Participant: Provide access details for NHS digital pilot app
34+
' Step 8
35+
Participant -> NHS_App: Enter Pilot ID
36+
' Step 9
37+
NHS_App -> NHS_App: Verify participant is consented user
38+
' Step 10
39+
Participant -> NHS_App: Answer digital risk assessment questions
40+
' Step 11
41+
NHS_App -> Lung_Anon_DB: Store Pilot ID and digital risk assessment answers
42+
' Step 11a
43+
NHSE_Admin -> Lung_Anon_DB: Request Pilot IDs who have completed digital risk assessment questions
44+
Lung_Anon_DB --> NHSE_Admin: Response for Pilot IDs who have completed digital risk assessment questions
45+
' Step 12
46+
NHSE_Admin -> E2E_Staff: Advise of completed digital risk assessment Pilot IDs
47+
' Step 12a
48+
E2E_Staff -> E2E_Pilot_Lookup_DB: Request NHS Number for Pilot ID
49+
E2E_Pilot_Lookup_DB --> E2E_Staff: Response NHS Number for Pilot ID
50+
' Step 13
51+
E2E_Staff -> Participant: Contact participant for BAU telephone journey risk assessment
52+
' Step 14
53+
Participant -> E2E_Staff: Complete BAU telephone journey risk assessment
54+
' Step 15
55+
E2E_Staff -> E2E_System: Capture BAU telephone journey risk assessment
56+
' Step 15a
57+
E2E_System -> E2E_ID_DB: Capture BAU telephone journey risk assessment
58+
' Step 16
59+
E2E_System -> E2E_System: Anonymise BAU telephone journey answers
60+
' Step 17
61+
E2E_System -> NHSE_Admin: Provide anonymised BAU telephone journey answers
62+
' Step 18
63+
NHSE_Admin -> Lung_Anon_DB: Upload anonymised BAU telephone journey answers
64+
65+
' Step 19
66+
NHS_App -> Lung_Anon_DB: Access identifiable online digital risk assessment answers
67+
NHS_App -> NHS_App: Create anonymised online digital risk assessment answers
68+
' Step 20
69+
NHS_App -> Lung_Anon_DB: Upload anonymised online digital risk assessment answers
70+
71+
' Step 21
72+
NHSE_Analysis -> Lung_Anon_DB: Analyse anonymised data
73+
else Participant does NOT provide consent
74+
' ALT path two i
75+
Participant -> E2E_Staff: Do not provide consent
76+
' ALT path two ii
77+
E2E_Staff -> E2E_System: Record non-consent
78+
' ALT path two iii
79+
note over E2E_System: End of sequence — no further actions
80+
end
81+
@enduml

0 commit comments

Comments
 (0)