-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not All Observations Being Exported to CSV #1476
Comments
It may be worth looking at Examplitis and reading the Examplitis walkthrough. At the initial state, all of your patients are newborn babies -- who then wait for their next wellness encounter, which is going to happen within the first month of their life. In addition to whatever the wellness encounter module does, your module adds an observation and a medication, ends the encounter, and never runs again for the rest of the patients life. If you are using the default settings, you're only exporting 10 years of history. See # number of years of history to keep in exported records, anything older than this may be filtered out
# set years_of_history = 0 to skip filtering altogether and keep the entire history
exporter.years_of_history = 10 So, any patients older than age 10 probably won't have your data in their records. You can either change the |
Hey Jason, thanks so much for your quick reply! I've tried adding an age guard and have increased years of recorded history. It looks like I'm still getting the same problem though. For reproducibility I'm running this command, The resulting medications table shows all patients being prescribed the "fake drug", while only 126 have the "test obs" observation. Please let me know what I could be missing here. Thanks so much!
|
Looks like this is actually a bug - the issue is the command line In the meantime, if you change that config setting in |
Changing the properties file worked for me. Thanks both for quick responses! |
Hey, I have exactly the same problem and it was driving me crazy for two days now. I just the build .jar file from Friday and I've set the If I set it to > 19 I see nothing, if I set it to > 20 I see my Observation. What am I doing wrong? That is my synthea.properties:
Edit: Please forget it. I took the latest version from today and the problem is solved. |
What happened?
I have found in various experiments that not all expected observations seem to be recorded when exporting to csv. For example, in the minimal example module below all patients are prescribed a fake drug, then a test observation is made. However, when I run this module every patients is prescribed the drug as expected, but only ~10% have the "test obs" appearing in their records.
I initially noticed this behaviour when working with the hypertension module, and was finding fewer blood pressure observations than expected. Any idea why this could be happening?
Thanks!
Environment
Relevant log output
No response
The text was updated successfully, but these errors were encountered: