Class: FHIR::ExplanationOfBenefit::BenefitBalance::Financial

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/fhir/resources/ExplanationOfBenefit.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://terminology.hl7.org/CodeSystem/benefit-type'=>['benefit', 'deductible', '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, #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

#allowedMoneyObject

0-1 Money



711
712
713
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 711

def allowedMoney
  @allowedMoney
end

#allowedStringObject

0-1 string



710
711
712
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 710

def allowedString
  @allowedString
end

#allowedUnsignedIntObject

0-1 unsignedInt



709
710
711
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 709

def allowedUnsignedInt
  @allowedUnsignedInt
end

#extensionObject

0-* [ Extension ]



706
707
708
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 706

def extension
  @extension
end

#idObject

0-1 string



705
706
707
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 705

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



707
708
709
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 707

def modifierExtension
  @modifierExtension
end

#typeObject

1-1 CodeableConcept



708
709
710
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 708

def type
  @type
end

#usedMoneyObject

0-1 Money



713
714
715
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 713

def usedMoney
  @usedMoney
end

#usedUnsignedIntObject

0-1 unsignedInt



712
713
714
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 712

def usedUnsignedInt
  @usedUnsignedInt
end