synthetichealth / synthea

Synthetic Patient Population Simulator

Home Page:https://synthetichealth.github.io/synthea

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request feature: Days of History

chaudhariatul opened this issue · comments

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)

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.

@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

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 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.