Class: OpenEHR::RM::Support::Identification::UIDBasedID
- Defined in:
- lib/open_ehr/rm/support/identification.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#extension ⇒ Object
readonly
Returns the value of attribute extension.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Attributes inherited from ObjectID
Instance Method Summary collapse
- #has_extension? ⇒ Boolean
-
#initialize(args = {}) ⇒ UIDBasedID
constructor
A new instance of UIDBasedID.
- #value=(value) ⇒ Object
Methods inherited from ObjectID
Constructor Details
#initialize(args = {}) ⇒ UIDBasedID
Returns a new instance of UIDBasedID.
221 222 223 |
# File 'lib/open_ehr/rm/support/identification.rb', line 221 def initialize(args = {}) super(args) end |
Instance Attribute Details
#extension ⇒ Object (readonly)
Returns the value of attribute extension.
219 220 221 |
# File 'lib/open_ehr/rm/support/identification.rb', line 219 def extension @extension end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
219 220 221 |
# File 'lib/open_ehr/rm/support/identification.rb', line 219 def root @root end |
Instance Method Details
#has_extension? ⇒ Boolean
236 237 238 |
# File 'lib/open_ehr/rm/support/identification.rb', line 236 def has_extension? return !@extension.empty? end |