Class: OpenEHR::RM::DataTypes::Text::DvCodedText
- Inherits:
-
DvText
- Object
- Basic::DataValue
- DvText
- OpenEHR::RM::DataTypes::Text::DvCodedText
- 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
-
#defining_code ⇒ Object
Returns the value of attribute defining_code.
Attributes inherited from DvText
#encoding, #formatting, #hyperlink, #language, #mappings
Attributes inherited from Basic::DataValue
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ DvCodedText
constructor
A new instance of DvCodedText.
Methods inherited from DvText
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_code ⇒ Object
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 |