Class: OpenEHR::AM::Template::OperationalTemplate

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/am/template.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ OperationalTemplate

Returns a new instance of OperationalTemplate.



7
8
9
10
11
12
13
14
15
# File 'lib/openehr/am/template.rb', line 7

def initialize(args = {})
  self.uid = args[:uid]
  self.concept = args[:concept]
  self.template_id = args[:template_id]
  self.language = args[:language]
  self.description = args[:description]
  self.definition = args[:definition]
  self.component_terminologies = args[:component_terminologies]
end

Instance Attribute Details

#component_terminologiesObject

Returns the value of attribute component_terminologies.



5
6
7
# File 'lib/openehr/am/template.rb', line 5

def component_terminologies
  @component_terminologies
end

#conceptObject

Returns the value of attribute concept.



5
6
7
# File 'lib/openehr/am/template.rb', line 5

def concept
  @concept
end

#definitionObject

Returns the value of attribute definition.



5
6
7
# File 'lib/openehr/am/template.rb', line 5

def definition
  @definition
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/openehr/am/template.rb', line 5

def description
  @description
end

#languageObject

Returns the value of attribute language.



5
6
7
# File 'lib/openehr/am/template.rb', line 5

def language
  @language
end

#template_idObject

Returns the value of attribute template_id.



5
6
7
# File 'lib/openehr/am/template.rb', line 5

def template_id
  @template_id
end

#uidObject

Returns the value of attribute uid.



5
6
7
# File 'lib/openehr/am/template.rb', line 5

def uid
  @uid
end