class OpenEHR::RM::Support::Identification::LocatableRef

Attributes

path[R]

Public Class Methods

new(args = {}) click to toggle source
# File lib/openehr/rm/support/identification.rb, line 294
def initialize(args = {})
  super(args)
  self.path = args[:path]
end

Public Instance Methods

as_uri() click to toggle source
# File lib/openehr/rm/support/identification.rb, line 304
def as_uri
  'ehr://' + @id.value + '/' + @path
end
path=(path) click to toggle source
# File lib/openehr/rm/support/identification.rb, line 299
def path=(path)
  raise ArgumentError if path.nil? or path.empty?
  @path = path
end