Class: FHIR::DSTU2::ConceptMap::Element::Target

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

Defined Under Namespace

Classes: DependsOn

Constant Summary collapse

METADATA =
{
  'id' => { 'type' => 'id', '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 },
  'codeSystem' => { 'type' => 'uri', 'path' => 'Target.codeSystem', 'min' => 0, 'max' => 1 },
  'code' => { 'type' => 'code', 'path' => 'Target.code', 'min' => 0, 'max' => 1 },
  'equivalence' => { 'valid_codes' => { 'http://hl7.org/fhir/concept-map-equivalence' => ['equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact', 'unmatched', 'disjoint'] }, 'type' => 'code', 'path' => 'Target.equivalence', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/concept-map-equivalence' } },
  'comments' => { 'type' => 'string', 'path' => 'Target.comments', 'min' => 0, 'max' => 1 },
  'dependsOn' => { 'type' => 'ConceptMap::Element::Target::DependsOn', 'path' => 'Target.dependsOn', 'min' => 0, 'max' => Float::INFINITY },
  'product' => { 'type' => 'ConceptMap::Element::Target::DependsOn', 'path' => 'Target.product', '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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::DSTU2::Model

Dynamic Method Handling

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

Instance Attribute Details

#codeObject

0-1 code



119
120
121
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 119

def code
  @code
end

#codeSystemObject

0-1 uri



118
119
120
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 118

def codeSystem
  @codeSystem
end

#commentsObject

0-1 string



121
122
123
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 121

def comments
  @comments
end

#dependsOnObject

0-* [ ConceptMap::Element::Target::DependsOn ]



122
123
124
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 122

def dependsOn
  @dependsOn
end

#equivalenceObject

1-1 code



120
121
122
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 120

def equivalence
  @equivalence
end

#extensionObject

0-* [ Extension ]



116
117
118
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 116

def extension
  @extension
end

#idObject

0-1 id



115
116
117
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 115

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



117
118
119
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 117

def modifierExtension
  @modifierExtension
end

#productObject

0-* [ ConceptMap::Element::Target::DependsOn ]



123
124
125
# File 'lib/fhir_dstu2_models/fhir/resources/ConceptMap.rb', line 123

def product
  @product
end