Class: FHIR::StructureMap::Group

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

Defined Under Namespace

Classes: Input, Rule

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Group.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Group.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Group.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'name' => {'type'=>'id', 'path'=>'Group.name', 'min'=>1, 'max'=>1},
  'extends' => {'type'=>'id', 'path'=>'Group.extends', 'min'=>0, 'max'=>1},
  'typeMode' => {'valid_codes'=>{'http://hl7.org/fhir/map-group-type-mode'=>['none', 'types', 'type-and-types']}, 'type'=>'code', 'path'=>'Group.typeMode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-group-type-mode|4.0.0'}},
  'documentation' => {'type'=>'string', 'path'=>'Group.documentation', 'min'=>0, 'max'=>1},
  'input' => {'type'=>'StructureMap::Group::Input', 'path'=>'Group.input', 'min'=>1, 'max'=>Float::INFINITY},
  'rule' => {'type'=>'StructureMap::Group::Rule', 'path'=>'Group.rule', 'min'=>1, '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::Model

Dynamic Method Handling

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

Instance Attribute Details

#documentationObject

0-1 string



354
355
356
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 354

def documentation
  @documentation
end

#extendsObject

0-1 id



352
353
354
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 352

def extends
  @extends
end

#extensionObject

0-* [ Extension ]



349
350
351
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 349

def extension
  @extension
end

#idObject

0-1 string



348
349
350
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 348

def id
  @id
end

#inputObject

1-* [ StructureMap::Group::Input ]



355
356
357
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 355

def input
  @input
end

#modifierExtensionObject

0-* [ Extension ]



350
351
352
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 350

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 id



351
352
353
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 351

def name
  @name
end

#ruleObject

1-* [ StructureMap::Group::Rule ]



356
357
358
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 356

def rule
  @rule
end

#typeModeObject

1-1 code



353
354
355
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 353

def typeMode
  @typeMode
end