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'}},
  '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



330
331
332
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 330

def documentation
  @documentation
end

#extendsObject

0-1 id



328
329
330
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 328

def extends
  @extends
end

#extensionObject

0-* [ Extension ]



325
326
327
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 325

def extension
  @extension
end

#idObject

0-1 string



324
325
326
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 324

def id
  @id
end

#inputObject

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



331
332
333
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 331

def input
  @input
end

#modifierExtensionObject

0-* [ Extension ]



326
327
328
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 326

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 id



327
328
329
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 327

def name
  @name
end

#ruleObject

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



332
333
334
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 332

def rule
  @rule
end

#typeModeObject

1-1 code



329
330
331
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 329

def typeMode
  @typeMode
end