Class: FHIR::ImplementationGuide::Definition::Template

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Template.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Template.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Template.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'code' => {'type'=>'code', 'path'=>'Template.code', 'min'=>1, 'max'=>1},
  'source' => {'type'=>'string', 'path'=>'Template.source', 'min'=>1, 'max'=>1},
  'scope' => {'type'=>'string', 'path'=>'Template.scope', 'min'=>0, 'max'=>1}
}

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

1-1 code



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

def code
  @code
end

#extensionObject

0-* [ Extension ]



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

def extension
  @extension
end

#idObject

0-1 string



213
214
215
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 213

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



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

def modifierExtension
  @modifierExtension
end

#scopeObject

0-1 string



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

def scope
  @scope
end

#sourceObject

1-1 string



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

def source
  @source
end