Class: OpenEHR::RM::DataTypes::Text::CodePhrase

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ CodePhrase

Returns a new instance of CodePhrase.



63
64
65
66
# File 'lib/open_ehr/rm/data_types/text.rb', line 63

def initialize(args = {})
  self.code_string = args[:code_string]
  self.terminology_id = args[:terminology_id]
end

Instance Attribute Details

#code_stringObject

Returns the value of attribute code_string.



61
62
63
# File 'lib/open_ehr/rm/data_types/text.rb', line 61

def code_string
  @code_string
end

#terminology_idObject

Returns the value of attribute terminology_id.



61
62
63
# File 'lib/open_ehr/rm/data_types/text.rb', line 61

def terminology_id
  @terminology_id
end