From 83c6ac29ce42de98abe8356ad33a7314310aade0 Mon Sep 17 00:00:00 2001 From: grahamd99 Date: Tue, 21 Oct 2025 09:06:32 +0100 Subject: [PATCH 1/4] PPHA-374-plantuml rename Plantuml file --- .../pilot_sequence_diagram_pilotid.puml | 62 ++++++++++++++++++ .../prepilot_sequence_diagram_pilotid.puml | 65 ------------------- 2 files changed, 62 insertions(+), 65 deletions(-) create mode 100644 docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml delete mode 100644 docs/diagrams/PlantUML/prepilot_sequence_diagram_pilotid.puml diff --git a/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml new file mode 100644 index 00000000..f974b516 --- /dev/null +++ b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml @@ -0,0 +1,62 @@ +@startuml +actor "participant actor" as Participant +entity "NHSE LCRC App" as NHSE_LCRC_App +database "NHSE LCRC Pseudonymised Database" as NHSE_LCRC_Pseud_DB +actor "NHSE pilot admin staff actor" as NHSE_Admin +actor "NHSE analysis staff actor" as NHSE_Analysis +actor "GP staff actor" as GP_Staff +entity "GP system" as GP_System +database "GP System Identifiable Database" as GP_ID_DB +actor "e2e partner staff actor" as E2E_Staff +entity "e2e partner system" as E2E_System + +' Step 1 BAU lung cohorting +GP_Staff -> GP_System: Request BAU Lung Screening Cohort extract +GP_System -> GP_ID_DB: Request BAU Lung Screening Cohort information +GP_ID_DB --> GP_System: Provide BAU Lung Screening Cohort information +GP_System -> GP_System: Create BAU Lung Screening Cohort extract +GP_System --> GP_Staff: Provide BAU Lung Screening Cohort extract +GP_Staff -> E2E_Staff: (LUNGDF100) Provide BAU Lung Screening Cohort extract +E2E_Staff -> E2E_System: Upload BAU Lung Screening Cohort extract + +' Step 2 pilot digital app cohorting +E2E_System -> E2E_System: Generate unique identifiers for participants +E2E_Staff -> E2E_System: Request unique identifiers for participants +E2E_System --> E2E_Staff: Receive unique identifiers for invited participants +E2E_Staff -> E2E_Staff: Prepare invited participant list with unique identifiers +E2E_Staff -> NHSE_Admin: (LUNGDF200) Send invited participant list with unique identifiers +NHSE_Admin -> NHSE_LCRC_Pseud_DB: Upload invited participant list with unique identifiers +E2E_Staff -> Participant: Invite participants + +' Step 3 participant completion of pilot digital app journey + Participant -> NHSE_LCRC_App: Arrive on LCRC app with unique participant number + NHSE_LCRC_App -> NHSE_LCRC_Pseud_DB: Request unique participant number + NHSE_LCRC_App -> NHSE_LCRC_App: Verify participant is present in invited unique participant number list +alt Participant provides consent + Participant -> NHSE_LCRC_App: Consent given to participate in pilot + Participant -> NHSE_LCRC_App: Answer digital risk assessment questions + NHSE_LCRC_App -> NHSE_LCRC_Pseud_DB: Store unique participant number with consent and digital risk assessment answers + NHSE_Admin -> NHSE_LCRC_Pseud_DB: Request unique participant numbers who have completed digital risk assessment questions + NHSE_LCRC_Pseud_DB --> NHSE_Admin: Response for unique participant numbers who have completed digital risk assessment questions + NHSE_Admin -> E2E_Staff: (LUNGDF300) Advise of completed digital risk assessment unique participant numbers + E2E_Staff -> E2E_System: Upload completed digital risk assessment unique participant numbers + ' Step 4 BAU telephone user journey + E2E_Staff -> Participant: Contact participant for BAU telephone journey risk assessment + Participant -> E2E_Staff: Complete BAU telephone journey risk assessment + E2E_Staff -> E2E_System: Store BAU telephone journey risk assessment +' Step 5 prepare data and analyse + E2E_Staff -> E2E_System: Retrieve BAU telephone journey risk assessment completed digital risk assessment unique participant numbers + E2E_System --> E2E_Staff: BAU telephone journey risk assessment completed digital risk assessment unique participant numbers + E2E_Staff -> E2E_Staff: Prepare pseudonymised BAU telephone journey answers + E2E_Staff -> NHSE_Admin: (LUNGDF400) Provide pseudonymised BAU telephone journey answers + NHSE_Admin -> NHSE_LCRC_Pseud_DB: upload pseudonymised BAU telephone journey answers + NHSE_Analysis -> NHSE_LCRC_Pseud_DB: Analyse pseudonymised data +else Participant does NOT provide consent + Participant -> E2E_Staff: Do not provide consent + E2E_Staff -> E2E_System: Record non-consent + E2E_Staff -> Participant: Contact participant for BAU telephone journey risk assessment + Participant -> E2E_Staff: Complete BAU telephone journey risk assessment + E2E_Staff -> E2E_System: Store BAU telephone journey risk assessment + note over E2E_System: End of sequence — no further actions +end +@enduml diff --git a/docs/diagrams/PlantUML/prepilot_sequence_diagram_pilotid.puml b/docs/diagrams/PlantUML/prepilot_sequence_diagram_pilotid.puml deleted file mode 100644 index be167c8f..00000000 --- a/docs/diagrams/PlantUML/prepilot_sequence_diagram_pilotid.puml +++ /dev/null @@ -1,65 +0,0 @@ -@startuml -actor "NHSE pilot admin staff actor" as NHSE_Admin -actor "NHSE analysis staff actor" as NHSE_Analysis -entity "NHS digital pilot lung risk app" as NHS_LR_App -database "NHSE Lung Anonymised database" as Lung_Anon_DB -actor "GP staff actor" as GP_Staff -entity "GP system" as GP_System -database "GP System Identifiable database" as GP_ID_DB -actor "e2e partner staff actor" as E2E_Staff -entity "e2e partner system" as E2E_System -database "e2e partner Identifiable database" as E2E_ID_DB -database "e2e partner Pilot Lookup database" as E2E_Pilot_Lookup_DB -actor "participant actor" as Participant - -' Step 1 BAU lung cohorting -GP_Staff -> GP_System: Request BAU Lung Screening Cohort extract -GP_System -> GP_ID_DB: Request BAU Lung Screening Cohort information -GP_ID_DB --> GP_System: Provide BAU Lung Screening Cohort information -GP_System -> GP_System: Create BAU Lung Screening Cohort extract -GP_System --> GP_Staff: Provide BAU Lung Screening Cohort extract -GP_Staff -> E2E_Staff: (LUNGDF100) Provide BAU Lung Screening Cohort extract -E2E_Staff -> E2E_System: Upload BAU Lung Screening Cohort extract -E2E_System -> E2E_ID_DB: Store BAU Lung Screening Cohort extract -' Step 2 pilot digital app cohorting and consent -NHSE_Admin -> NHSE_Admin: Identify required cohort size (e.g. 50 participants) -NHSE_Admin -> E2E_Staff: Advise required cohort size -E2E_Staff -> Participant: Ask for consent to join pilot - -alt Participant provides consent - Participant -> E2E_Staff: Provide consent - E2E_Staff -> E2E_System: Record consent - E2E_System -> E2E_System: Generate unique Pilot ID for NHS Number - E2E_System -> E2E_Pilot_Lookup_DB: Record NHS Number, Pilot ID and consent - E2E_Staff -> NHSE_Admin: (LUNGDF200) Send Pilot ID participant list - NHSE_Admin -> Lung_Anon_DB: Upload consented Pilot ID participant list - E2E_Staff -> Participant: Provide access details for NHS digital pilot app -' Step 3 participant completion of pilot digital app journey - Participant -> NHS_LR_App: Enter Pilot ID - NHS_LR_App -> NHS_LR_App: Verify participant is consented user - Participant -> NHS_LR_App: Answer digital risk assessment questions - NHS_LR_App -> Lung_Anon_DB: Store Pilot ID, digital risk assessment answers - NHSE_Admin -> Lung_Anon_DB: Request Pilot IDs who have completed digital risk assessment questions - Lung_Anon_DB --> NHSE_Admin: Response for Pilot IDs who have completed digital risk assessment questions - NHSE_Admin -> E2E_Staff: (LUNGDF300) Advise of completed digital risk assessment Pilot IDs - E2E_Staff -> E2E_Pilot_Lookup_DB: Request NHS Number for Pilot ID - E2E_Pilot_Lookup_DB --> E2E_Staff: Response NHS Number for Pilot ID -' Step 4 BAU telephone user journey - E2E_Staff -> Participant: Contact participant for BAU telephone journey risk assessment - Participant -> E2E_Staff: Complete BAU telephone journey risk assessment - E2E_Staff -> E2E_System: Capture BAU telephone journey risk assessment - E2E_System -> E2E_ID_DB: Capture BAU telephone journey risk assessment -' Step 5 prepare data and analyse - E2E_System -> E2E_System: Anonymise BAU telephone journey answers - E2E_System -> NHSE_Admin: (LUNGDF400) Provide anonymised BAU telephone journey answers - NHSE_Admin -> Lung_Anon_DB: Upload anonymised BAU telephone journey answers - NHS_LR_App -> Lung_Anon_DB: Access identifiable online digital risk assessment answers - NHS_LR_App -> NHS_LR_App: Create anonymised online digital risk assessment answers - NHS_LR_App -> Lung_Anon_DB: Upload anonymised online digital risk assessment answers - NHSE_Analysis -> Lung_Anon_DB: Analyse anonymised data -else Participant does NOT provide consent - Participant -> E2E_Staff: Do not provide consent - E2E_Staff -> E2E_System: Record non-consent - note over E2E_System: End of sequence — no further actions -end -@enduml From 42c63887fcbab56f9fb78639f8b689c32d160f8f Mon Sep 17 00:00:00 2001 From: grahamd99 Date: Tue, 21 Oct 2025 13:49:23 +0100 Subject: [PATCH 2/4] PPHA-374-plantuml update based on initial feedback --- .../pilot_sequence_diagram_pilotid.puml | 39 ++++++++----------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml index f974b516..cb3cfe4c 100644 --- a/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml +++ b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml @@ -1,8 +1,8 @@ @startuml -actor "participant actor" as Participant +actor "Participant actor" as Participant entity "NHSE LCRC App" as NHSE_LCRC_App database "NHSE LCRC Pseudonymised Database" as NHSE_LCRC_Pseud_DB -actor "NHSE pilot admin staff actor" as NHSE_Admin +actor "NHSE Pilot admin staff actor" as NHSE_Admin actor "NHSE analysis staff actor" as NHSE_Analysis actor "GP staff actor" as GP_Staff entity "GP system" as GP_System @@ -19,25 +19,20 @@ GP_System --> GP_Staff: Provide BAU Lung Screening Cohort extract GP_Staff -> E2E_Staff: (LUNGDF100) Provide BAU Lung Screening Cohort extract E2E_Staff -> E2E_System: Upload BAU Lung Screening Cohort extract -' Step 2 pilot digital app cohorting +' Step 2 Pilot digital app cohorting E2E_System -> E2E_System: Generate unique identifiers for participants -E2E_Staff -> E2E_System: Request unique identifiers for participants -E2E_System --> E2E_Staff: Receive unique identifiers for invited participants -E2E_Staff -> E2E_Staff: Prepare invited participant list with unique identifiers -E2E_Staff -> NHSE_Admin: (LUNGDF200) Send invited participant list with unique identifiers -NHSE_Admin -> NHSE_LCRC_Pseud_DB: Upload invited participant list with unique identifiers -E2E_Staff -> Participant: Invite participants +E2E_Staff -> E2E_System: Identify eligible candidate Pilot participants in participating GP practices +E2E_System -> Participant: Invite eligible candidate Pilot participants to participate in Pilot -' Step 3 participant completion of pilot digital app journey - Participant -> NHSE_LCRC_App: Arrive on LCRC app with unique participant number - NHSE_LCRC_App -> NHSE_LCRC_Pseud_DB: Request unique participant number - NHSE_LCRC_App -> NHSE_LCRC_App: Verify participant is present in invited unique participant number list -alt Participant provides consent - Participant -> NHSE_LCRC_App: Consent given to participate in pilot +' Step 3 participant completion of Pilot digital app journey +Participant -> NHSE_LCRC_App: Arrive on LCRC App with unique participant number +alt Participant opts in to Pilot + Participant -> NHSE_LCRC_App: Opts in to participate in Pilot Participant -> NHSE_LCRC_App: Answer digital risk assessment questions - NHSE_LCRC_App -> NHSE_LCRC_Pseud_DB: Store unique participant number with consent and digital risk assessment answers + NHSE_LCRC_App -> NHSE_LCRC_Pseud_DB: Store unique participant number with opt in and digital risk assessment answers NHSE_Admin -> NHSE_LCRC_Pseud_DB: Request unique participant numbers who have completed digital risk assessment questions NHSE_LCRC_Pseud_DB --> NHSE_Admin: Response for unique participant numbers who have completed digital risk assessment questions + NHSE_Admin -> NHSE_Admin: Prepare list of completed digital risk assessment unique participant numbers NHSE_Admin -> E2E_Staff: (LUNGDF300) Advise of completed digital risk assessment unique participant numbers E2E_Staff -> E2E_System: Upload completed digital risk assessment unique participant numbers ' Step 4 BAU telephone user journey @@ -47,13 +42,11 @@ alt Participant provides consent ' Step 5 prepare data and analyse E2E_Staff -> E2E_System: Retrieve BAU telephone journey risk assessment completed digital risk assessment unique participant numbers E2E_System --> E2E_Staff: BAU telephone journey risk assessment completed digital risk assessment unique participant numbers - E2E_Staff -> E2E_Staff: Prepare pseudonymised BAU telephone journey answers - E2E_Staff -> NHSE_Admin: (LUNGDF400) Provide pseudonymised BAU telephone journey answers - NHSE_Admin -> NHSE_LCRC_Pseud_DB: upload pseudonymised BAU telephone journey answers - NHSE_Analysis -> NHSE_LCRC_Pseud_DB: Analyse pseudonymised data -else Participant does NOT provide consent - Participant -> E2E_Staff: Do not provide consent - E2E_Staff -> E2E_System: Record non-consent + E2E_Staff -> E2E_Staff: Prepare BAU telephone journey answers for Pilot LCRC participants + E2E_Staff -> NHSE_Admin: (LUNGDF400) Provide BAU telephone journey answers for Pilot LCRC participants + NHSE_Admin -> NHSE_LCRC_Pseud_DB: upload BAU telephone journey answers for Pilot LCRC participants + NHSE_Analysis -> NHSE_LCRC_Pseud_DB: Analyse Pilot LCRC participants digital and BAU telephone journey answers +else Participant does NOT opt in to Pilot E2E_Staff -> Participant: Contact participant for BAU telephone journey risk assessment Participant -> E2E_Staff: Complete BAU telephone journey risk assessment E2E_Staff -> E2E_System: Store BAU telephone journey risk assessment From 5ff11d92c5a3f8c434de66d1ecbb8b20b5f5b4c4 Mon Sep 17 00:00:00 2001 From: grahamd99 Date: Tue, 21 Oct 2025 14:41:55 +0100 Subject: [PATCH 3/4] Plantuml add correct spacing indentation --- docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml index cb3cfe4c..7d97fe94 100644 --- a/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml +++ b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml @@ -35,7 +35,7 @@ alt Participant opts in to Pilot NHSE_Admin -> NHSE_Admin: Prepare list of completed digital risk assessment unique participant numbers NHSE_Admin -> E2E_Staff: (LUNGDF300) Advise of completed digital risk assessment unique participant numbers E2E_Staff -> E2E_System: Upload completed digital risk assessment unique participant numbers - ' Step 4 BAU telephone user journey +' Step 4 BAU telephone user journey E2E_Staff -> Participant: Contact participant for BAU telephone journey risk assessment Participant -> E2E_Staff: Complete BAU telephone journey risk assessment E2E_Staff -> E2E_System: Store BAU telephone journey risk assessment From c0610107e9fb139afc15ea0cc30f94b8084f45cc Mon Sep 17 00:00:00 2001 From: grahamd99 Date: Thu, 23 Oct 2025 15:03:54 +0100 Subject: [PATCH 4/4] PPHA-374 Change to PlantUML sequence diagram --- docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml index 7d97fe94..15cabbd8 100644 --- a/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml +++ b/docs/diagrams/PlantUML/pilot_sequence_diagram_pilotid.puml @@ -22,7 +22,7 @@ E2E_Staff -> E2E_System: Upload BAU Lung Screening Cohort extract ' Step 2 Pilot digital app cohorting E2E_System -> E2E_System: Generate unique identifiers for participants E2E_Staff -> E2E_System: Identify eligible candidate Pilot participants in participating GP practices -E2E_System -> Participant: Invite eligible candidate Pilot participants to participate in Pilot +E2E_System -> Participant: Invite eligible candidates to participate in Pilot ' Step 3 participant completion of Pilot digital app journey Participant -> NHSE_LCRC_App: Arrive on LCRC App with unique participant number