Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::CDvState

Inherits:
Archetype::ConstraintModel::CDomainType show all
Defined in:
lib/openehr/am/openehr_profile/data_types/basic.rb

Instance Attribute Summary collapse

Attributes inherited from Archetype::ConstraintModel::CDefinedObject

#assumed_value

Attributes inherited from Archetype::ConstraintModel::CObject

#node_id, #occurrences, #rm_type_name

Attributes inherited from Archetype::ConstraintModel::ArchetypeConstraint

#parent, #path

Instance Method Summary collapse

Methods inherited from Archetype::ConstraintModel::CDomainType

#standard_equivalent

Methods inherited from Archetype::ConstraintModel::CDefinedObject

#any_allowed?, #default_value, #has_assumed_value?, #valid_value?

Methods inherited from Archetype::ConstraintModel::CObject

#path

Methods inherited from Archetype::ConstraintModel::ArchetypeConstraint

#congruent?, #has_path?, #node_conforms_to?

Constructor Details

#initialize(args = { }) ⇒ CDvState

Returns a new instance of CDvState.



11
12
13
14
15
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 11

def initialize(args = { })
  args[:rm_type_name] = 'DvState'
  super
  self.value = args[:value]
end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



9
10
11
# File 'lib/openehr/am/openehr_profile/data_types/basic.rb', line 9

def value
  @value
end