Is it possible to generate Lab testing for every patient? #1022
-
In my module, I have a medication and a lab. It generated the medication for every patient but not lab testing for every patient. What I did wrong? Any help will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Well, you didn't include a module, so no one can say with any certainty. My guess is that this is related to See the description for that setting under https://github.com/synthetichealth/synthea/wiki/Common-Configuration#other-export-settings Basically, Active Medications (i.e., Prescriptions) and Active Conditions (i.e., Diagnoses) are never filtered from patient records. However, labs (and nearly everything else) will be filtered out if they are older than |
Beta Was this translation helpful? Give feedback.
Well, you didn't include a module, so no one can say with any certainty.
My guess is that this is related to
exporter.years_of_history
.See the description for that setting under https://github.com/synthetichealth/synthea/wiki/Common-Configuration#other-export-settings
Basically, Active Medications (i.e., Prescriptions) and Active Conditions (i.e., Diagnoses) are never filtered from patient records. However, labs (and nearly everything else) will be filtered out if they are older than
X
years, as defined byexporter.years_of_history
.