Class: FHIR::PaymentReconciliation::Detail

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

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},
  'identifier' => {'type'=>'Identifier', 'path'=>'Detail.identifier', 'min'=>0, 'max'=>1},
  'predecessor' => {'type'=>'Identifier', 'path'=>'Detail.predecessor', 'min'=>0, 'max'=>1},
  'type' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/payment-type'=>['payment', 'adjustment', 'advance']}, 'type'=>'CodeableConcept', 'path'=>'Detail.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-type'}},
  'request' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Detail.request', 'min'=>0, 'max'=>1},
  'submitter' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Detail.submitter', 'min'=>0, 'max'=>1},
  'response' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Detail.response', 'min'=>0, 'max'=>1},
  'date' => {'type'=>'date', 'path'=>'Detail.date', 'min'=>0, 'max'=>1},
  'responsible' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/PractitionerRole'], 'type'=>'Reference', 'path'=>'Detail.responsible', 'min'=>0, 'max'=>1},
  'payee' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Detail.payee', 'min'=>0, 'max'=>1},
  'amount' => {'type'=>'Money', 'path'=>'Detail.amount', 'min'=>0, 'max'=>1}
}

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

#amountObject

0-1 Money



67
68
69
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 67

def amount
  @amount
end

#dateObject

0-1 date



64
65
66
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 64

def date
  @date
end

#extensionObject

0-* [ Extension ]



56
57
58
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 56

def extension
  @extension
end

#idObject

0-1 string



55
56
57
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 55

def id
  @id
end

#identifierObject

0-1 Identifier



58
59
60
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 58

def identifier
  @identifier
end

#modifierExtensionObject

0-* [ Extension ]



57
58
59
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 57

def modifierExtension
  @modifierExtension
end

#payeeObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



66
67
68
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 66

def payee
  @payee
end

#predecessorObject

0-1 Identifier



59
60
61
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 59

def predecessor
  @predecessor
end

#requestObject

0-1 Reference(Resource)



61
62
63
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 61

def request
  @request
end

#responseObject

0-1 Reference(Resource)



63
64
65
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 63

def response
  @response
end

#responsibleObject

0-1 Reference(PractitionerRole)



65
66
67
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 65

def responsible
  @responsible
end

#submitterObject

0-1 Reference(Practitioner|PractitionerRole|Organization)



62
63
64
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 62

def submitter
  @submitter
end

#typeObject

1-1 CodeableConcept



60
61
62
# File 'lib/fhir_models/fhir/resources/PaymentReconciliation.rb', line 60

def type
  @type
end