Class: OpenEHR::RM::DataTypes::Text::DvCodedText

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

Constant Summary

Constants included from Support::Definition::BasicDefinition

Support::Definition::BasicDefinition::CR, Support::Definition::BasicDefinition::LF

Instance Attribute Summary collapse

Attributes inherited from DvText

#encoding, #formatting, #hyperlink, #language, #mappings

Attributes inherited from Basic::DataValue

#value

Instance Method Summary collapse

Methods inherited from DvText

#value=

Methods inherited from Basic::DataValue

#==

Constructor Details

#initialize(args = {}) ⇒ DvCodedText

Returns a new instance of DvCodedText.



138
139
140
141
# File 'lib/open_ehr/rm/data_types/text.rb', line 138

def initialize(args = {})
  super(args)
  self.defining_code = args[:defining_code]
end

Instance Attribute Details

#defining_codeObject

Returns the value of attribute defining_code.



136
137
138
# File 'lib/open_ehr/rm/data_types/text.rb', line 136

def defining_code
  @defining_code
end