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

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/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},
  'equivalence' => {'valid_codes'=>{'http://hl7.org/fhir/concept-map-equivalence'=>['equivalent', 'equal', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact', 'unmatched', 'disjoint', 'equivalent', 'wider', 'subsumes', 'narrower', 'specializes', 'inexact', 'unmatched']}, 'type'=>'code', 'path'=>'Target.equivalence', 'min'=>0, '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::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, 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

#codeObject

0-1 code



131
132
133
# File 'lib/fhir/resources/ConceptMap.rb', line 131

def code
  @code
end

#commentsObject

0-1 string



133
134
135
# File 'lib/fhir/resources/ConceptMap.rb', line 133

def comments
  @comments
end

#dependsOnObject

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



134
135
136
# File 'lib/fhir/resources/ConceptMap.rb', line 134

def dependsOn
  @dependsOn
end

#equivalenceObject

0-1 code



132
133
134
# File 'lib/fhir/resources/ConceptMap.rb', line 132

def equivalence
  @equivalence
end

#extensionObject

0-* [ Extension ]



129
130
131
# File 'lib/fhir/resources/ConceptMap.rb', line 129

def extension
  @extension
end

#idObject

0-1 string



128
129
130
# File 'lib/fhir/resources/ConceptMap.rb', line 128

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



130
131
132
# File 'lib/fhir/resources/ConceptMap.rb', line 130

def modifierExtension
  @modifierExtension
end

#productObject

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



135
136
137
# File 'lib/fhir/resources/ConceptMap.rb', line 135

def product
  @product
end