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

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

Defined Under Namespace

Classes: Parameter

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Target.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Target.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Target.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'context' => {'type'=>'id', 'path'=>'Target.context', 'min'=>1, 'max'=>1},
  'contextType' => {'valid_codes'=>{'http://hl7.org/fhir/map-context-type'=>['type', 'variable', 'type', 'variable']}, 'type'=>'code', 'path'=>'Target.contextType', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-context-type'}},
  'element' => {'type'=>'string', 'path'=>'Target.element', 'min'=>0, 'max'=>1},
  'variable' => {'type'=>'id', 'path'=>'Target.variable', 'min'=>0, 'max'=>1},
  'listMode' => {'valid_codes'=>{'http://hl7.org/fhir/map-list-mode'=>['first', 'share', 'last', 'first', 'share', 'last']}, 'type'=>'code', 'path'=>'Target.listMode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-list-mode'}},
  'listRuleId' => {'type'=>'id', 'path'=>'Target.listRuleId', 'min'=>0, 'max'=>1},
  'transform' => {'valid_codes'=>{'http://hl7.org/fhir/map-transform'=>['create', 'copy', 'truncate', 'escape', 'cast', 'append', 'translate', 'reference', 'dateOp', 'uuid', 'pointer', 'evaluate', 'cc', 'c', 'qty', 'id', 'cp', 'create', 'copy', 'truncate', 'escape', 'cast', 'append', 'translate', 'reference', 'dateOp', 'uuid', 'pointer', 'evaluate', 'cc', 'c', 'qty', 'id', 'cp']}, 'type'=>'code', 'path'=>'Target.transform', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-transform'}},
  'parameter' => {'type'=>'StructureMap::Group::Rule::Target::Parameter', 'path'=>'Target.parameter', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Method Summary

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

#contextObject

1-1 id



217
218
219
# File 'lib/fhir/resources/StructureMap.rb', line 217

def context
  @context
end

#contextTypeObject

1-1 code



218
219
220
# File 'lib/fhir/resources/StructureMap.rb', line 218

def contextType
  @contextType
end

#elementObject

0-1 string



219
220
221
# File 'lib/fhir/resources/StructureMap.rb', line 219

def element
  @element
end

#extensionObject

0-* [ Extension ]



215
216
217
# File 'lib/fhir/resources/StructureMap.rb', line 215

def extension
  @extension
end

#idObject

0-1 string



214
215
216
# File 'lib/fhir/resources/StructureMap.rb', line 214

def id
  @id
end

#listModeObject

0-* [ code ]



221
222
223
# File 'lib/fhir/resources/StructureMap.rb', line 221

def listMode
  @listMode
end

#listRuleIdObject

0-1 id



222
223
224
# File 'lib/fhir/resources/StructureMap.rb', line 222

def listRuleId
  @listRuleId
end

#modifierExtensionObject

0-* [ Extension ]



216
217
218
# File 'lib/fhir/resources/StructureMap.rb', line 216

def modifierExtension
  @modifierExtension
end

#parameterObject

0-* [ StructureMap::Group::Rule::Target::Parameter ]



224
225
226
# File 'lib/fhir/resources/StructureMap.rb', line 224

def parameter
  @parameter
end

#transformObject

0-1 code



223
224
225
# File 'lib/fhir/resources/StructureMap.rb', line 223

def transform
  @transform
end

#variableObject

0-1 id



220
221
222
# File 'lib/fhir/resources/StructureMap.rb', line 220

def variable
  @variable
end