Class: FHIR::DSTU2::Parameters

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

Defined Under Namespace

Classes: Parameter

Constant Summary collapse

SEARCH_PARAMS =
METADATA = {
  'id' => {'type'=>'id', 'path'=>'Parameters.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'Parameters.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'Parameters.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'code', 'path'=>'Parameters.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
  'parameter' => {'type'=>'Parameters::Parameter', 'path'=>'Parameters.parameter', 'min'=>0, '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, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #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

#idObject

0-1 id



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

def id
  @id
end

#implicitRulesObject

0-1 uri



110
111
112
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 110

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



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

def language
  @language
end

#metaObject

0-1 Meta



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

def meta
  @meta
end

#parameterObject

0-* [ Parameters::Parameter ]



112
113
114
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 112

def parameter
  @parameter
end

Instance Method Details

#resourceTypeObject



114
115
116
# File 'lib/fhir_dstu2_models/fhir/resources/Parameters.rb', line 114

def resourceType
  'Parameters'
end