Class: FHIR::InsurancePlan::Plan::SpecificCost::Benefit::Cost

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Cost.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Cost.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Cost.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'type'=>'CodeableConcept', 'path'=>'Cost.type', 'min'=>1, 'max'=>1},
  'applicability' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/applicability'=>['in-network', 'out-of-network', 'other']}, 'type'=>'CodeableConcept', 'path'=>'Cost.applicability', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/insuranceplan-applicability|4.0.0'}},
  'qualifiers' => {'type'=>'CodeableConcept', 'path'=>'Cost.qualifiers', 'min'=>0, 'max'=>Float::INFINITY},
  'value' => {'type'=>'Quantity', 'path'=>'Cost.value', '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

#applicabilityObject

0-1 CodeableConcept



207
208
209
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 207

def applicability
  @applicability
end

#extensionObject

0-* [ Extension ]



204
205
206
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 204

def extension
  @extension
end

#idObject

0-1 string



203
204
205
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 203

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



205
206
207
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 205

def modifierExtension
  @modifierExtension
end

#qualifiersObject

0-* [ CodeableConcept ]



208
209
210
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 208

def qualifiers
  @qualifiers
end

#typeObject

1-1 CodeableConcept



206
207
208
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 206

def type
  @type
end

#valueObject

0-1 Quantity



209
210
211
# File 'lib/fhir_models/fhir/resources/InsurancePlan.rb', line 209

def value
  @value
end