Class: OpenEHR::RM::Support::Identification::ObjectID
- Inherits:
-
Object
- Object
- OpenEHR::RM::Support::Identification::ObjectID
- Defined in:
- lib/open_ehr/rm/support/identification.rb
Direct Known Subclasses
ArchetypeID, GenericID, TemplateID, TerminologyID, UIDBasedID
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
- #==(oid) ⇒ Object
-
#initialize(args = {}) ⇒ ObjectID
constructor
A new instance of ObjectID.
Constructor Details
#initialize(args = {}) ⇒ ObjectID
Returns a new instance of ObjectID.
12 13 14 |
# File 'lib/open_ehr/rm/support/identification.rb', line 12 def initialize(args = {}) self.value=args[:value] end |
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value.
10 11 12 |
# File 'lib/open_ehr/rm/support/identification.rb', line 10 def value @value end |
Instance Method Details
#==(oid) ⇒ Object
21 22 23 |
# File 'lib/open_ehr/rm/support/identification.rb', line 21 def ==(oid) self.value == oid.value end |