Module: Clinical::Outcome::InstanceMethods
- Defined in:
- lib/clinical/outcome.rb
Instance Method Summary collapse
Instance Method Details
#primary? ⇒ Boolean
16 17 18 |
# File 'lib/clinical/outcome.rb', line 16 def primary? self.class.tag_name == "primary_outcome" end |
#to_s ⇒ Object
20 21 22 23 24 25 |
# File 'lib/clinical/outcome.rb', line 20 def to_s val = "#{measure}" val << ", TIME FRAME: #{time_frame}" if time_frame val << ",SAFETY ISSUE: #{safety_issue}" if safety_issue val end |