class OpenEHR::RM::Support::Identification::LocatableRef
Attributes
path[R]
Public Class Methods
new(args = {})
click to toggle source
Calls superclass method
OpenEHR::RM::Support::Identification::ObjectRef::new
# File lib/open_ehr/rm/support/identification.rb, line 295 def initialize(args = {}) super(args) self.path = args[:path] end
Public Instance Methods
as_uri()
click to toggle source
# File lib/open_ehr/rm/support/identification.rb, line 305 def as_uri 'ehr://' + @id.value + '/' + @path end
path=(path)
click to toggle source
# File lib/open_ehr/rm/support/identification.rb, line 300 def path=(path) raise ArgumentError if path.nil? or path.empty? @path = path end