Class: FHIR::CoverageEligibilityResponse::Insurance

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

Defined Under Namespace

Classes: Item

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Insurance.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Insurance.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Insurance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'coverage' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Coverage'], 'type'=>'Reference', 'path'=>'Insurance.coverage', 'min'=>1, 'max'=>1},
  'inforce' => {'type'=>'boolean', 'path'=>'Insurance.inforce', 'min'=>0, 'max'=>1},
  'benefitPeriod' => {'type'=>'Period', 'path'=>'Insurance.benefitPeriod', 'min'=>0, 'max'=>1},
  'item' => {'type'=>'CoverageEligibilityResponse::Insurance::Item', 'path'=>'Insurance.item', '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

#benefitPeriodObject

0-1 Period



136
137
138
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 136

def benefitPeriod
  @benefitPeriod
end

#coverageObject

1-1 Reference(Coverage)



134
135
136
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 134

def coverage
  @coverage
end

#extensionObject

0-* [ Extension ]



132
133
134
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 132

def extension
  @extension
end

#idObject

0-1 string



131
132
133
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 131

def id
  @id
end

#inforceObject

0-1 boolean



135
136
137
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 135

def inforce
  @inforce
end

#itemObject

0-* [ CoverageEligibilityResponse::Insurance::Item ]



137
138
139
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 137

def item
  @item
end

#modifierExtensionObject

0-* [ Extension ]



133
134
135
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 133

def modifierExtension
  @modifierExtension
end