Class: FHIR::Immunization::Education

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Education.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Education.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Education.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'documentType' => {'type'=>'string', 'path'=>'Education.documentType', 'min'=>0, 'max'=>1},
  'reference' => {'type'=>'uri', 'path'=>'Education.reference', 'min'=>0, 'max'=>1},
  'publicationDate' => {'type'=>'dateTime', 'path'=>'Education.publicationDate', 'min'=>0, 'max'=>1},
  'presentationDate' => {'type'=>'dateTime', 'path'=>'Education.presentationDate', '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

#documentTypeObject

0-1 string



89
90
91
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 89

def documentType
  @documentType
end

#extensionObject

0-* [ Extension ]



87
88
89
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 87

def extension
  @extension
end

#idObject

0-1 string



86
87
88
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 86

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



88
89
90
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 88

def modifierExtension
  @modifierExtension
end

#presentationDateObject

0-1 dateTime



92
93
94
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 92

def presentationDate
  @presentationDate
end

#publicationDateObject

0-1 dateTime



91
92
93
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 91

def publicationDate
  @publicationDate
end

#referenceObject

0-1 uri



90
91
92
# File 'lib/fhir_models/fhir/resources/Immunization.rb', line 90

def reference
  @reference
end