Class: OpenEHR::RM::Support::Identification::ObjectID

Inherits:
Object
  • Object
show all
Defined in:
lib/open_ehr/rm/support/identification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject

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