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, normalize_path, path_attribute, path_attributes, #path_children, #path_exists?, #path_of_item, #path_unique?, select_by_predicate
Constructor Details
#initialize(args = { }) ⇒ EHRStatus
Returns a new instance of EHRStatus.
143 144 145 146 147 148 149 |
# File 'lib/openehr/rm/ehr.rb', line 143 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.
140 141 142 |
# File 'lib/openehr/rm/ehr.rb', line 140 def is_modifiable @is_modifiable end |
#is_queryable ⇒ Object
Returns the value of attribute is_queryable.
140 141 142 |
# File 'lib/openehr/rm/ehr.rb', line 140 def is_queryable @is_queryable end |
#other_details ⇒ Object
Returns the value of attribute other_details.
140 141 142 |
# File 'lib/openehr/rm/ehr.rb', line 140 def other_details @other_details end |
#subject ⇒ Object
Returns the value of attribute subject.
139 140 141 |
# File 'lib/openehr/rm/ehr.rb', line 139 def subject @subject end |
Instance Method Details
#is_modifiable? ⇒ Boolean
160 161 162 |
# File 'lib/openehr/rm/ehr.rb', line 160 def is_modifiable? return @is_modifiable end |
#is_queryable? ⇒ Boolean
156 157 158 |
# File 'lib/openehr/rm/ehr.rb', line 156 def is_queryable? return @is_queryable end |
#parent=(parent) ⇒ Object
164 165 166 167 168 169 |
# File 'lib/openehr/rm/ehr.rb', line 164 def parent=(parent) unless parent.nil? raise ArgumentError, 'parent should be nil' end @parent = parent end |