MeasureAuthoringTool / health-data-standards

https://rubygems.org/gems/health-data-standards
Apache License 2.0
94 stars 93 forks source link

Change condition that checks if code_system exists #467

Closed mayerm94 closed 7 years ago

mayerm94 commented 7 years ago

Change condition that checks if code_system exists to return true if code_system is in the 0th location

Previous logic used just .include which returns index of code_system in map, if the index is 0 the logic evaluates to false. I changed the logic to check if the .include call returns nil instead