Skip to content
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

Synthea Downloads version statement #1549

Open
eroell opened this issue Jan 10, 2025 · 3 comments
Open

Synthea Downloads version statement #1549

eroell opened this issue Jan 10, 2025 · 3 comments

Comments

@eroell
Copy link

eroell commented Jan 10, 2025

Requested Feature

Hi,
on https://synthea.mitre.org/downloads, I wondered if it was possible to specify the Synthea Version used to generate the data, e.g. write it in the header per dataset. Or is this possible right away from the context, and I'm missing something?

Best regards

@dehall
Copy link
Contributor

dehall commented Jan 13, 2025

Hi, some of the data does include version information:

  • All FHIR data generated by synthea includes a version description in the Patient.text field like this:
 "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Generated by <a href=\"https://github.com/synthetichealth/synthea\">Synthea</a>.Version identifier: v2.6.1-3-g50f4f58f\n .   Person seed: -7901283747506674198  Population seed: 3</div>"
        },

That version identifier includes the release number if available and the git commit hash.

  • Everything under "Latest Version of Synthea" is regenerated automatically every time a commit is made to the master branch so you can cross reference by date to tell what version it was created by.

But for the other formats and sections I see it might not be immediately apparent what version these come from. I'll see if I can find that info and add it to the page.

@eroell
Copy link
Author

eroell commented Jan 16, 2025

Thanks @dehall , this is exactly what I wondered!

For the Covid datasets (only csv's), I'd indeed be interested if this can be figured out... In any case thanks for your efforts!

@dehall
Copy link
Contributor

dehall commented Jan 18, 2025

The covid datasets were generated for a publication and so we generally keep a permanent version for those kinds of things. I'm not 100% sure but I expect it was generated based on the latest on the covid19 branch, from May 2020: https://github.com/synthetichealth/synthea/tree/covid19

Also that reminds me of another clue for trying to figure out a version: by default synthea runs with the current date as the end of simulation, so if you sort entries such as observations by date, you'll probably be able to tell when the end of the simulation was and hence when the data was generated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants