Skip to content

Generate dataset of female patients with COVID produces only deceased patients #1418

Answered by dehall
davide-aloi asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the issue is that this keep module will only keep patients with an active diagnosis of COVID-19 (as of the end of the simulation == the current date), and the infection rates are now fairly low, plus the duration of infection is also fairly short.
One "quick fix" to get more patients would be to set an end date of the simulation in 2020 or 2021 for example, with the -e flag: -e 20200601 .
Another option, if you're ok with patients that have ever had covid19, not necessarily currently active, you can change the keep module to use the covid19 attribute instead and check for "not nil", see below.

If neither of these works for you, the last option is to modify the covid19 module inf…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davide-aloi
Comment options

Answer selected by davide-aloi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants