Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::CDvState
- Inherits:
-
Archetype::ConstraintModel::CDomainType
- Object
- Archetype::ConstraintModel::ArchetypeConstraint
- Archetype::ConstraintModel::CObject
- Archetype::ConstraintModel::CDefinedObject
- Archetype::ConstraintModel::CDomainType
- OpenEHR::AM::OpenEHRProfile::DataTypes::Basic::CDvState
- Defined in:
- lib/openehr/am/openehr_profile/data_types/basic.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from Archetype::ConstraintModel::CDefinedObject
Attributes inherited from Archetype::ConstraintModel::CObject
#node_id, #occurrences, #rm_type_name
Attributes inherited from Archetype::ConstraintModel::ArchetypeConstraint
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ CDvState
constructor
A new instance of CDvState.
Methods inherited from Archetype::ConstraintModel::CDomainType
Methods inherited from Archetype::ConstraintModel::CDefinedObject
#any_allowed?, #default_value, #has_assumed_value?, #valid_value?
Methods inherited from Archetype::ConstraintModel::CObject
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
#value ⇒ Object
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 |