Class: FHIR::ExplanationOfBenefit::Total

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Total.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Total.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Total.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'category' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/adjudication'=>['submitted', 'copay', 'eligible', 'deductible', 'unallocdeduct', 'eligpercent', 'tax', 'benefit']}, 'type'=>'CodeableConcept', 'path'=>'Total.category', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/adjudication'}},
  'amount' => {'type'=>'Money', 'path'=>'Total.amount', 'min'=>1, '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

#amountObject

1-1 Money



610
611
612
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 610

def amount
  @amount
end

#categoryObject

1-1 CodeableConcept



609
610
611
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 609

def category
  @category
end

#extensionObject

0-* [ Extension ]



607
608
609
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 607

def extension
  @extension
end

#idObject

0-1 string



606
607
608
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 606

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



608
609
610
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 608

def modifierExtension
  @modifierExtension
end