Class: FHIR::Sequence::Variant
- Defined in:
- lib/fhir/resources/Sequence.rb
Constant Summary collapse
- METADATA =
{ 'id' => {'type'=>'string', 'path'=>'Variant.id', 'min'=>0, 'max'=>1}, 'extension' => {'type'=>'Extension', 'path'=>'Variant.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'Variant.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'start' => {'type'=>'integer', 'path'=>'Variant.start', 'min'=>0, 'max'=>1}, 'end' => {'type'=>'integer', 'path'=>'Variant.end', 'min'=>0, 'max'=>1}, 'observedAllele' => {'type'=>'string', 'path'=>'Variant.observedAllele', 'min'=>0, 'max'=>1}, 'referenceAllele' => {'type'=>'string', 'path'=>'Variant.referenceAllele', 'min'=>0, 'max'=>1}, 'cigar' => {'type'=>'string', 'path'=>'Variant.cigar', 'min'=>0, 'max'=>1}, 'variantPointer' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Observation'], 'type'=>'Reference', 'path'=>'Variant.variantPointer', 'min'=>0, 'max'=>1} }
Instance Attribute Summary collapse
-
#cigar ⇒ Object
0-1 string.
-
#end ⇒ Object
0-1 integer.
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 string.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#observedAllele ⇒ Object
0-1 string.
-
#referenceAllele ⇒ Object
0-1 string.
-
#start ⇒ Object
0-1 integer.
-
#variantPointer ⇒ Object
0-1 Reference(Observation).
Method Summary
Methods included from Xml
from_xml, is_valid?, #to_xml, validate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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
#cigar ⇒ Object
0-1 string
90 91 92 |
# File 'lib/fhir/resources/Sequence.rb', line 90 def cigar @cigar end |
#end ⇒ Object
0-1 integer
87 88 89 |
# File 'lib/fhir/resources/Sequence.rb', line 87 def end @end end |
#extension ⇒ Object
0-* [ Extension ]
84 85 86 |
# File 'lib/fhir/resources/Sequence.rb', line 84 def extension @extension end |
#id ⇒ Object
0-1 string
83 84 85 |
# File 'lib/fhir/resources/Sequence.rb', line 83 def id @id end |
#modifierExtension ⇒ Object
0-* [ Extension ]
85 86 87 |
# File 'lib/fhir/resources/Sequence.rb', line 85 def modifierExtension @modifierExtension end |
#observedAllele ⇒ Object
0-1 string
88 89 90 |
# File 'lib/fhir/resources/Sequence.rb', line 88 def observedAllele @observedAllele end |
#referenceAllele ⇒ Object
0-1 string
89 90 91 |
# File 'lib/fhir/resources/Sequence.rb', line 89 def referenceAllele @referenceAllele end |
#start ⇒ Object
0-1 integer
86 87 88 |
# File 'lib/fhir/resources/Sequence.rb', line 86 def start @start end |
#variantPointer ⇒ Object
0-1 Reference(Observation)
91 92 93 |
# File 'lib/fhir/resources/Sequence.rb', line 91 def variantPointer @variantPointer end |