Class: FHIR::InsurancePlan::Plan::GeneralCost

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'GeneralCost.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'GeneralCost.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'GeneralCost.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'type'=>'CodeableConcept', 'path'=>'GeneralCost.type', 'min'=>0, 'max'=>1},
  'groupSize' => {'type'=>'positiveInt', 'path'=>'GeneralCost.groupSize', 'min'=>0, 'max'=>1},
  'cost' => {'type'=>'Money', 'path'=>'GeneralCost.cost', 'min'=>0, 'max'=>1},
  'comment' => {'type'=>'string', 'path'=>'GeneralCost.comment', '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

#commentObject

0-1 string



159
160
161
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 159

def comment
  @comment
end

#costObject

0-1 Money



158
159
160
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 158

def cost
  @cost
end

#extensionObject

0-* [ Extension ]



154
155
156
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 154

def extension
  @extension
end

#groupSizeObject

0-1 positiveInt



157
158
159
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 157

def groupSize
  @groupSize
end

#idObject

0-1 string



153
154
155
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 153

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



155
156
157
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 155

def modifierExtension
  @modifierExtension
end

#typeObject

0-1 CodeableConcept



156
157
158
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 156

def type
  @type
end