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

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'benefit' => ['unsignedInt', 'string', 'Money'],
  'benefitUsed' => ['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', 'benefit', 'deductable', 'visit', 'room', 'copay', 'copay-percent', 'copay-maximum', 'vision-exam', 'vision-glasses', 'vision-contacts', 'medical-primarycare', 'pharmacy-dispense']}, 'type'=>'Coding', 'path'=>'Financial.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-type'}},
  'benefitUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Financial.benefit[x]', 'min'=>0, 'max'=>1},
  'benefitString' => {'type'=>'string', 'path'=>'Financial.benefit[x]', 'min'=>0, 'max'=>1},
  'benefitMoney' => {'type'=>'Money', 'path'=>'Financial.benefit[x]', 'min'=>0, 'max'=>1},
  'benefitUsedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Financial.benefitUsed[x]', 'min'=>0, 'max'=>1},
  'benefitUsedMoney' => {'type'=>'Money', 'path'=>'Financial.benefitUsed[x]', 'min'=>0, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

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?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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

#benefitMoneyObject

0-1 Money



693
694
695
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 693

def benefitMoney
  @benefitMoney
end

#benefitStringObject

0-1 string



692
693
694
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 692

def benefitString
  @benefitString
end

#benefitUnsignedIntObject

0-1 unsignedInt



691
692
693
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 691

def benefitUnsignedInt
  @benefitUnsignedInt
end

#benefitUsedMoneyObject

0-1 Money



695
696
697
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 695

def benefitUsedMoney
  @benefitUsedMoney
end

#benefitUsedUnsignedIntObject

0-1 unsignedInt



694
695
696
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 694

def benefitUsedUnsignedInt
  @benefitUsedUnsignedInt
end

#extensionObject

0-* [ Extension ]



688
689
690
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 688

def extension
  @extension
end

#idObject

0-1 string



687
688
689
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 687

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



689
690
691
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 689

def modifierExtension
  @modifierExtension
end

#typeObject

1-1 Coding



690
691
692
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 690

def type
  @type
end