Class: FHIR::CoverageEligibilityResponse::Insurance::Item::Benefit
- Defined in:
- lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'allowed' => ['unsignedInt', 'string', 'Money'], 'used' => ['unsignedInt', 'string', 'Money'] }
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Benefit.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Benefit.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Benefit.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/benefit-type'=>['benefit', 'deductible', 'visit', 'room', 'copay', 'copay-percent', 'copay-maximum', 'vision-exam', 'vision-glasses', 'vision-contacts', 'medical-primarycare', 'pharmacy-dispense']}, 'type'=>'CodeableConcept', 'path'=>'Benefit.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-type'}}, 'allowedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Benefit.allowed[x]', 'min'=>0, 'max'=>1}, 'allowedString' => {'type'=>'string', 'path'=>'Benefit.allowed[x]', 'min'=>0, 'max'=>1}, 'allowedMoney' => {'type'=>'Money', 'path'=>'Benefit.allowed[x]', 'min'=>0, 'max'=>1}, 'usedUnsignedInt' => {'type'=>'unsignedInt', 'path'=>'Benefit.used[x]', 'min'=>0, 'max'=>1}, 'usedString' => {'type'=>'string', 'path'=>'Benefit.used[x]', 'min'=>0, 'max'=>1}, 'usedMoney' => {'type'=>'Money', 'path'=>'Benefit.used[x]', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#allowedMoney ⇒ Object
0-1 Money.
-
#allowedString ⇒ Object
0-1 string.
-
#allowedUnsignedInt ⇒ Object
0-1 unsignedInt.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#type ⇒ Object
1-1 CodeableConcept.
-
#usedMoney ⇒ Object
0-1 Money.
-
#usedString ⇒ Object
0-1 string.
-
#usedUnsignedInt ⇒ Object
0-1 unsignedInt.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#allowedMoney ⇒ Object
0-1 Money
106 107 108 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 106 def allowedMoney @allowedMoney end |
#allowedString ⇒ Object
0-1 string
105 106 107 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 105 def allowedString @allowedString end |
#allowedUnsignedInt ⇒ Object
0-1 unsignedInt
104 105 106 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 104 def allowedUnsignedInt @allowedUnsignedInt end |
#extension ⇒ Object
0-* [ Extension ]
101 102 103 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 101 def extension @extension end |
#id ⇒ Object
0-1 string
100 101 102 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 100 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
102 103 104 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 102 def modifierExtension @modifierExtension end |
#type ⇒ Object
1-1 CodeableConcept
103 104 105 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 103 def type @type end |
#usedMoney ⇒ Object
0-1 Money
109 110 111 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 109 def usedMoney @usedMoney end |
#usedString ⇒ Object
0-1 string
108 109 110 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 108 def usedString @usedString end |
#usedUnsignedInt ⇒ Object
0-1 unsignedInt
107 108 109 |
# File 'lib/fhir_models/fhir/resources/CoverageEligibilityResponse.rb', line 107 def usedUnsignedInt @usedUnsignedInt end |