Class: FHIR::SubstanceSpecification::Structure::Representation

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Representation.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Representation.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Representation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'type' => {'type'=>'CodeableConcept', 'path'=>'Representation.type', 'min'=>0, 'max'=>1},
  'representation' => {'type'=>'string', 'path'=>'Representation.representation', 'min'=>0, 'max'=>1},
  'attachment' => {'type'=>'Attachment', 'path'=>'Representation.attachment', '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

#attachmentObject

0-1 Attachment



193
194
195
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 193

def attachment
  @attachment
end

#extensionObject

0-* [ Extension ]



189
190
191
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 189

def extension
  @extension
end

#idObject

0-1 string



188
189
190
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 188

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



190
191
192
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 190

def modifierExtension
  @modifierExtension
end

#representationObject

0-1 string



192
193
194
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 192

def representation
  @representation
end

#typeObject

0-1 CodeableConcept



191
192
193
# File 'lib/fhir_models/fhir/resources/SubstanceSpecification.rb', line 191

def type
  @type
end