Class: FHIR::DSTU2::ImmunizationRecommendation

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

Defined Under Namespace

Classes: Recommendation

Constant Summary collapse

SEARCH_PARAMS =
['date', 'dose-number', 'dose-sequence', 'identifier', 'information', 'patient', 'status', 'support', 'vaccine-type']
METADATA =
{
  'id' => { 'type' => 'id', 'path' => 'ImmunizationRecommendation.id', 'min' => 0, 'max' => 1 },
  'meta' => { 'type' => 'Meta', 'path' => 'ImmunizationRecommendation.meta', 'min' => 0, 'max' => 1 },
  'implicitRules' => { 'type' => 'uri', 'path' => 'ImmunizationRecommendation.implicitRules', 'min' => 0, 'max' => 1 },
  'language' => { 'type' => 'code', 'path' => 'ImmunizationRecommendation.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } },
  'text' => { 'type' => 'Narrative', 'path' => 'ImmunizationRecommendation.text', 'min' => 0, 'max' => 1 },
  'contained' => { 'type' => 'Resource', 'path' => 'ImmunizationRecommendation.contained', 'min' => 0, 'max' => Float::INFINITY },
  'extension' => { 'type' => 'Extension', 'path' => 'ImmunizationRecommendation.extension', 'min' => 0, 'max' => Float::INFINITY },
  'modifierExtension' => { 'type' => 'Extension', 'path' => 'ImmunizationRecommendation.modifierExtension', 'min' => 0, 'max' => Float::INFINITY },
  'identifier' => { 'type' => 'Identifier', 'path' => 'ImmunizationRecommendation.identifier', 'min' => 0, 'max' => Float::INFINITY },
  'patient' => { 'type' => 'Reference', 'path' => 'ImmunizationRecommendation.patient', 'min' => 1, 'max' => 1 },
  'recommendation' => { 'type' => 'ImmunizationRecommendation::Recommendation', 'path' => 'ImmunizationRecommendation.recommendation', 'min' => 1, 'max' => Float::INFINITY }
}

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#containedObject

0-* [ Resource ]



104
105
106
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 104

def contained
  @contained
end

#extensionObject

0-* [ Extension ]



105
106
107
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 105

def extension
  @extension
end

#idObject

0-1 id



99
100
101
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 99

def id
  @id
end

#identifierObject

0-* [ Identifier ]



107
108
109
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 107

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



101
102
103
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 101

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



102
103
104
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 102

def language
  @language
end

#metaObject

0-1 Meta



100
101
102
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 100

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



106
107
108
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 106

def modifierExtension
  @modifierExtension
end

#patientObject

1-1 Reference()



108
109
110
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 108

def patient
  @patient
end

#recommendationObject

1-* [ ImmunizationRecommendation::Recommendation ]



109
110
111
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 109

def recommendation
  @recommendation
end

#textObject

0-1 Narrative



103
104
105
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 103

def text
  @text
end

Instance Method Details

#resourceTypeObject



111
112
113
# File 'lib/fhir_dstu2_models/fhir/resources/ImmunizationRecommendation.rb', line 111

def resourceType
  'ImmunizationRecommendation'
end