Class: FHIR::InsurancePlan::Plan::SpecificCost::Benefit

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

Defined Under Namespace

Classes: Cost

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Benefit.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Benefit.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Benefit.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'type'=>'CodeableConcept', 'path'=>'Benefit.type', 'min'=>1, 'max'=>1},
  'cost' => {'type'=>'InsurancePlan::Plan::SpecificCost::Benefit::Cost', 'path'=>'Benefit.cost', 'min'=>0, 'max'=>Float::INFINITY}
}

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

#costObject

0-* [ InsurancePlan::Plan::SpecificCost::Benefit::Cost ]



216
217
218
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 216

def cost
  @cost
end

#extensionObject

0-* [ Extension ]



213
214
215
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 213

def extension
  @extension
end

#idObject

0-1 string



212
213
214
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 212

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



214
215
216
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 214

def modifierExtension
  @modifierExtension
end

#typeObject

1-1 CodeableConcept



215
216
217
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 215

def type
  @type
end