class OpenEHR::RM::Support::Identification::UIDBasedID
Attributes
extension[R]
root[R]
Public Class Methods
new(args = {})
click to toggle source
Calls superclass method
OpenEHR::RM::Support::Identification::ObjectID::new
# File lib/open_ehr/rm/support/identification.rb, line 221 def initialize(args = {}) super(args) end
Public Instance Methods
has_extension?()
click to toggle source
# File lib/open_ehr/rm/support/identification.rb, line 236 def has_extension? return !@extension.empty? end
value=(value)
click to toggle source
Calls superclass method
OpenEHR::RM::Support::Identification::ObjectID#value=
# File lib/open_ehr/rm/support/identification.rb, line 225 def value=(value) super(value) if /(\S+)::(\S+)/ =~ value @root = UID.new(:value => $1) @extension = $2 else @root = UID.new(:value => value) @extension = '' end end