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

Generic Module Error #157

Closed
jawalonoski opened this issue Feb 21, 2017 · 1 comment · Fixed by #158
Closed

Generic Module Error #157

jawalonoski opened this issue Feb 21, 2017 · 1 comment · Fixed by #158
Assignees

Comments

@jawalonoski
Copy link
Member

NoMethodError: undefined method `to_sym' for nil:NilClass
Did you mean?  to_s
/Users/jwalonoski/git/synthea/lib/generic/states.rb:458:in `end_prescription'
/Users/jwalonoski/git/synthea/lib/generic/states.rb:452:in `process'
/Users/jwalonoski/git/synthea/lib/generic/states.rb:36:in `run'
/Users/jwalonoski/git/synthea/lib/generic/context.rb:31:in `run'
/Users/jwalonoski/git/synthea/lib/generic/context.rb:50:in `run'
/Users/jwalonoski/git/synthea/lib/modules/generic.rb:54:in `block (2 levels) in <class:Generic>'
/Users/jwalonoski/git/synthea/lib/modules/generic.rb:49:in `each'
/Users/jwalonoski/git/synthea/lib/modules/generic.rb:49:in `block in <class:Generic>'
/Users/jwalonoski/git/synthea/lib/modules/module.rb:10:in `call'
/Users/jwalonoski/git/synthea/lib/modules/module.rb:10:in `block in run'
/Users/jwalonoski/git/synthea/lib/modules/module.rb:10:in `each'
/Users/jwalonoski/git/synthea/lib/modules/module.rb:10:in `run'
/Users/jwalonoski/git/synthea/lib/modules/module.rb:18:in `block in apply'
/Users/jwalonoski/git/synthea/lib/modules/module.rb:18:in `each'
/Users/jwalonoski/git/synthea/lib/modules/module.rb:18:in `apply'
/Users/jwalonoski/git/synthea/lib/world/sequential.rb:274:in `build_person'
/Users/jwalonoski/git/synthea/lib/world/sequential.rb:169:in `run_random'
/Users/jwalonoski/git/synthea/lib/world/sequential.rb:83:in `run'
@jawalonoski
Copy link
Member Author

Added some debugging to find:

FATAL ERROR State: Ear_Infection_OTC_Painkiller_End
FATAL ERROR in Module: ear_infections

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

Successfully merging a pull request may close this issue.

1 participant