lib/generator/codes_to_json.rb in hqmf2js-1.3.0 vs lib/generator/codes_to_json.rb in hqmf2js-1.4.0
- old
+ new
@@ -12,10 +12,10 @@
translation = {}
value_sets.each do |value_set|
code_sets = {}
value_set.concepts.each do |code_set|
code_sets[code_set.code_system_name] ||= []
- code_sets[code_set.code_system_name].concat(code_set.code.to_a)
+ code_sets[code_set.code_system_name] << code_set.code
end
translation[value_set.oid] = code_sets
end