Class: FHIR::InsurancePlan::Plan

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

Defined Under Namespace

Classes: GeneralCost, SpecificCost

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Plan.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Plan.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Plan.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'Plan.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'type'=>'CodeableConcept', 'path'=>'Plan.type', 'min'=>0, 'max'=>1},
  'coverageArea' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'Plan.coverageArea', 'min'=>0, 'max'=>Float::INFINITY},
  'network' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Plan.network', 'min'=>0, 'max'=>Float::INFINITY},
  'generalCost' => {'type'=>'InsurancePlan::Plan::GeneralCost', 'path'=>'Plan.generalCost', 'min'=>0, 'max'=>Float::INFINITY},
  'specificCost' => {'type'=>'InsurancePlan::Plan::SpecificCost', 'path'=>'Plan.specificCost', '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

#coverageAreaObject

0-* [ Reference(Location) ]



231
232
233
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 231

def coverageArea
  @coverageArea
end

#extensionObject

0-* [ Extension ]



227
228
229
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 227

def extension
  @extension
end

#generalCostObject

0-* [ InsurancePlan::Plan::GeneralCost ]



233
234
235
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 233

def generalCost
  @generalCost
end

#idObject

0-1 string



226
227
228
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 226

def id
  @id
end

#identifierObject

0-* [ Identifier ]



229
230
231
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 229

def identifier
  @identifier
end

#modifierExtensionObject

0-* [ Extension ]



228
229
230
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 228

def modifierExtension
  @modifierExtension
end

#networkObject

0-* [ Reference(Organization) ]



232
233
234
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 232

def network
  @network
end

#specificCostObject

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



234
235
236
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 234

def specificCost
  @specificCost
end

#typeObject

0-1 CodeableConcept



230
231
232
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 230

def type
  @type
end