Class: FHIR::ExplanationOfBenefit::BenefitBalance

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_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://terminology.hl7.org/CodeSystem/ex-benefitcategory'=>['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.category', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-benefitcategory'}},
  '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://terminology.hl7.org/CodeSystem/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://terminology.hl7.org/CodeSystem/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://terminology.hl7.org/CodeSystem/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, #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

#categoryObject

1-1 CodeableConcept



719
720
721
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 719

def category
  @category
end

#descriptionObject

0-1 string



722
723
724
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 722

def description
  @description
end

#excludedObject

0-1 boolean



720
721
722
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 720

def excluded
  @excluded
end

#extensionObject

0-* [ Extension ]



717
718
719
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 717

def extension
  @extension
end

#financialObject

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



726
727
728
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 726

def financial
  @financial
end

#idObject

0-1 string



716
717
718
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 716

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



718
719
720
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 718

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



721
722
723
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 721

def name
  @name
end

#networkObject

0-1 CodeableConcept



723
724
725
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 723

def network
  @network
end

#termObject

0-1 CodeableConcept



725
726
727
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 725

def term
  @term
end

#unitObject

0-1 CodeableConcept



724
725
726
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 724

def unit
  @unit
end