Class: FHIR::Claim::Payee

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'party' => ['Identifier', 'Reference']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Payee.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Payee.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Payee.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'valid_codes'=>{'http://hl7.org/fhir/payeetype'=>['subscriber', 'provider', 'other', 'subscriber', 'provider', 'other']}, 'type'=>'Coding', 'path'=>'Payee.type', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payeetype'}},
  'resourceType' => {'local_name'=>'local_resourceType', 'valid_codes'=>{'http://hl7.org/fhir/ex-payee-resource-type'=>['organization', 'patient', 'practitioner', 'relatedperson', 'organization', 'patient', 'practitioner', 'relatedperson']}, 'type'=>'Coding', 'path'=>'Payee.resourceType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ex-payee-resource-type'}},
  'partyIdentifier' => {'type'=>'Identifier', 'path'=>'Payee.party[x]', 'min'=>0, 'max'=>1},
  'partyReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'], 'type'=>'Reference', 'path'=>'Payee.party[x]', 'min'=>0, 'max'=>1}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

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?, #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

#extensionObject

0-* [ Extension ]



117
118
119
# File 'lib/fhir/resources/Claim.rb', line 117

def extension
  @extension
end

#idObject

0-1 string



116
117
118
# File 'lib/fhir/resources/Claim.rb', line 116

def id
  @id
end

#local_resourceTypeObject

0-1 Coding



120
121
122
# File 'lib/fhir/resources/Claim.rb', line 120

def local_resourceType
  @local_resourceType
end

#modifierExtensionObject

0-* [ Extension ]



118
119
120
# File 'lib/fhir/resources/Claim.rb', line 118

def modifierExtension
  @modifierExtension
end

#partyIdentifierObject

0-1 Identifier



121
122
123
# File 'lib/fhir/resources/Claim.rb', line 121

def partyIdentifier
  @partyIdentifier
end

#partyReferenceObject

0-1 Reference(Practitioner|Organization|Patient|RelatedPerson)



122
123
124
# File 'lib/fhir/resources/Claim.rb', line 122

def partyReference
  @partyReference
end

#typeObject

1-1 Coding



119
120
121
# File 'lib/fhir/resources/Claim.rb', line 119

def type
  @type
end