Class: FHIR::PlanDefinition::Action::Condition

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/PlanDefinition.rb

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Condition.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Condition.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Condition.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'kind' => {'valid_codes'=>{'http://hl7.org/fhir/action-condition-kind'=>['applicability', 'start', 'stop']}, 'type'=>'code', 'path'=>'Condition.kind', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/action-condition-kind|4.0.0'}},
  'expression' => {'type'=>'Expression', 'path'=>'Condition.expression', 'min'=>0, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, #to_xml, valid?, validate

Methods included from Deprecate

#deprecate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#==, #attribute_mismatch, #compare_attribute, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::Model

Instance Attribute Details

#expressionObject

0-1 Expression



180
181
182
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 180

def expression
  @expression
end

#extensionObject

0-* [ Extension ]



177
178
179
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 177

def extension
  @extension
end

#idObject

0-1 string



176
177
178
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 176

def id
  @id
end

#kindObject

1-1 code



179
180
181
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 179

def kind
  @kind
end

#modifierExtensionObject

0-* [ Extension ]



178
179
180
# File 'lib/fhir_models/fhir/resources/PlanDefinition.rb', line 178

def modifierExtension
  @modifierExtension
end