Module: Clinical::Outcome

Included in:
PrimaryOutcome, SecondaryOutcome
Defined in:
lib/clinical/outcome.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
12
13
# File 'lib/clinical/outcome.rb', line 4

def self.included(base)
  base.send(:include, InstanceMethods)
  base.class_eval do
    include InstanceMethods
    include HappyMapper
    element :measure, String
    element :time_frame, String
    element :safety_issue, String
  end
end