Class: FHIR::MolecularSequence::ReferenceSeq

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

Constant Summary collapse

METADATA =
{
  'id' => {'type'=>'string', 'path'=>'ReferenceSeq.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'ReferenceSeq.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'ReferenceSeq.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'chromosome' => {'valid_codes'=>{'http://terminology.hl7.org/CodeSystem/chromosome-human'=>['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', 'X', 'Y']}, 'type'=>'CodeableConcept', 'path'=>'ReferenceSeq.chromosome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/chromosome-human'}},
  'genomeBuild' => {'type'=>'string', 'path'=>'ReferenceSeq.genomeBuild', 'min'=>0, 'max'=>1},
  'orientation' => {'valid_codes'=>{'http://hl7.org/fhir/orientation-type'=>['sense', 'antisense']}, 'type'=>'code', 'path'=>'ReferenceSeq.orientation', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/orientation-type|4.0.0'}},
  'referenceSeqId' => {'type'=>'CodeableConcept', 'path'=>'ReferenceSeq.referenceSeqId', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/sequence-referenceSeq'}},
  'referenceSeqPointer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/MolecularSequence'], 'type'=>'Reference', 'path'=>'ReferenceSeq.referenceSeqPointer', 'min'=>0, 'max'=>1},
  'referenceSeqString' => {'type'=>'string', 'path'=>'ReferenceSeq.referenceSeqString', 'min'=>0, 'max'=>1},
  'strand' => {'valid_codes'=>{'http://hl7.org/fhir/strand-type'=>['watson', 'crick']}, 'type'=>'code', 'path'=>'ReferenceSeq.strand', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/strand-type|4.0.0'}},
  'windowStart' => {'type'=>'integer', 'path'=>'ReferenceSeq.windowStart', 'min'=>0, 'max'=>1},
  'windowEnd' => {'type'=>'integer', 'path'=>'ReferenceSeq.windowEnd', '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 FHIR::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

#chromosomeObject

0-1 CodeableConcept



58
59
60
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 58

def chromosome
  @chromosome
end

#extensionObject

0-* [ Extension ]



56
57
58
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 56

def extension
  @extension
end

#genomeBuildObject

0-1 string



59
60
61
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 59

def genomeBuild
  @genomeBuild
end

#idObject

0-1 string



55
56
57
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 55

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



57
58
59
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 57

def modifierExtension
  @modifierExtension
end

#orientationObject

0-1 code



60
61
62
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 60

def orientation
  @orientation
end

#referenceSeqIdObject

0-1 CodeableConcept



61
62
63
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 61

def referenceSeqId
  @referenceSeqId
end

#referenceSeqPointerObject

0-1 Reference(MolecularSequence)



62
63
64
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 62

def referenceSeqPointer
  @referenceSeqPointer
end

#referenceSeqStringObject

0-1 string



63
64
65
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 63

def referenceSeqString
  @referenceSeqString
end

#strandObject

0-1 code



64
65
66
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 64

def strand
  @strand
end

#windowEndObject

0-1 integer



66
67
68
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 66

def windowEnd
  @windowEnd
end

#windowStartObject

0-1 integer



65
66
67
# File 'lib/fhir_models/fhir/resources/MolecularSequence.rb', line 65

def windowStart
  @windowStart
end