-
Notifications
You must be signed in to change notification settings - Fork 623
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
Malformed date in payer_transition CSV data #1360
Comments
This is another bug, not a wiki error. The Imaging study fields are OIDs, not UUIDs, so your wiki fix for that is fine. But this one is an error. |
I managed to reproduce the error. |
Can you share the repro conditions? I'm really curious about this issue. Is it occurring for a specific state and area? |
It has been a while since I looked at this, but I believe it can occur if you also have CCDA export enabled ( In the CCDA exporter, there is a hack to set patient insurance coverage to "No Insurance" if they do not have a coverage record at export time (to avoid an exception), and it sets the expiration of the coverage to
If you are running both the CCDA exporter and the CSV exporter... and the CCDA exporter runs before the CSV exporter (it always does, see code below), then you can get this error for some patients. synthea/src/main/java/org/mitre/synthea/export/Exporter.java Lines 275 to 293 in 6192ed7
|
Indeed it seems if I only use CSV export, the dates are correct. So lesson is, do each export separate or at least do not nclude CCDA when exporting CSV. |
Many thanks for the clarification @jawalonoski. |
What happened?
In some, but not all individuals in my test run, the payer trainsition END_YEAR is a malformed string.
292278994-08-17T07:12:55Z
start year was correctly formatted in this case, although CSV page indicates this as simple YYYY format, but this is clearly a TIMESTAMP field, so not sure if we should update wiki or it it is intended as a timestamp
Environment
Relevant log output
The text was updated successfully, but these errors were encountered: