Class: FHIR::ExplanationOfBenefit::BenefitBalance

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

Defined Under Namespace

Classes: Financial

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'BenefitBalance.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'BenefitBalance.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'BenefitBalance.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'category' => {'valid_codes'=>{'http://hl7.org/fhir/benefit-category'=>['oral', 'vision', 'medical', 'pharmacy', 'oral', 'vision', 'medical', 'pharmacy']}, 'type'=>'Coding', 'path'=>'BenefitBalance.category', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-category'}},
  'subCategory' => {'valid_codes'=>{'http://hl7.org/fhir/benefit-subcategory'=>['1', '2', '3', '4', '5', '14', '23', '24', '25', '26', '27', '28', '30', '35', '36', '37', '49', '55', '56', '61', '62', '63', '69', '76', 'F1', 'F3', 'F4', 'F6', '1', '2', '3', '4', '5', '14', '23', '24', '25', '26', '27', '28', '30', '35', '36', '37', '49', '55', '56', '61', '62', '63', '69', '76', 'F1', 'F3', 'F4', 'F6']}, 'type'=>'Coding', 'path'=>'BenefitBalance.subCategory', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-subcategory'}},
  'name' => {'type'=>'string', 'path'=>'BenefitBalance.name', 'min'=>0, 'max'=>1},
  'description' => {'type'=>'string', 'path'=>'BenefitBalance.description', 'min'=>0, 'max'=>1},
  'network' => {'valid_codes'=>{'http://hl7.org/fhir/benefit-network'=>['in', 'out', 'in', 'out']}, 'type'=>'Coding', 'path'=>'BenefitBalance.network', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-network'}},
  'unit' => {'valid_codes'=>{'http://hl7.org/fhir/benefit-unit'=>['individual', 'family', 'individual', 'family']}, 'type'=>'Coding', 'path'=>'BenefitBalance.unit', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-unit'}},
  'term' => {'valid_codes'=>{'http://hl7.org/fhir/benefit-term'=>['annual', 'day', 'lifetime', 'annual', 'day', 'lifetime']}, 'type'=>'Coding', 'path'=>'BenefitBalance.term', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-term'}},
  'financial' => {'type'=>'ExplanationOfBenefit::BenefitBalance::Financial', 'path'=>'BenefitBalance.financial', 'min'=>0, 'max'=>Float::INFINITY}
}

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

#categoryObject

1-1 Coding



701
702
703
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 701

def category
  @category
end

#descriptionObject

0-1 string



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

def description
  @description
end

#extensionObject

0-* [ Extension ]



699
700
701
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 699

def extension
  @extension
end

#financialObject

0-* [ ExplanationOfBenefit::BenefitBalance::Financial ]



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

def financial
  @financial
end

#idObject

0-1 string



698
699
700
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 698

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



700
701
702
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 700

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



703
704
705
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 703

def name
  @name
end

#networkObject

0-1 Coding



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

def network
  @network
end

#subCategoryObject

0-1 Coding



702
703
704
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 702

def subCategory
  @subCategory
end

#termObject

0-1 Coding



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

def term
  @term
end

#unitObject

0-1 Coding



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

def unit
  @unit
end