Class: FHIR::STU3::ImmunizationRecommendation::Recommendation

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

Defined Under Namespace

Classes: DateCriterion, Protocol

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Recommendation.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Recommendation.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Recommendation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'date' => {'type'=>'dateTime', 'path'=>'Recommendation.date', 'min'=>1, 'max'=>1},
  'vaccineCode' => {'valid_codes'=>{'http://hl7.org/fhir/sid/cvx'=>['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '100', '101', '102', '103', '104', '105', '106', '107', '108', '109', '11', '110', '111', '112', '113', '114', '115', '116', '117', '118', '119', '12', '120', '121', '122', '123', '125', '126', '127', '128', '129', '13', '130', '131', '132', '133', '134', '135', '136', '137', '138', '139', '14', '140', '141', '142', '143', '144', '145', '146', '147', '148', '149', '15', '150', '151', '152', '153', '154', '155', '156', '157', '158', '159', '16', '160', '161', '162', '163', '164', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43', '44', '45', '46', '47', '48', '49', '50', '51', '52', '53', '54', '55', '56', '57', '58', '59', '60', '61', '62', '63', '64', '65', '66', '67', '68', '69', '70', '71', '72', '73', '74', '75', '76', '77', '78', '79', '80', '801', '81', '82', '83', '84', '85', '86', '87', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '99', '998', '999'], 'urn:oid:1.2.36.1.2001.1005.17'=>['AGRPAL', 'AVAXM', 'BCG', 'CDT', 'CMX', 'DTP', 'DTPA', 'ENGP', 'FLRIX', 'FLUVAX', 'FLVRN', 'FVXJNR', 'GNDIP', 'GNFLU', 'GNHEP', 'GNHIB', 'GNHPA', 'GNJEN', 'GNMEA', 'GNMEN', 'GNMUM', 'GNPNE', 'GNPOL', 'GNROX', 'GNRUB', 'GNTET', 'GNVAR', 'HATWNJ', 'HAVAQ', 'HAVJ', 'HBOC', 'HBV', 'HBVP', 'HBX', 'IFHX', 'IFIP', 'IFPA', 'IFX', 'IFXB', 'INFLUV', 'IPV', 'JEVAX', 'MENJUG', 'MENTEC', 'MENUME', 'MENVAX', 'MMR', 'MMRCSL', 'MMRSKB', 'MNTRX', 'NEISVC', 'OPV', 'P', 'PANVAX', 'PDCL', 'PLCL', 'PNEUMO', 'PRPD', 'PROQAD', 'PRPOMP', 'PRPT', 'PRVNR', 'PRVTH', 'PRXTEX', 'QDCL', 'ROTRIX', 'ROTTEQ', 'SYNFLX', 'TCL', 'VAXGRP', 'VGRJNR', 'VLRIX', 'VRVAX']}, 'type'=>'CodeableConcept', 'path'=>'Recommendation.vaccineCode', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/vaccine-code'}},
  'targetDisease' => {'valid_codes'=>{'http://snomed.info/sct'=>['1857005', '397430003', '14189004', '36989005', '36653000', '76902006', '709410003', '27836007', '398102009']}, 'type'=>'CodeableConcept', 'path'=>'Recommendation.targetDisease', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-recommendation-target-disease'}},
  'doseNumber' => {'type'=>'positiveInt', 'path'=>'Recommendation.doseNumber', 'min'=>0, 'max'=>1},
  'forecastStatus' => {'valid_codes'=>{'http://hl7.org/fhir/immunization-recommendation-status'=>['due', 'overdue']}, 'type'=>'CodeableConcept', 'path'=>'Recommendation.forecastStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/immunization-recommendation-status'}},
  'dateCriterion' => {'type'=>'ImmunizationRecommendation::Recommendation::DateCriterion', 'path'=>'Recommendation.dateCriterion', 'min'=>0, 'max'=>Float::INFINITY},
  'protocol' => {'type'=>'ImmunizationRecommendation::Recommendation::Protocol', 'path'=>'Recommendation.protocol', 'min'=>0, 'max'=>1},
  'supportingImmunization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Immunization'], 'type'=>'Reference', 'path'=>'Recommendation.supportingImmunization', 'min'=>0, 'max'=>Float::INFINITY},
  'supportingPatientInformation' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/AllergyIntolerance'], 'type'=>'Reference', 'path'=>'Recommendation.supportingPatientInformation', 'min'=>0, 'max'=>Float::INFINITY}
}

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::STU3::Model

Dynamic Method Handling

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

Instance Attribute Details

#dateObject

1-1 dateTime



90
91
92
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 90

def date
  @date
end

#dateCriterionObject

0-* [ ImmunizationRecommendation::Recommendation::DateCriterion ]



95
96
97
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 95

def dateCriterion
  @dateCriterion
end

#doseNumberObject

0-1 positiveInt



93
94
95
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 93

def doseNumber
  @doseNumber
end

#extensionObject

0-* [ Extension ]



88
89
90
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 88

def extension
  @extension
end

#forecastStatusObject

1-1 CodeableConcept



94
95
96
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 94

def forecastStatus
  @forecastStatus
end

#idObject

0-1 string



87
88
89
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 87

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



89
90
91
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 89

def modifierExtension
  @modifierExtension
end

#protocolObject

0-1 ImmunizationRecommendation::Recommendation::Protocol



96
97
98
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 96

def protocol
  @protocol
end

#supportingImmunizationObject

0-* [ Reference(Immunization) ]



97
98
99
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 97

def supportingImmunization
  @supportingImmunization
end

#supportingPatientInformationObject

0-* [ Reference(Observation|AllergyIntolerance) ]



98
99
100
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 98

def supportingPatientInformation
  @supportingPatientInformation
end

#targetDiseaseObject

0-1 CodeableConcept



92
93
94
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 92

def targetDisease
  @targetDisease
end

#vaccineCodeObject

0-1 CodeableConcept



91
92
93
# File 'lib/fhir_stu3_models/fhir/resources/ImmunizationRecommendation.rb', line 91

def vaccineCode
  @vaccineCode
end