Class: OpenEHR::RM::EHR::EHRStatus
- Inherits:
-
Common::Archetyped::Locatable
- Object
- Common::Archetyped::Pathable
- Common::Archetyped::Locatable
- OpenEHR::RM::EHR::EHRStatus
- Defined in:
- lib/openehr/rm/ehr.rb
Constant Summary
Constants included from Common::Archetyped::LocaterConstants
Common::Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, Common::Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, Common::Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, Common::Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, Common::Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR
Instance Attribute Summary collapse
-
#is_modifiable ⇒ Object
Returns the value of attribute is_modifiable.
-
#is_queryable ⇒ Object
Returns the value of attribute is_queryable.
-
#other_details ⇒ Object
Returns the value of attribute other_details.
-
#subject ⇒ Object
Returns the value of attribute subject.
Attributes inherited from Common::Archetyped::Locatable
#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid
Attributes inherited from Common::Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ EHRStatus
constructor
A new instance of EHRStatus.
- #is_modifiable? ⇒ Boolean
- #is_queryable? ⇒ Boolean
- #parent=(parent) ⇒ Object
Methods inherited from Common::Archetyped::Locatable
Methods inherited from Common::Archetyped::Pathable
#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?
Constructor Details
#initialize(args = { }) ⇒ EHRStatus
Returns a new instance of EHRStatus.
124 125 126 127 128 129 130 |
# File 'lib/openehr/rm/ehr.rb', line 124 def initialize(args = { }) super(args) self.subject = args[:subject] self.is_queryable = args[:is_queryable] self.is_modifiable = args[:is_modifiable] self.other_details = args[:other_details] end |
Instance Attribute Details
#is_modifiable ⇒ Object
Returns the value of attribute is_modifiable.
122 123 124 |
# File 'lib/openehr/rm/ehr.rb', line 122 def is_modifiable @is_modifiable end |
#is_queryable ⇒ Object
Returns the value of attribute is_queryable.
122 123 124 |
# File 'lib/openehr/rm/ehr.rb', line 122 def is_queryable @is_queryable end |
#other_details ⇒ Object
Returns the value of attribute other_details.
122 123 124 |
# File 'lib/openehr/rm/ehr.rb', line 122 def other_details @other_details end |
#subject ⇒ Object
Returns the value of attribute subject.
121 122 123 |
# File 'lib/openehr/rm/ehr.rb', line 121 def subject @subject end |
Instance Method Details
#is_modifiable? ⇒ Boolean
141 142 143 |
# File 'lib/openehr/rm/ehr.rb', line 141 def is_modifiable? return @is_modifiable end |
#is_queryable? ⇒ Boolean
137 138 139 |
# File 'lib/openehr/rm/ehr.rb', line 137 def is_queryable? return @is_queryable end |
#parent=(parent) ⇒ Object
145 146 147 148 149 150 |
# File 'lib/openehr/rm/ehr.rb', line 145 def parent=(parent) unless parent.nil? raise ArgumentError, 'parent should be nil' end @parent = parent end |