Class: FHIR::Account::Guarantor

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Guarantor.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Guarantor.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Guarantor.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'party' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'Guarantor.party', 'min'=>1, 'max'=>1},
  'onHold' => {'type'=>'boolean', 'path'=>'Guarantor.onHold', 'min'=>0, 'max'=>1},
  'period' => {'type'=>'Period', 'path'=>'Guarantor.period', '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

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



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

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#onHoldObject

0-1 boolean



68
69
70
# File 'lib/fhir_models/fhir/resources/Account.rb', line 68

def onHold
  @onHold
end

#partyObject

1-1 Reference(Patient|RelatedPerson|Organization)



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

def party
  @party
end

#periodObject

0-1 Period



69
70
71
# File 'lib/fhir_models/fhir/resources/Account.rb', line 69

def period
  @period
end