Class: FHIR::ConceptMap::Group::Element::Target

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

Defined Under Namespace

Classes: DependsOn

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},
  'code' => {'type'=>'code', 'path'=>'Target.code', 'min'=>0, 'max'=>1},
  'display' => {'type'=>'string', 'path'=>'Target.display', 'min'=>0, 'max'=>1},
  'equivalence' => {'valid_codes'=>{'http://hl7.org/fhir/concept-map-equivalence'=>['relatedto', '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|4.0.0'}},
  'comment' => {'type'=>'string', 'path'=>'Target.comment', 'min'=>0, 'max'=>1},
  'dependsOn' => {'type'=>'ConceptMap::Group::Element::Target::DependsOn', 'path'=>'Target.dependsOn', 'min'=>0, 'max'=>Float::INFINITY},
  'product' => {'type'=>'ConceptMap::Group::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, #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

#codeObject

0-1 code



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

def code
  @code
end

#commentObject

0-1 string



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

def comment
  @comment
end

#dependsOnObject

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



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

def dependsOn
  @dependsOn
end

#displayObject

0-1 string



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

def display
  @display
end

#equivalenceObject

1-1 code



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

def equivalence
  @equivalence
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



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

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#productObject

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



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

def product
  @product
end