Class: FHIR::CoverageEligibilityResponse::Insurance::Item

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

Defined Under Namespace

Classes: Benefit

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Item.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Item.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Item.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'=>'Item.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-benefitcategory'}},
  'productOrService' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/ex-USCLS'=>['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '67211', '99111', '99333', '99555']}, 'type'=>'CodeableConcept', 'path'=>'Item.productOrService', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-uscls'}},
  'modifier' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/modifiers'=>['a', 'b', 'c', 'e', 'rooh', 'x']}, 'type'=>'CodeableConcept', 'path'=>'Item.modifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-modifiers'}},
  'provider' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole'], 'type'=>'Reference', 'path'=>'Item.provider', 'min'=>0, 'max'=>1},
  'excluded' => {'type'=>'boolean', 'path'=>'Item.excluded', 'min'=>0, 'max'=>1},
  'name' => {'type'=>'string', 'path'=>'Item.name', 'min'=>0, 'max'=>1},
  'description' => {'type'=>'string', 'path'=>'Item.description', 'min'=>0, 'max'=>1},
  'network' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/benefit-network'=>['in', 'out']}, 'type'=>'CodeableConcept', 'path'=>'Item.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'=>'Item.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'=>'Item.term', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-term'}},
  'benefit' => {'type'=>'CoverageEligibilityResponse::Insurance::Item::Benefit', 'path'=>'Item.benefit', 'min'=>0, 'max'=>Float::INFINITY},
  'authorizationRequired' => {'type'=>'boolean', 'path'=>'Item.authorizationRequired', 'min'=>0, 'max'=>1},
  'authorizationSupporting' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/coverageeligibilityresponse-ex-auth-support'=>['laborder', 'labreport', 'diagnosticimageorder', 'diagnosticimagereport', 'professionalreport', 'accidentreport', 'model', 'picture']}, 'type'=>'CodeableConcept', 'path'=>'Item.authorizationSupporting', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/coverageeligibilityresponse-ex-auth-support'}},
  'authorizationUrl' => {'type'=>'uri', 'path'=>'Item.authorizationUrl', 'min'=>0, 'max'=>1}
}

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

#authorizationRequiredObject

0-1 boolean



126
127
128
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 126

def authorizationRequired
  @authorizationRequired
end

#authorizationSupportingObject

0-* [ CodeableConcept ]



127
128
129
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 127

def authorizationSupporting
  @authorizationSupporting
end

#authorizationUrlObject

0-1 uri



128
129
130
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 128

def authorizationUrl
  @authorizationUrl
end

#benefitObject

0-* [ CoverageEligibilityResponse::Insurance::Item::Benefit ]



125
126
127
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 125

def benefit
  @benefit
end

#categoryObject

0-1 CodeableConcept



115
116
117
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 115

def category
  @category
end

#descriptionObject

0-1 string



121
122
123
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 121

def description
  @description
end

#excludedObject

0-1 boolean



119
120
121
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 119

def excluded
  @excluded
end

#extensionObject

0-* [ Extension ]



113
114
115
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 113

def extension
  @extension
end

#idObject

0-1 string



112
113
114
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 112

def id
  @id
end

#modifierObject

0-* [ CodeableConcept ]



117
118
119
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 117

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



114
115
116
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 114

def modifierExtension
  @modifierExtension
end

#nameObject

0-1 string



120
121
122
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 120

def name
  @name
end

#networkObject

0-1 CodeableConcept



122
123
124
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 122

def network
  @network
end

#productOrServiceObject

0-1 CodeableConcept



116
117
118
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 116

def productOrService
  @productOrService
end

#providerObject

0-1 Reference(Practitioner|PractitionerRole)



118
119
120
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 118

def provider
  @provider
end

#termObject

0-1 CodeableConcept



124
125
126
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 124

def term
  @term
end

#unitObject

0-1 CodeableConcept



123
124
125
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 123

def unit
  @unit
end