Class: OpenEHR::RM::Composition::Content::Entry::CareEntry

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

Direct Known Subclasses

Action, Evaluation, Instruction, Observation

Instance Attribute Summary collapse

Attributes inherited from Entry

#encoding, #language, #other_participations, #provider, #subject, #workflow_id

Instance Method Summary collapse

Methods inherited from Entry

#subject_is_self?

Constructor Details

#initialize(args = { }) ⇒ CareEntry

Returns a new instance of CareEntry.



61
62
63
64
65
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 61

def initialize(args = { })
  super(args)
  self.protocol = args[:protocol]
  self.guideline_id = args[:guideline_id]
end

Instance Attribute Details

#guideline_idObject

Returns the value of attribute guideline_id.



59
60
61
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 59

def guideline_id
  @guideline_id
end

#protocolObject

Returns the value of attribute protocol.



59
60
61
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 59

def protocol
  @protocol
end