Class: OpenEHR::RM::Support::Identification::ObjectRef

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

Overview

of ObjectID

Direct Known Subclasses

AccessGroupRef, LocatableRef, PartyRef

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ ObjectRef

Returns a new instance of ObjectRef.



29
30
31
32
33
# File 'lib/open_ehr/rm/support/identification.rb', line 29

def initialize(args = {})
  self.namespace = args[:namespace]
  self.type = args[:type]
  self.id = args[:id]
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



27
28
29
# File 'lib/open_ehr/rm/support/identification.rb', line 27

def id
  @id
end

#namespaceObject

Returns the value of attribute namespace.



27
28
29
# File 'lib/open_ehr/rm/support/identification.rb', line 27

def namespace
  @namespace
end

#typeObject

Returns the value of attribute type.



27
28
29
# File 'lib/open_ehr/rm/support/identification.rb', line 27

def type
  @type
end