Interest for the list of conditions and related symptoms
See original GitHub issueHi @jawalonoski, Thanks for the amazing work you are doing with the Synthea project. As far as I understood, Synthea allows us to simulate a population life cycle given demographic data while generating the EMR for each simulated person. In my project, I am interested not in the EMR but in the list of conditions that a person has suffered from during his life together with the related symptoms. Also I want to take advantage of the Simulation power of Synthea and especially the Synthea Generic Modules. Here is an example of a given module describing a pathology with the related symptom (please remove the txt extension to obtain a json file that cold be visualize easily with the framework): abdominal-hernia_new.json.txt After analyzing the code, it seems that Synthea does not support this functionality out of the box. Therefore, I am considering the following solution:
- Add the field
condition_symtoms
to the classPerson
of type Dict that would be indexed as follows: [age -> [condition -> [symptom -> value]]] where each bracket represents a dictionary. - Modify the
set_symptom
function of the classPerson
to update the newly introduced field concurrently when the symptoms are created. - Add an export flag that, when set, will allow me to dump the newly introduced field in a file (JSON, CSV) while taking care to not alter the EMR file generated so far.
Do you think the solution makes sense? If so, would it be possible to integrate back the solution as part of the Synthea code?
Regards,
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (9 by maintainers)
Top GitHub Comments
@jawalonoski I just opened the PR #685. Regards,
Thanks @jawalonoski . I am on it.