Class: FHIR::SubstanceProtein::Subunit

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'Subunit.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'Subunit.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'Subunit.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'subunit' => {'type'=>'integer', 'path'=>'Subunit.subunit', 'min'=>0, 'max'=>1},
  'sequence' => {'type'=>'string', 'path'=>'Subunit.sequence', 'min'=>0, 'max'=>1},
  'length' => {'type'=>'integer', 'path'=>'Subunit.length', 'min'=>0, 'max'=>1},
  'sequenceAttachment' => {'type'=>'Attachment', 'path'=>'Subunit.sequenceAttachment', 'min'=>0, 'max'=>1},
  'nTerminalModificationId' => {'type'=>'Identifier', 'path'=>'Subunit.nTerminalModificationId', 'min'=>0, 'max'=>1},
  'nTerminalModification' => {'type'=>'string', 'path'=>'Subunit.nTerminalModification', 'min'=>0, 'max'=>1},
  'cTerminalModificationId' => {'type'=>'Identifier', 'path'=>'Subunit.cTerminalModificationId', 'min'=>0, 'max'=>1},
  'cTerminalModification' => {'type'=>'string', 'path'=>'Subunit.cTerminalModification', '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

#cTerminalModificationObject

0-1 string



52
53
54
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 52

def cTerminalModification
  @cTerminalModification
end

#cTerminalModificationIdObject

0-1 Identifier



51
52
53
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 51

def cTerminalModificationId
  @cTerminalModificationId
end

#extensionObject

0-* [ Extension ]



43
44
45
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 43

def extension
  @extension
end

#idObject

0-1 string



42
43
44
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 42

def id
  @id
end

#lengthObject

0-1 integer



47
48
49
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 47

def length
  @length
end

#modifierExtensionObject

0-* [ Extension ]



44
45
46
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 44

def modifierExtension
  @modifierExtension
end

#nTerminalModificationObject

0-1 string



50
51
52
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 50

def nTerminalModification
  @nTerminalModification
end

#nTerminalModificationIdObject

0-1 Identifier



49
50
51
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 49

def nTerminalModificationId
  @nTerminalModificationId
end

#sequenceObject

0-1 string



46
47
48
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 46

def sequence
  @sequence
end

#sequenceAttachmentObject

0-1 Attachment



48
49
50
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 48

def sequenceAttachment
  @sequenceAttachment
end

#subunitObject

0-1 integer



45
46
47
# File 'lib/fhir_models/fhir/resources/SubstanceProtein.rb', line 45

def subunit
  @subunit
end