-
Notifications
You must be signed in to change notification settings - Fork 700
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
FHIR Resource Type Filter #1104
Comments
Any update on this? I have found that I can hack a solution for this by commenting out certain parts in synthea/src/main/java/org/mitre/synthea/export/FhirR4.java Lines 267 to 337 in 5d90e08
Would you recommend any other way? Ideally the resources I want to omit should not be generated at all, but I guess there are some dependencies between these. |
I don't believe anyone is actively working on this yet. If you are motivated enough to issue a Pull Request, we'd happily consider it. The hack you are using is fine for a quick local change, but you are correct that there are dependencies... or at least, references between the resources. Ideally each time a reference is created, it would instead be conditionally created based on what resources are being included/exported. This would need some pretty good test cases though to validate the results (broken references would be invalid). |
Implemented in #1178 |
Requested Feature
Modify the FHIR exporters to only export specific resources, similar to how the CSV exporter can include/exclude specific files:
synthea/src/main/resources/synthea.properties
Lines 36 to 43 in c266ab6
The text was updated successfully, but these errors were encountered: