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

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_stu3_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://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



621
622
623
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 621

def allowedMoney
  @allowedMoney
end

#allowedStringObject

0-1 string



620
621
622
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 620

def allowedString
  @allowedString
end

#allowedUnsignedIntObject

0-1 unsignedInt



619
620
621
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 619

def allowedUnsignedInt
  @allowedUnsignedInt
end

#extensionObject

0-* [ Extension ]



616
617
618
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 616

def extension
  @extension
end

#idObject

0-1 string



615
616
617
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 615

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



617
618
619
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 617

def modifierExtension
  @modifierExtension
end

#typeObject

1-1 CodeableConcept



618
619
620
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 618

def type
  @type
end

#usedMoneyObject

0-1 Money



623
624
625
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 623

def usedMoney
  @usedMoney
end

#usedUnsignedIntObject

0-1 unsignedInt



622
623
624
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 622

def usedUnsignedInt
  @usedUnsignedInt
end