Class: OpenEHR::RM::Composition::Content::Entry::Activity

Inherits:
Locatable
  • Object
show all
Defined in:
lib/open_ehr/rm/composition/content/entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ Activity

Returns a new instance of Activity.



135
136
137
138
139
140
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 135

def initialize(args = { })
  super(args)
  self.description = args[:description]
  self.timing = args[:timing]
  self.action_archetype_id = args[:action_archetype_id]
end

Instance Attribute Details

#action_archetype_idObject (readonly)

Returns the value of attribute action_archetype_id.



133
134
135
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 133

def action_archetype_id
  @action_archetype_id
end

#descriptionObject

Returns the value of attribute description.



133
134
135
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 133

def description
  @description
end

#timingObject

Returns the value of attribute timing.



133
134
135
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 133

def timing
  @timing
end