question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updating records over time

See original GitHub issue

Hi,

Apologies if this is the wrong place to log this. I am looking to understand if it is possible to replicate a use case I see in many health institutions. The challenge is showing data changing over time. For example patient 1 lives at address A then moves to address B. In many systems this is represented as:

ID,BIRTHDATE,DEATHDATE,SSN,DRIVERS,PASSPORT,PREFIX,FIRST,LAST,SUFFIX,MAIDEN,MARITAL,RACE,ETHNICITY,GENDER,BIRTHPLACE,ADDRESS
a216e053-3ff2-4af6-96f8-c3f12a25384a,1956-01-18,1956-02-22,999-27-5187,,,,Mohammad3,Stiedemann935,,,,white,german,F,Blackstone MA US,9984 Werner Summit Eastham MA 02642 US

When the patient moves a delta is created with the same ID but with different details, e.g.

a216e053-3ff2-4af6-96f8-c3f12a25384a,1956-01-18,1956-02-22,999-27-5187,,,,Mohammad3,Stiedemann935,,,,white,german,F,Norwood MA US,4320 Dexter Mills Eastham MA 02642 US

Is is possible to simulate this behaviour with Synthea. For example creating an inital dataset for years 0-50 and then a set of delta with updates made for some of the records over time, e.g. years 50-51, 51-52, 52-53 etc.

Any help much appreciated 😃

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AndriesSmartmedcommented, Jun 29, 2020

Currently I’m trying to generate evolving vital sign data through the Evolving Population feature at: [https://github.com/synthetichealth/synthea/wiki/Evolving-a-Population]

However I run into an error, how to proceed? (normal Synthea cmd run just fine) My setup:

Windows .bat file: java -jar synthea-with-dependencies.jar ./run_synthea -p 5 -u output/1/snap --exporter.baseDirectory output/1 java -jar synthea-with-dependencies.jar ./run_synthea -i output/1/snap -u output/2/snap -t 100 --exporter.baseDirectory output/2 java -jar synthea-with-dependencies.jar ./run_synthea -i output/2/snap -u output/3/snap -t 100 --exporter.baseDirectory output/3 pause

Folder structure: output/1, output/2, output/3

Error: Unable to load demographics java.lang.Exception: The city output/1/snap was not found in the demographics file. at org.mitre.synthea.world.geography.Location.<init>(Location.java:59) at org.mitre.synthea.engine.Generator.init(Generator.java:188) at org.mitre.synthea.engine.Generator.<init>(Generator.java:143) at App.main(App.java:144) Exception in thread "main" java.lang.ExceptionInInitializerError at org.mitre.synthea.world.geography.Location.<init>(Location.java:81) at org.mitre.synthea.engine.Generator.init(Generator.java:188) at org.mitre.synthea.engine.Generator.<init>(Generator.java:143) at App.main(App.java:144) Caused by: java.lang.Exception: The city output/1/snap was not found in the demographics file. at org.mitre.synthea.world.geography.Location.<init>(Location.java:59) ... 3 more

0reactions
AndriesSmartmedcommented, Jun 29, 2020

@jawalonoski & @dehall thanks! I have downloaded and build the latest version, and have it up and running!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Update millions or records in a table - Ask TOM
How to Update millions or records in a table Good Morning Tom. ... I want to update and commit every time for so...
Read more >
Design considerations for updating data - Microsoft Support
If a large number of records share the same value for a given field, such as a city or country/region, you can save...
Read more >
Mass update records in Salesforce
There are several methods available for mass updating records in Salesforce. ... How to update a large number of records at the same...
Read more >
How to Save Time When Updating Patient Records - iinsight
Updating your patient's records can be a long and arduous process. Click here for some tips on how to save time and make...
Read more >
The importance of updating records
One great blessing of not updating your records is going back and finding that you have money held in a state fund called...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found