Class: OpenEHR::RM::EHR::EHR
- Inherits:
-
Object
- Object
- OpenEHR::RM::EHR::EHR
- Defined in:
- lib/open_ehr/rm/ehr.rb
Instance Attribute Summary collapse
-
#compositions ⇒ Object
Returns the value of attribute compositions.
-
#contributions ⇒ Object
Returns the value of attribute contributions.
-
#directory ⇒ Object
Returns the value of attribute directory.
-
#ehr_access ⇒ Object
Returns the value of attribute ehr_access.
-
#ehr_id ⇒ Object
Returns the value of attribute ehr_id.
-
#ehr_status ⇒ Object
Returns the value of attribute ehr_status.
-
#system_id ⇒ Object
Returns the value of attribute system_id.
-
#time_created ⇒ Object
Returns the value of attribute time_created.
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ EHR
constructor
A new instance of EHR.
Constructor Details
#initialize(args = { }) ⇒ EHR
Returns a new instance of EHR.
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/open_ehr/rm/ehr.rb', line 16 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
#compositions ⇒ Object
Returns the value of attribute compositions.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def compositions @compositions end |
#contributions ⇒ Object
Returns the value of attribute contributions.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def contributions @contributions end |
#directory ⇒ Object
Returns the value of attribute directory.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def directory @directory end |
#ehr_access ⇒ Object
Returns the value of attribute ehr_access.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def ehr_access @ehr_access end |
#ehr_id ⇒ Object
Returns the value of attribute ehr_id.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def ehr_id @ehr_id end |
#ehr_status ⇒ Object
Returns the value of attribute ehr_status.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def ehr_status @ehr_status end |
#system_id ⇒ Object
Returns the value of attribute system_id.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def system_id @system_id end |
#time_created ⇒ Object
Returns the value of attribute time_created.
13 14 15 |
# File 'lib/open_ehr/rm/ehr.rb', line 13 def time_created @time_created end |