Class: FHIR::StructureMap::Group::Rule::Target::Parameter

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'value' => ['id', 'string', 'boolean', 'integer', 'decimal']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Parameter.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Parameter.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Parameter.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'valueId' => {'type'=>'id', 'path'=>'Parameter.value[x]', 'min'=>1, 'max'=>1},
  'valueString' => {'type'=>'string', 'path'=>'Parameter.value[x]', 'min'=>1, 'max'=>1},
  'valueBoolean' => {'type'=>'boolean', 'path'=>'Parameter.value[x]', 'min'=>1, 'max'=>1},
  'valueInteger' => {'type'=>'integer', 'path'=>'Parameter.value[x]', 'min'=>1, 'max'=>1},
  'valueDecimal' => {'type'=>'decimal', 'path'=>'Parameter.value[x]', 'min'=>1, '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

#extensionObject

0-* [ Extension ]



295
296
297
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 295

def extension
  @extension
end

#idObject

0-1 string



294
295
296
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 294

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



296
297
298
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 296

def modifierExtension
  @modifierExtension
end

#valueBooleanObject

1-1 boolean



299
300
301
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 299

def valueBoolean
  @valueBoolean
end

#valueDecimalObject

1-1 decimal



301
302
303
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 301

def valueDecimal
  @valueDecimal
end

#valueIdObject

1-1 id



297
298
299
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 297

def valueId
  @valueId
end

#valueIntegerObject

1-1 integer



300
301
302
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 300

def valueInteger
  @valueInteger
end

#valueStringObject

1-1 string



298
299
300
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 298

def valueString
  @valueString
end