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