Class: FHIR::Claim::Item::Detail
- Defined in:
- lib/fhir/resources/Claim.rb
Defined Under Namespace
Classes: SubDetail
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Detail.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Detail.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Detail.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'sequence' => {'type'=>'positiveInt', 'path'=>'Detail.sequence', 'min'=>1, 'max'=>1}, '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'=>'Detail.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'=>'Detail.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'=>'Detail.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'=>'Detail.modifier', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/claim-modifiers'}}, 'programCode' => {'valid_codes'=>{'http://hl7.org/fhir/ex-programcode'=>['as', 'hd', 'auscr', 'as', 'hd', 'auscr']}, 'type'=>'Coding', 'path'=>'Detail.programCode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-program-code'}}, 'quantity' => {'type'=>'Quantity', 'path'=>'Detail.quantity', 'min'=>0, 'max'=>1}, 'unitPrice' => {'type'=>'Money', 'path'=>'Detail.unitPrice', 'min'=>0, 'max'=>1}, 'factor' => {'type'=>'decimal', 'path'=>'Detail.factor', 'min'=>0, 'max'=>1}, 'points' => {'type'=>'decimal', 'path'=>'Detail.points', 'min'=>0, 'max'=>1}, 'net' => {'type'=>'Money', 'path'=>'Detail.net', 'min'=>0, 'max'=>1}, 'udi' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Device'], 'type'=>'Reference', 'path'=>'Detail.udi', 'min'=>0, 'max'=>Float::INFINITY}, 'subDetail' => {'type'=>'Claim::Item::Detail::SubDetail', 'path'=>'Detail.subDetail', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#category ⇒ Object
0-1 Coding.
-
#extension ⇒ Object
0-* [ Extension ].
-
#factor ⇒ Object
0-1 decimal.
-
#id ⇒ Object
0-1 string.
-
#modifier ⇒ Object
0-* [ Coding ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#net ⇒ Object
0-1 Money.
-
#points ⇒ Object
0-1 decimal.
-
#programCode ⇒ Object
0-* [ Coding ].
-
#quantity ⇒ Object
0-1 Quantity.
-
#revenue ⇒ Object
0-1 Coding.
-
#sequence ⇒ Object
1-1 positiveInt.
-
#service ⇒ Object
0-1 Coding.
-
#subDetail ⇒ Object
0-* [ Claim::Item::Detail::SubDetail ].
-
#udi ⇒ Object
0-* [ Reference(Device) ].
-
#unitPrice ⇒ Object
0-1 Money.
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
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
#category ⇒ Object
0-1 Coding
406 407 408 |
# File 'lib/fhir/resources/Claim.rb', line 406 def category @category end |
#extension ⇒ Object
0-* [ Extension ]
402 403 404 |
# File 'lib/fhir/resources/Claim.rb', line 402 def extension @extension end |
#factor ⇒ Object
0-1 decimal
412 413 414 |
# File 'lib/fhir/resources/Claim.rb', line 412 def factor @factor end |
#id ⇒ Object
0-1 string
401 402 403 |
# File 'lib/fhir/resources/Claim.rb', line 401 def id @id end |
#modifier ⇒ Object
0-* [ Coding ]
408 409 410 |
# File 'lib/fhir/resources/Claim.rb', line 408 def modifier @modifier end |
#modifierExtension ⇒ Object
0-* [ Extension ]
403 404 405 |
# File 'lib/fhir/resources/Claim.rb', line 403 def modifierExtension @modifierExtension end |
#net ⇒ Object
0-1 Money
414 415 416 |
# File 'lib/fhir/resources/Claim.rb', line 414 def net @net end |
#points ⇒ Object
0-1 decimal
413 414 415 |
# File 'lib/fhir/resources/Claim.rb', line 413 def points @points end |
#programCode ⇒ Object
0-* [ Coding ]
409 410 411 |
# File 'lib/fhir/resources/Claim.rb', line 409 def programCode @programCode end |
#quantity ⇒ Object
0-1 Quantity
410 411 412 |
# File 'lib/fhir/resources/Claim.rb', line 410 def quantity @quantity end |
#revenue ⇒ Object
0-1 Coding
405 406 407 |
# File 'lib/fhir/resources/Claim.rb', line 405 def revenue @revenue end |
#sequence ⇒ Object
1-1 positiveInt
404 405 406 |
# File 'lib/fhir/resources/Claim.rb', line 404 def sequence @sequence end |
#service ⇒ Object
0-1 Coding
407 408 409 |
# File 'lib/fhir/resources/Claim.rb', line 407 def service @service end |
#subDetail ⇒ Object
0-* [ Claim::Item::Detail::SubDetail ]
416 417 418 |
# File 'lib/fhir/resources/Claim.rb', line 416 def subDetail @subDetail end |
#udi ⇒ Object
0-* [ Reference(Device) ]
415 416 417 |
# File 'lib/fhir/resources/Claim.rb', line 415 def udi @udi end |
#unitPrice ⇒ Object
0-1 Money
411 412 413 |
# File 'lib/fhir/resources/Claim.rb', line 411 def unitPrice @unitPrice end |