Class: FHIR::StructureMap::Group::Input

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Input.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Input.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Input.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'name' => {'type'=>'id', 'path'=>'Input.name', 'min'=>1, 'max'=>1},
  'type' => {'type'=>'string', 'path'=>'Input.type', 'min'=>0, 'max'=>1},
  'mode' => {'valid_codes'=>{'http://hl7.org/fhir/map-input-mode'=>['source', 'target']}, 'type'=>'code', 'path'=>'Input.mode', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-input-mode|4.0.0'}},
  'documentation' => {'type'=>'string', 'path'=>'Input.documentation', 'min'=>0, '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

#documentationObject

0-1 string



99
100
101
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 99

def documentation
  @documentation
end

#extensionObject

0-* [ Extension ]



94
95
96
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 94

def extension
  @extension
end

#idObject

0-1 string



93
94
95
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 93

def id
  @id
end

#modeObject

1-1 code



98
99
100
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 98

def mode
  @mode
end

#modifierExtensionObject

0-* [ Extension ]



95
96
97
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 95

def modifierExtension
  @modifierExtension
end

#nameObject

1-1 id



96
97
98
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 96

def name
  @name
end

#typeObject

0-1 string



97
98
99
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 97

def type
  @type
end