Class: FHIR::SubstanceNucleicAcid::Subunit

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

Defined Under Namespace

Classes: Linkage, Sugar

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},
  'fivePrime' => {'type'=>'CodeableConcept', 'path'=>'Subunit.fivePrime', 'min'=>0, 'max'=>1},
  'threePrime' => {'type'=>'CodeableConcept', 'path'=>'Subunit.threePrime', 'min'=>0, 'max'=>1},
  'linkage' => {'type'=>'SubstanceNucleicAcid::Subunit::Linkage', 'path'=>'Subunit.linkage', 'min'=>0, 'max'=>Float::INFINITY},
  'sugar' => {'type'=>'SubstanceNucleicAcid::Subunit::Sugar', 'path'=>'Subunit.sugar', 'min'=>0, 'max'=>Float::INFINITY}
}

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

#extensionObject

0-* [ Extension ]



90
91
92
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 90

def extension
  @extension
end

#fivePrimeObject

0-1 CodeableConcept



96
97
98
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 96

def fivePrime
  @fivePrime
end

#idObject

0-1 string



89
90
91
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 89

def id
  @id
end

#lengthObject

0-1 integer



94
95
96
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 94

def length
  @length
end

#linkageObject

0-* [ SubstanceNucleicAcid::Subunit::Linkage ]



98
99
100
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 98

def linkage
  @linkage
end

#modifierExtensionObject

0-* [ Extension ]



91
92
93
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 91

def modifierExtension
  @modifierExtension
end

#sequenceObject

0-1 string



93
94
95
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 93

def sequence
  @sequence
end

#sequenceAttachmentObject

0-1 Attachment



95
96
97
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 95

def sequenceAttachment
  @sequenceAttachment
end

#subunitObject

0-1 integer



92
93
94
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 92

def subunit
  @subunit
end

#sugarObject

0-* [ SubstanceNucleicAcid::Subunit::Sugar ]



99
100
101
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 99

def sugar
  @sugar
end

#threePrimeObject

0-1 CodeableConcept



97
98
99
# File 'lib/fhir_models/fhir/resources/SubstanceNucleicAcid.rb', line 97

def threePrime
  @threePrime
end