Class: FHIR::EligibilityResponse::BenefitBalance

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir/resources/EligibilityResponse.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'=>'EligibilityResponse::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



99
100
101
# File 'lib/fhir/resources/EligibilityResponse.rb', line 99

def category
  @category
end

#descriptionObject

0-1 string



102
103
104
# File 'lib/fhir/resources/EligibilityResponse.rb', line 102

def description
  @description
end

#extensionObject

0-* [ Extension ]



97
98
99
# File 'lib/fhir/resources/EligibilityResponse.rb', line 97

def extension
  @extension
end

#financialObject

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



106
107
108
# File 'lib/fhir/resources/EligibilityResponse.rb', line 106

def financial
  @financial
end

#idObject

0-1 string



96
97
98
# File 'lib/fhir/resources/EligibilityResponse.rb', line 96

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



98
99
100
# File 'lib/fhir/resources/EligibilityResponse.rb', line 98

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



101
102
103
# File 'lib/fhir/resources/EligibilityResponse.rb', line 101

def name
  @name
end

#networkObject

0-1 Coding



103
104
105
# File 'lib/fhir/resources/EligibilityResponse.rb', line 103

def network
  @network
end

#subCategoryObject

0-1 Coding



100
101
102
# File 'lib/fhir/resources/EligibilityResponse.rb', line 100

def subCategory
  @subCategory
end

#termObject

0-1 Coding



105
106
107
# File 'lib/fhir/resources/EligibilityResponse.rb', line 105

def term
  @term
end

#unitObject

0-1 Coding



104
105
106
# File 'lib/fhir/resources/EligibilityResponse.rb', line 104

def unit
  @unit
end