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

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_stu3_models/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']}, 'type'=>'CodeableConcept', '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']}, 'type'=>'CodeableConcept', 'path'=>'BenefitBalance.subCategory', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-subcategory'}},
  'excluded' => {'type'=>'boolean', 'path'=>'BenefitBalance.excluded', 'min'=>0, 'max'=>1},
  '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']}, 'type'=>'CodeableConcept', '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']}, 'type'=>'CodeableConcept', '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']}, 'type'=>'CodeableConcept', '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, #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

#categoryObject

1-1 CodeableConcept



629
630
631
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 629

def category
  @category
end

#descriptionObject

0-1 string



633
634
635
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 633

def description
  @description
end

#excludedObject

0-1 boolean



631
632
633
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 631

def excluded
  @excluded
end

#extensionObject

0-* [ Extension ]



627
628
629
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 627

def extension
  @extension
end

#financialObject

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



637
638
639
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 637

def financial
  @financial
end

#idObject

0-1 string



626
627
628
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 626

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



628
629
630
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 628

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



632
633
634
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 632

def name
  @name
end

#networkObject

0-1 CodeableConcept



634
635
636
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 634

def network
  @network
end

#subCategoryObject

0-1 CodeableConcept



630
631
632
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 630

def subCategory
  @subCategory
end

#termObject

0-1 CodeableConcept



636
637
638
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 636

def term
  @term
end

#unitObject

0-1 CodeableConcept



635
636
637
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 635

def unit
  @unit
end