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.



223
224
225
# File 'lib/openehr/am/archetype.rb', line 223

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

Instance Attribute Details

#valueObject

Returns the value of attribute value.



217
218
219
# File 'lib/openehr/am/archetype.rb', line 217

def value
  @value
end