Class: URI::EHR

Inherits:
Generic
  • Object
show all
Defined in:
lib/open_ehr/rm/data_types/uri.rb

Constant Summary collapse

COMPONENT =
[
  :scheme, :path, :fragment, :query
].freeze

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*arg) ⇒ EHR

Returns a new instance of EHR.



17
18
19
# File 'lib/open_ehr/rm/data_types/uri.rb', line 17

def initialize(*arg)
  super(*arg)
end

Class Method Details

.build(args) ⇒ Object



12
13
14
15
# File 'lib/open_ehr/rm/data_types/uri.rb', line 12

def self.build(args)
  tmp = Util::make_components_hash(self, args)
  super(tmp)
end

.use_registryObject



21
22
23
# File 'lib/open_ehr/rm/data_types/uri.rb', line 21

def self.use_registry
  true
end