synthetichealth/synthea

Single patient seed flag -ps doesn't work with re-attempted patient seeds

dehall opened this issue · 0 comments

What happened?

The command line flag -ps allows the user to specify a single patient seed to run. Most of the time this works fine - if you have a patient record and provide the seed (Person.getSeed(), or in FHIR this is in the Patient.text.div field) it reproduces the expected record. However for some records it produces something completely different. This appears to be because of how seeds are rotated to ensure the population matches the target demographics and number of alive patients. In this case you need to provide the original seed of the first patient from the target slot and it will re-run the entire sequence to get the desired patient.

Environment

No response

Relevant log output

No response