Sha256: 90a0c895c2c192c3f4426fc639b85afca0461853902c3e851627d656655c1886
Contents?: true
Size: 369 Bytes
Versions: 13
Compression:
Stored size: 369 Bytes
Contents
# frozen_string_literal: true module ThinkFeelDoEngine # Used to display a warning message to clinicians if # a user scores a 3 on a the PHQ-9 module PhqAssessmentHelper def phq_warning(score) if score == 3 "<div class='label label-danger'>PHQ-9 WARNING: #{score}</div>" .html_safe else score end end end end
Version data entries
13 entries across 13 versions & 1 rubygems