Class: FHIR::STU3::EligibilityResponse::Insurance::BenefitBalance::Financial

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'allowed' => ['unsignedInt', 'string', 'Money'],
  'used' => ['unsignedInt', 'Money']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Financial.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Financial.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Financial.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/benefit-type'=>['benefit', 'deductable', 'visit', 'room', 'copay', 'copay-percent', 'copay-maximum', 'vision-exam', 'vision-glasses', 'vision-contacts', 'medical-primarycare', 'pharmacy-dispense']}, 'type'=>'CodeableConcept', 'path'=>'Financial.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-type'}},
  'allowedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Financial.allowed[x]', 'min'=>0, 'max'=>1},
  'allowedString' => {'type'=>'string', 'path'=>'Financial.allowed[x]', 'min'=>0, 'max'=>1},
  'allowedMoney' => {'type'=>'Money', 'path'=>'Financial.allowed[x]', 'min'=>0, 'max'=>1},
  'usedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Financial.used[x]', 'min'=>0, 'max'=>1},
  'usedMoney' => {'type'=>'Money', 'path'=>'Financial.used[x]', '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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::STU3::Model

Dynamic Method Handling

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

Instance Attribute Details

#allowedMoneyObject

0-1 Money



94
95
96
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 94

def allowedMoney
  @allowedMoney
end

#allowedStringObject

0-1 string



93
94
95
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 93

def allowedString
  @allowedString
end

#allowedUnsignedIntObject

0-1 unsignedInt



92
93
94
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 92

def allowedUnsignedInt
  @allowedUnsignedInt
end

#extensionObject

0-* [ Extension ]



89
90
91
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 89

def extension
  @extension
end

#idObject

0-1 string



88
89
90
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 88

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



90
91
92
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 90

def modifierExtension
  @modifierExtension
end

#typeObject

1-1 CodeableConcept



91
92
93
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 91

def type
  @type
end

#usedMoneyObject

0-1 Money



96
97
98
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 96

def usedMoney
  @usedMoney
end

#usedUnsignedIntObject

0-1 unsignedInt



95
96
97
# File 'lib/fhir_stu3_models/fhir/resources/EligibilityResponse.rb', line 95

def usedUnsignedInt
  @usedUnsignedInt
end