Generate dataset of female patients with COVID produces only deceased patients #1418
-
Dear Synthea users, I am trying to generate a dataset including only female patients that were diagnosed with COVID19. To achieve such a dataset I am running synthea with the following parameters:
The file keep.json was generated via https://synthetichealth.github.io/spt/#/customizer and has the following content:
When I don't use the above keep.json, I get a sample of 200 participants, some with a diagnosed of covid and some without, and not all of them are deceased. However, when I add the keep.json, all the patients that are being generated are deceased. Is there anything that has to be specified in the keep.json to get both of alive/deceased patients? Many thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. If neither of these works for you, the last option is to modify the covid19 module infection rates, but that's a more involved process. I can provide some pointers if necessary
|
Beta Was this translation helpful? Give feedback.
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…