Class: FHIR::ExplanationOfBenefit::AddItem::Detail::SubDetail

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'=>'SubDetail.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'SubDetail.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'SubDetail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  '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'=>'SubDetail.productOrService', 'min'=>1, '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'=>'SubDetail.modifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-modifiers'}},
  'quantity' => {'type'=>'Quantity', 'path'=>'SubDetail.quantity', 'min'=>0, 'max'=>1},
  'unitPrice' => {'type'=>'Money', 'path'=>'SubDetail.unitPrice', 'min'=>0, 'max'=>1},
  'factor' => {'type'=>'decimal', 'path'=>'SubDetail.factor', 'min'=>0, 'max'=>1},
  'net' => {'type'=>'Money', 'path'=>'SubDetail.net', 'min'=>0, 'max'=>1},
  'noteNumber' => {'type'=>'positiveInt', 'path'=>'SubDetail.noteNumber', 'min'=>0, 'max'=>Float::INFINITY},
  'adjudication' => {'type'=>'ExplanationOfBenefit::Item::Adjudication', 'path'=>'SubDetail.adjudication', '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::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 ]



550
551
552
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 550

def adjudication
  @adjudication
end

#extensionObject

0-* [ Extension ]



541
542
543
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 541

def extension
  @extension
end

#factorObject

0-1 decimal



547
548
549
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 547

def factor
  @factor
end

#idObject

0-1 string



540
541
542
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 540

def id
  @id
end

#modifierObject

0-* [ CodeableConcept ]



544
545
546
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 544

def modifier
  @modifier
end

#modifierExtensionObject

0-* [ Extension ]



542
543
544
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 542

def modifierExtension
  @modifierExtension
end

#netObject

0-1 Money



548
549
550
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 548

def net
  @net
end

#noteNumberObject

0-* [ positiveInt ]



549
550
551
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 549

def noteNumber
  @noteNumber
end

#productOrServiceObject

1-1 CodeableConcept



543
544
545
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 543

def productOrService
  @productOrService
end

#quantityObject

0-1 Quantity



545
546
547
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 545

def quantity
  @quantity
end

#unitPriceObject

0-1 Money



546
547
548
# File 'lib/fhir_models/fhir/resources/ExplanationOfBenefit.rb', line 546

def unitPrice
  @unitPrice
end