Class: OpenEHR::RM::DataTypes::Text::CodePhrase
- Inherits:
-
Object
- Object
- OpenEHR::RM::DataTypes::Text::CodePhrase
- Defined in:
- lib/open_ehr/rm/data_types/text.rb
Instance Attribute Summary collapse
-
#code_string ⇒ Object
Returns the value of attribute code_string.
-
#terminology_id ⇒ Object
Returns the value of attribute terminology_id.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ CodePhrase
constructor
A new instance of CodePhrase.
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_string ⇒ Object
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_id ⇒ Object
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 |