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

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_models/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'=>0, 'max'=>1},
  'contextType' => {'valid_codes'=>{'http://hl7.org/fhir/map-context-type'=>['type', 'variable']}, 'type'=>'code', 'path'=>'Target.contextType', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-context-type|4.0.0'}},
  '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-target-list-mode'=>['first', 'share', 'last', 'collate']}, 'type'=>'code', 'path'=>'Target.listMode', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-target-list-mode|4.0.0'}},
  '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']}, 'type'=>'code', 'path'=>'Target.transform', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/map-transform|4.0.0'}},
  '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, #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

#contextObject

0-1 id



307
308
309
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 307

def context
  @context
end

#contextTypeObject

0-1 code



308
309
310
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 308

def contextType
  @contextType
end

#elementObject

0-1 string



309
310
311
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 309

def element
  @element
end

#extensionObject

0-* [ Extension ]



305
306
307
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 305

def extension
  @extension
end

#idObject

0-1 string



304
305
306
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 304

def id
  @id
end

#listModeObject

0-* [ code ]



311
312
313
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 311

def listMode
  @listMode
end

#listRuleIdObject

0-1 id



312
313
314
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 312

def listRuleId
  @listRuleId
end

#modifierExtensionObject

0-* [ Extension ]



306
307
308
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 306

def modifierExtension
  @modifierExtension
end

#parameterObject

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



314
315
316
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 314

def parameter
  @parameter
end

#transformObject

0-1 code



313
314
315
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 313

def transform
  @transform
end

#variableObject

0-1 id



310
311
312
# File 'lib/fhir_models/fhir/resources/StructureMap.rb', line 310

def variable
  @variable
end