Class: FHIR::STU3::ExplanationOfBenefit::AddItem

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_stu3_models/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', '0010']}, 'type'=>'CodeableConcept', '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']}, 'type'=>'CodeableConcept', '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', '67211', '99111', '99333', '99555']}, 'type'=>'CodeableConcept', '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', 'rooh', 'x']}, 'type'=>'CodeableConcept', '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, #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::STU3::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::STU3::Model

Instance Attribute Details

#adjudicationObject

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



518
519
520
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 518

def adjudication
  @adjudication
end

#categoryObject

0-1 CodeableConcept



513
514
515
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 513

def category
  @category
end

#detailObject

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



519
520
521
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 519

def detail
  @detail
end

#extensionObject

0-* [ Extension ]



509
510
511
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 509

def extension
  @extension
end

#feeObject

0-1 Money



516
517
518
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 516

def fee
  @fee
end

#idObject

0-1 string



508
509
510
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 508

def id
  @id
end

#modifierObject

0-* [ CodeableConcept ]



515
516
517
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 515

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



510
511
512
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 510

def modifierExtension
  @modifierExtension
end

#noteNumberObject

0-* [ positiveInt ]



517
518
519
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 517

def noteNumber
  @noteNumber
end

#revenueObject

0-1 CodeableConcept



512
513
514
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 512

def revenue
  @revenue
end

#sequenceLinkIdObject

0-* [ positiveInt ]



511
512
513
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 511

def sequenceLinkId
  @sequenceLinkId
end

#serviceObject

0-1 CodeableConcept



514
515
516
# File 'lib/fhir_stu3_models/fhir/resources/ExplanationOfBenefit.rb', line 514

def service
  @service
end