class OpenEHR::RM::Support::Identification::GenericID

Attributes

scheme[R]

Public Class Methods

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

Public Instance Methods

scheme=(scheme) click to toggle source
# File lib/openehr/rm/support/identification.rb, line 205
def scheme=(scheme)
  if scheme.nil? or scheme.empty?
    raise ArgumentError, "scheme not valid"
  end
  @scheme = scheme
end