Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Below is a are two diagram on the life cycle of patients in Search & Match with different levels of details

Simplified logic of patient life cycle

PlantUML Render Macro

@startuml
start
:Search & Match web site;

:Create patient;
:Patient or its search results not viewed for 42 days;
:Patient automatically set to STP state\n\
All search results removed;
:no change for > 6 months;
:Patient anonimised\n\
Patient no longer accessible or recoverable;
@enduml

Detailed diagram of patient life cycle logic

PlantUML Render Macro

@startuml
start
:API/web front end; 

note right: Patient registry or transplant centre
:Create patient; 
:Countdown set to 42 days;
repeat 
repeat 
note left: Patient state stays the same. Counter set back to 42 days
backward:Countdown (re)set to 42 days;
repeat while (Patient update or\nRetrieve patient or\nRerieve search results for patient) is (Yes) not (No)
:No activity on patient;
:Countdown hits 0;
:Patient automatically set to STP state\n\
All search results removed;
:Countdown set to 6 months;
backward:Countdown (re)set to 42 days;
repeat while (Patient set back to ACT or SUS state via API call or web front end) is (Yes) not (No)
:Countdown hits 0;
:Patient anonimised\n\
Patient no longer accessible or recoverable;
@enduml

...