Class: OpenEHR::RM::EHR::EHR

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/rm/ehr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ EHR

Returns a new instance of EHR.



14
15
16
17
18
19
20
21
22
23
# File 'lib/openehr/rm/ehr.rb', line 14

def initialize(args = { })
  self.system_id = args[:system_id]
  self.ehr_id = args[:ehr_id]
  self.time_created = args[:time_created]
  self.contributions = args[:contributions]
  self.ehr_access = args[:ehr_access]
  self.ehr_status = args[:ehr_status]
  self.compositions = args[:compositions]
  self.directory = args[:directory]
end

Instance Attribute Details

#compositionsObject

Returns the value of attribute compositions.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def compositions
  @compositions
end

#contributionsObject

Returns the value of attribute contributions.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def contributions
  @contributions
end

#directoryObject

Returns the value of attribute directory.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def directory
  @directory
end

#ehr_accessObject

Returns the value of attribute ehr_access.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def ehr_access
  @ehr_access
end

#ehr_idObject

Returns the value of attribute ehr_id.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def ehr_id
  @ehr_id
end

#ehr_statusObject

Returns the value of attribute ehr_status.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def ehr_status
  @ehr_status
end

#system_idObject

Returns the value of attribute system_id.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def system_id
  @system_id
end

#time_createdObject

Returns the value of attribute time_created.



11
12
13
# File 'lib/openehr/rm/ehr.rb', line 11

def time_created
  @time_created
end