How are custom modules created in the Synthea Module Builder evaluated? #1040
-
This might be a beginner question and it might have been answered already somewhere on the Wiki, but if so, I haven't been able to find it. Initially, I had an assumption that if I create a custom module, download and specify it via the CLI |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
My suspicion is that this is related to a set of FAQs where the answer revolves around the I can't say for certain, because I haven't seen your module, but... If you just have a set of direct transitions, with no delays or guards, your implantable defibrillator is likely being installed on a bunch of newborn babies. Every module in Synthea runs every single time step, starting with birth of the patient. It is up to the module to determine when and how events occur. If there are no Delays or Guards, the module will just run straight through the first time it executes until it hits the Terminal state. Once it hits the Terminal state, it will never run for that patient again. So, you'll have a bunch of babies with defibrillators. Later, those babies will grow up and at the time of exporting their records, the system default only exports the last 10 years of history (with some exceptions, see https://github.com/synthetichealth/synthea/wiki/Common-Configuration#other-export-settings). |
Beta Was this translation helpful? Give feedback.
My suspicion is that this is related to a set of FAQs where the answer revolves around the
exporter.years_of_history
configuration setting.I can't say for certain, because I haven't seen your module, but...
If you just have a set of direct transitions, with no delays or guards, your implantable defibrillator is likely being installed on a bunch of newborn babies.
Every module in Synthea runs every single time step, starting with birth of the patient. It is up to the module to determine when and how events occur. If there are no Delays or Guards, the module will just run straight through the first time it executes until it hits the Terminal state. Once it hits the Terminal state, it will …