Class: FHIR::ImplementationGuide::Manifest::Resource

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'example' => ['boolean', 'canonical']
}
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Resource.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Resource.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Resource.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'reference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'Resource.reference', 'min'=>1, 'max'=>1},
  'exampleBoolean' => {'type'=>'boolean', 'path'=>'Resource.example[x]', 'min'=>0, 'max'=>1},
  'exampleCanonical' => {'type'=>'canonical', 'path'=>'Resource.example[x]', 'min'=>0, 'max'=>1},
  'relativePath' => {'type'=>'url', 'path'=>'Resource.relativePath', '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

#exampleBooleanObject

0-1 boolean



269
270
271
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 269

def exampleBoolean
  @exampleBoolean
end

#exampleCanonicalObject

0-1 canonical



270
271
272
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 270

def exampleCanonical
  @exampleCanonical
end

#extensionObject

0-* [ Extension ]



266
267
268
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 266

def extension
  @extension
end

#idObject

0-1 string



265
266
267
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 265

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



267
268
269
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 267

def modifierExtension
  @modifierExtension
end

#referenceObject

1-1 Reference(Resource)



268
269
270
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 268

def reference
  @reference
end

#relativePathObject

0-1 url



271
272
273
# File 'lib/fhir_models/fhir/resources/ImplementationGuide.rb', line 271

def relativePath
  @relativePath
end