diff --git a/app/services/imports/case_logs_import_service.rb b/app/services/imports/case_logs_import_service.rb index f04fb8cea..29cdd242e 100644 --- a/app/services/imports/case_logs_import_service.rb +++ b/app/services/imports/case_logs_import_service.rb @@ -459,9 +459,9 @@ module Imports def illness_type(xml_doc, index, illness) illness_type = string_or_nil(xml_doc, "Q10ib-#{index}") - if illness_type == "Yes" && illness == "Yes" + if illness_type == "Yes" && illness == 1 1 - elsif illness == "Yes" + elsif illness == 1 0 end end