class OpenEHR::AM::OpenEHRProfile::DataTypes::Text::CCodePhrase
Attributes
code_list[RW]
terminology_id[RW]
Public Class Methods
new(args = { })
click to toggle source
Calls superclass method
OpenEHR::AM::Archetype::ConstraintModel::CDefinedObject::new
# File lib/openehr/am/openehr_profile/data_types/text.rb, line 11 def initialize(args = { }) super self.terminology_id = args[:terminology_id] self.code_list = args[:code_list] self.assumed_value = args[:assumed_value] end
Public Instance Methods
any_allowed?()
click to toggle source
# File lib/openehr/am/openehr_profile/data_types/text.rb, line 18 def any_allowed? @terminology_id.nil? && @code_list.nil? end