rokwire / safer-illinois-app

Source code repository of "Safer Illinois" App - the official COVID-19 app of the University of Illinois.
https://safer.illinois.edu/
Apache License 2.0
33 stars 23 forks source link

[FEATURE] Тemporarily send vaccinated users to PCR test monitor cycle #684

Closed mihail-varbanov closed 2 years ago

mihail-varbanov commented 3 years ago

Re: University Monday 2021/08/02 / 2021-08-06

1 Misho This came up from JP for Safer Illinois/Rule change.

They want to have 1000 people (Students/Staff) who are fully vaccinated (effective) take tests.

Can we use the UIN override table for this? We could make a category in the table called random and any UIN with this category would have to test based on who they are (student or staff).

MV: As far as I know UIN override controls only the test monitor intervals at user level. When a user is vaccinated its status turns green almost forever, or more precisely - until an event with a higher priority appears after this vaccination event. So in short setting a custom test monitor intervals in the UIN override table will have no effect.

What we can do is to post an action similar to "force-test" to a random number of users, and define a rule for this. "force-test" turns you orange until you get two negative PCR tests, taken within a minimum of 4-days interval between each other. I would guess that the University wants the random set of users to get just a single test so we should define a new action (e.g. "require-test" or "random-test") and a rule for it that will be some simplified version of the "force-test" rule.

Finally, please note that if a vaccinated user gets a positive PCR test, this will turn him red for 10 days.

University Monday 2021/08/09 / 2021-08-09

1 Misho, back to our ongoing discussion on "1000 Random people".

The first thing we want to clarify is that the University has not decided how long these people will be tested for. It is not a one off test.

I want to go back to our idea of the UIN override table with an example for you:

1 A user is "green" for example and we find them in the UIN override table. All that does is changes a user from "green" to "orange". (It overrides the vaccine effective)

2 If that user tests "negative" based on the interval days in the UIN override table then he will become "yellow". If he tested "positive" he would become "red". (This would also have happened if he was green and took a test).

3 After some period of time the user is removed from the UIN override table. If the user is orange or yellow he would return to green. If he was red then he would stay red.

All we are doing is saying some people need to take tests at intervals for a period of time before returning to effective vaccinated status if they remain negative.

If you still think this requires much more let us know. Happy to work with your best knowledge etc