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.



68
69
70
71
72
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 68

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.



66
67
68
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 66

def guideline_id
  @guideline_id
end

#protocolObject

Returns the value of attribute protocol.



66
67
68
# File 'lib/open_ehr/rm/composition/content/entry.rb', line 66

def protocol
  @protocol
end