orchid-initiative / synthetic-database-project

MIT License
4 stars 2 forks source link

Function to Insert Breakpoints for Demographics #101

Open NickKramer87 opened 4 months ago

NickKramer87 commented 4 months ago

As a user of the Orchid Initiative Synthea code, I want to be able to create patient datasets as efficiently as possible so I don't waste compute. To increase the efficiency of selecting a particular demographic (pregnant women, elderly hispanic men, etc.) it is very inefficient to create correctly distributed patient populations and then select the relevant patients after the fact. Instead, it would be far more efficient to have Synthea only generate the relevant patients. If this is not possible, then it would be nice to have a function that identified whether or not a patient is still on the route to being in the demographic at all steps in the module so that the process can be prematurely exited for those patients that do not meet the target demographic's criteria.

Action Items:

  1. Identify if Synthea can just create relevant patients.
  2. If not, create a function to prune irrelevant patients as early as possible.