Class: FHIR::ExplanationOfBenefit::AddItem

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

Defined Under Namespace

Classes: Detail

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'AddItem.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'AddItem.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'AddItem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'sequenceLinkId' => {'type'=>'positiveInt', 'path'=>'AddItem.sequenceLinkId', 'min'=>0, 'max'=>Float::INFINITY},
  'revenue' => {'valid_codes'=>{'http://hl7.org/fhir/ex-revenue-center'=>['0370', '0420', '0421', '0440', '0441', '0450', '0451', '0452', '0370', '0420', '0421', '0440', '0441', '0450', '0451', '0452']}, 'type'=>'Coding', 'path'=>'AddItem.revenue', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-revenue-center'}},
  'category' => {'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'=>'AddItem.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/benefit-subcategory'}},
  'service' => {'valid_codes'=>{'http://hl7.org/fhir/ex-USCLS'=>['1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555', '1101', '1102', '1103', '1201', '1205', '2101', '2102', '2141', '2601', '11101', '11102', '11103', '11104', '21211', '21212', '27211', '99111', '99333', '99555']}, 'type'=>'Coding', 'path'=>'AddItem.service', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/service-uscls'}},
  'modifier' => {'valid_codes'=>{'http://hl7.org/fhir/modifiers'=>['a', 'b', 'c', 'e', 'x', 'a', 'b', 'c', 'e', 'x']}, 'type'=>'Coding', 'path'=>'AddItem.modifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-modifiers'}},
  'fee' => {'type'=>'Money', 'path'=>'AddItem.fee', 'min'=>0, 'max'=>1},
  'noteNumber' => {'type'=>'positiveInt', 'path'=>'AddItem.noteNumber', 'min'=>0, 'max'=>Float::INFINITY},
  'adjudication' => {'type'=>'ExplanationOfBenefit::Item::Adjudication', 'path'=>'AddItem.adjudication', 'min'=>0, 'max'=>Float::INFINITY},
  'detail' => {'type'=>'ExplanationOfBenefit::AddItem::Detail', 'path'=>'AddItem.detail', '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

#adjudicationObject

0-* [ ExplanationOfBenefit::Item::Adjudication ]



569
570
571
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 569

def adjudication
  @adjudication
end

#categoryObject

0-1 Coding



564
565
566
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 564

def category
  @category
end

#detailObject

0-* [ ExplanationOfBenefit::AddItem::Detail ]



570
571
572
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 570

def detail
  @detail
end

#extensionObject

0-* [ Extension ]



560
561
562
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 560

def extension
  @extension
end

#feeObject

0-1 Money



567
568
569
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 567

def fee
  @fee
end

#idObject

0-1 string



559
560
561
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 559

def id
  @id
end

#modifierObject

0-* [ Coding ]



566
567
568
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 566

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



561
562
563
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 561

def modifierExtension
  @modifierExtension
end

#noteNumberObject

0-* [ positiveInt ]



568
569
570
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 568

def noteNumber
  @noteNumber
end

#revenueObject

0-1 Coding



563
564
565
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 563

def revenue
  @revenue
end

#sequenceLinkIdObject

0-* [ positiveInt ]



562
563
564
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 562

def sequenceLinkId
  @sequenceLinkId
end

#serviceObject

0-1 Coding



565
566
567
# File 'lib/fhir/resources/ExplanationOfBenefit.rb', line 565

def service
  @service
end