Class: OpenEHR::AM::Archetype::ValidityKind

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/am/archetype.rb

Constant Summary collapse

MANDATORY =
1001
OPTIONAL =
1002
DISALLOWED =
1003

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ ValidityKind

Returns a new instance of ValidityKind.



124
125
126
# File 'lib/openehr/am/archetype.rb', line 124

def initialize(args = { })
  self.value = args[:value]
end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



118
119
120
# File 'lib/openehr/am/archetype.rb', line 118

def value
  @value
end