Class: FHIR::DSTU2::Claim::Coverage

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

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'Coverage.id', 'min' => 0, 'max' => 1 },
  'extension' => { 'type' => 'Extension', 'path' => 'Coverage.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'Coverage.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'sequence' => { 'type' => 'positiveInt', 'path' => 'Coverage.sequence', 'min' => 1, 'max' => 1 },
  'focal' => { 'type' => 'boolean', 'path' => 'Coverage.focal', 'min' => 1, 'max' => 1 },
  'coverage' => { 'type' => 'Reference', 'path' => 'Coverage.coverage', 'min' => 1, 'max' => 1 },
  'businessArrangement' => { 'type' => 'string', 'path' => 'Coverage.businessArrangement', 'min' => 0, 'max' => 1 },
  'relationship' => { 'valid_codes' => { 'http://hl7.org/fhir/relationship' => ['1', '2', '3', '4', '5'] }, 'type' => 'Coding', 'path' => 'Coverage.relationship', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/relationship' } },
  'preAuthRef' => { 'type' => 'string', 'path' => 'Coverage.preAuthRef', 'min' => 0, 'max' => Float::INFINITY },
  'claimResponse' => { 'type' => 'Reference', 'path' => 'Coverage.claimResponse', 'min' => 0, 'max' => 1 },
  'originalRuleset' => { 'valid_codes' => { 'http://hl7.org/fhir/ruleset' => ['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3'] }, 'type' => 'Coding', 'path' => 'Coverage.originalRuleset', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/ruleset' } }
}

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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model

Instance Attribute Details

#businessArrangementObject

0-1 string



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

def businessArrangement
  @businessArrangement
end

#claimResponseObject

0-1 Reference()



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

def claimResponse
  @claimResponse
end

#coverageObject

1-1 Reference()



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

def coverage
  @coverage
end

#extensionObject

0-* [ Extension ]



113
114
115
# File 'lib/fhir_dstu2_models/fhir/resources/Claim.rb', line 113

def extension
  @extension
end

#focalObject

1-1 boolean



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

def focal
  @focal
end

#idObject

0-1 id



112
113
114
# File 'lib/fhir_dstu2_models/fhir/resources/Claim.rb', line 112

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



114
115
116
# File 'lib/fhir_dstu2_models/fhir/resources/Claim.rb', line 114

def modifierExtension
  @modifierExtension
end

#originalRulesetObject

0-1 Coding



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

def originalRuleset
  @originalRuleset
end

#preAuthRefObject

0-* [ string ]



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

def preAuthRef
  @preAuthRef
end

#relationshipObject

1-1 Coding



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

def relationship
  @relationship
end

#sequenceObject

1-1 positiveInt



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

def sequence
  @sequence
end