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

Request feature: Days of History #1465

Open
chaudhariatul opened this issue May 27, 2024 · 4 comments
Open

Request feature: Days of History #1465

chaudhariatul opened this issue May 27, 2024 · 4 comments

Comments

@chaudhariatul
Copy link

Issue reoccured with latest, 3.2.0, 3.1.1 and 3.1.0.

Version 3.0.0 generates observations with correct years and encounters are much beyond the number of years specified with exporter.years_of_history


Would it be possible to add a feature for days_of_history as well?

Originally posted by @chaudhariatul in #1064 (comment)

@jawalonoski
Copy link
Member

Did you specify years of history on the command line or in the properties file?

Did you read this comment #1064 (comment)?

The filter is allowed to keep ACTIVE items from the medical history, even if they exceed the years of history.

@chaudhariatul
Copy link
Author

@jawalonoski I tried both options:

This is the synthea.properties file and command used

java -jar synthea-with-dependencies.jar -c synthea.properties -p 1 California "San Jose"

exporter.years_of_history = 1
exporter.metadata.export = false
exporter.fhir.export = false
exporter.hospital.fhir.export = false
exporter.practitioner.fhir.export = true
exporter.csv.export = true
exporter.text.export = false
generate.only_alive_patients = true

When using just the command :

java -jar synthea-with-dependencies.jar -p 1 California "San Jose" --exporter.years_of_history 1

@chaudhariatul
Copy link
Author

The link to comment helps to understand the logic for generating encounters and observations for those past years. Thanks.


Requesting a feature for days_of_history to have ability to generate recent encounters with N number of days.

@jawalonoski jawalonoski changed the title ## Specifying years of history doesn't work | Issue reoccured with latest, 3.2.0, 3.1.1 and 3.1.0. Request feature: Days of History May 29, 2024
@chaudhariatul
Copy link
Author

@jawalonoski the latest jar from master branch resolved the issue related to years_of_history
synthea-with-dependencies.jar. Will this be version 3.2.1 or we expecting newer versions in coming days?

Thanks for creating the feature request for days of history.

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