Class: FHIR::Claim::Item::Detail::SubDetail
- Defined in:
- lib/fhir_models/fhir/resources/Claim.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}, 'sequence' => {'type'=>'positiveInt', 'path'=>'SubDetail.sequence', 'min'=>1, 'max'=>1}, 'revenue' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/ex-revenue-center'=>['0370', '0420', '0421', '0440', '0441', '0450', '0451', '0452', '0010']}, 'type'=>'CodeableConcept', 'path'=>'SubDetail.revenue', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-revenue-center'}}, 'category' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/ex-benefitcategory'=>['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'=>'SubDetail.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-benefitcategory'}}, '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'}}, 'programCode' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/ex-programcode'=>['as', 'hd', 'auscr', 'none']}, 'type'=>'CodeableConcept', 'path'=>'SubDetail.programCode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-program-code'}}, '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}, 'udi' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Device'], 'type'=>'Reference', 'path'=>'SubDetail.udi', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#category ⇒ Object
0-1 CodeableConcept.
-
#extension ⇒ Object
0-* [ Extension ].
-
#factor ⇒ Object
0-1 decimal.
-
#id ⇒ Object
0-1 string.
-
#modifier ⇒ Object
0-* [ CodeableConcept ].
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#net ⇒ Object
0-1 Money.
-
#productOrService ⇒ Object
1-1 CodeableConcept.
-
#programCode ⇒ Object
0-* [ CodeableConcept ].
-
#quantity ⇒ Object
0-1 Quantity.
-
#revenue ⇒ Object
0-1 CodeableConcept.
-
#sequence ⇒ Object
1-1 positiveInt.
-
#udi ⇒ Object
0-* [ Reference(Device) ].
-
#unitPrice ⇒ Object
0-1 Money.
Method Summary
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
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
#category ⇒ Object
0-1 CodeableConcept
364 365 366 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 364 def category @category end |
#extension ⇒ Object
0-* [ Extension ]
360 361 362 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 360 def extension @extension end |
#factor ⇒ Object
0-1 decimal
370 371 372 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 370 def factor @factor end |
#id ⇒ Object
0-1 string
359 360 361 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 359 def id @id end |
#modifier ⇒ Object
0-* [ CodeableConcept ]
366 367 368 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 366 def modifier @modifier end |
#modifierExtension ⇒ Object
0-* [ Extension ]
361 362 363 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 361 def modifierExtension @modifierExtension end |
#net ⇒ Object
0-1 Money
371 372 373 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 371 def net @net end |
#productOrService ⇒ Object
1-1 CodeableConcept
365 366 367 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 365 def productOrService @productOrService end |
#programCode ⇒ Object
0-* [ CodeableConcept ]
367 368 369 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 367 def programCode @programCode end |
#quantity ⇒ Object
0-1 Quantity
368 369 370 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 368 def quantity @quantity end |
#revenue ⇒ Object
0-1 CodeableConcept
363 364 365 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 363 def revenue @revenue end |
#sequence ⇒ Object
1-1 positiveInt
362 363 364 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 362 def sequence @sequence end |
#udi ⇒ Object
0-* [ Reference(Device) ]
372 373 374 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 372 def udi @udi end |
#unitPrice ⇒ Object
0-1 Money
369 370 371 |
# File 'lib/fhir_models/fhir/resources/Claim.rb', line 369 def unitPrice @unitPrice end |