Class: FHIR::STU3::Sequence::ReferenceSeq

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir_stu3_models/fhir/resources/Sequence.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://hl7.org/fhir/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},
  'referenceSeqId' => {'valid_codes'=>{'http://www.ensembl.org'=>[], 'http://www.ncbi.nlm.nih.gov/nuccore'=>[]}, '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/Sequence'], 'type'=>'Reference', 'path'=>'ReferenceSeq.referenceSeqPointer', 'min'=>0, 'max'=>1},
  'referenceSeqString' => {'type'=>'string', 'path'=>'ReferenceSeq.referenceSeqString', 'min'=>0, 'max'=>1},
  'strand' => {'type'=>'integer', 'path'=>'ReferenceSeq.strand', 'min'=>0, 'max'=>1},
  'windowStart' => {'type'=>'integer', 'path'=>'ReferenceSeq.windowStart', 'min'=>1, 'max'=>1},
  'windowEnd' => {'type'=>'integer', 'path'=>'ReferenceSeq.windowEnd', 'min'=>1, '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, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #to_reference, #valid?, #validate, #validate_profile

Constructor Details

This class inherits a constructor from FHIR::STU3::Model

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FHIR::STU3::Model

Instance Attribute Details

#chromosomeObject

0-1 CodeableConcept



57
58
59
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 57

def chromosome
  @chromosome
end

#extensionObject

0-* [ Extension ]



55
56
57
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 55

def extension
  @extension
end

#genomeBuildObject

0-1 string



58
59
60
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 58

def genomeBuild
  @genomeBuild
end

#idObject

0-1 string



54
55
56
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 54

def id
  @id
end

#modifierExtensionObject

0-* [ Extension ]



56
57
58
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 56

def modifierExtension
  @modifierExtension
end

#referenceSeqIdObject

0-1 CodeableConcept



59
60
61
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 59

def referenceSeqId
  @referenceSeqId
end

#referenceSeqPointerObject

0-1 Reference(Sequence)



60
61
62
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 60

def referenceSeqPointer
  @referenceSeqPointer
end

#referenceSeqStringObject

0-1 string



61
62
63
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 61

def referenceSeqString
  @referenceSeqString
end

#strandObject

0-1 integer



62
63
64
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 62

def strand
  @strand
end

#windowEndObject

1-1 integer



64
65
66
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 64

def windowEnd
  @windowEnd
end

#windowStartObject

1-1 integer



63
64
65
# File 'lib/fhir_stu3_models/fhir/resources/Sequence.rb', line 63

def windowStart
  @windowStart
end