Class: FHIR::Parameters

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/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'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  '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, is_valid?, #to_xml, validate

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?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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

#idObject

0-1 id



117
118
119
# File 'lib/fhir/resources/Parameters.rb', line 117

def id
  @id
end

#implicitRulesObject

0-1 uri



119
120
121
# File 'lib/fhir/resources/Parameters.rb', line 119

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



120
121
122
# File 'lib/fhir/resources/Parameters.rb', line 120

def language
  @language
end

#metaObject

0-1 Meta



118
119
120
# File 'lib/fhir/resources/Parameters.rb', line 118

def meta
  @meta
end

#parameterObject

0-* [ Parameters::Parameter ]



121
122
123
# File 'lib/fhir/resources/Parameters.rb', line 121

def parameter
  @parameter
end

Instance Method Details

#resourceTypeObject



123
124
125
# File 'lib/fhir/resources/Parameters.rb', line 123

def resourceType
  'Parameters'
end