Package org.hl7.fhir

Class Sequence

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class Sequence
    extends DomainResource
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    If the element is present, it must have either a @value, an @id, or extensions

    Java class for Sequence complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Sequence">
       <complexContent>
         <extension base="{http://hl7.org/fhir}DomainResource">
           <sequence>
             <element name="type" type="{http://hl7.org/fhir}sequenceType"/>
             <element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="specimen" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="device" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="quantity" type="{http://hl7.org/fhir}Quantity" minOccurs="0"/>
             <element name="species" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="referenceSeq" type="{http://hl7.org/fhir}Sequence.ReferenceSeq" maxOccurs="unbounded" minOccurs="0"/>
             <element name="variation" type="{http://hl7.org/fhir}Sequence.Variation" minOccurs="0"/>
             <element name="quality" type="{http://hl7.org/fhir}Sequence.Quality" maxOccurs="unbounded" minOccurs="0"/>
             <element name="allelicState" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="allelicFrequency" type="{http://hl7.org/fhir}decimal" minOccurs="0"/>
             <element name="copyNumberEvent" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
             <element name="readCoverage" type="{http://hl7.org/fhir}integer" minOccurs="0"/>
             <element name="repository" type="{http://hl7.org/fhir}Sequence.Repository" maxOccurs="unbounded" minOccurs="0"/>
             <element name="pointer" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
             <element name="observedSeq" type="{http://hl7.org/fhir}string" minOccurs="0"/>
             <element name="observation" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
             <element name="structureVariation" type="{http://hl7.org/fhir}Sequence.StructureVariation" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Sequence

        public Sequence()
    • Method Detail

      • setType

        public void setType​(SequenceType value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is SequenceType
      • getPatient

        public Reference getPatient()
        Gets the value of the patient property.
        Returns:
        possible object is Reference
      • setPatient

        public void setPatient​(Reference value)
        Sets the value of the patient property.
        Parameters:
        value - allowed object is Reference
      • getSpecimen

        public Reference getSpecimen()
        Gets the value of the specimen property.
        Returns:
        possible object is Reference
      • setSpecimen

        public void setSpecimen​(Reference value)
        Sets the value of the specimen property.
        Parameters:
        value - allowed object is Reference
      • getDevice

        public Reference getDevice()
        Gets the value of the device property.
        Returns:
        possible object is Reference
      • setDevice

        public void setDevice​(Reference value)
        Sets the value of the device property.
        Parameters:
        value - allowed object is Reference
      • getQuantity

        public Quantity getQuantity()
        Gets the value of the quantity property.
        Returns:
        possible object is Quantity
      • setQuantity

        public void setQuantity​(Quantity value)
        Sets the value of the quantity property.
        Parameters:
        value - allowed object is Quantity
      • setSpecies

        public void setSpecies​(CodeableConcept value)
        Sets the value of the species property.
        Parameters:
        value - allowed object is CodeableConcept
      • getReferenceSeq

        public java.util.List<SequenceReferenceSeq> getReferenceSeq()
        Gets the value of the referenceSeq property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the referenceSeq property.

        For example, to add a new item, do as follows:

            getReferenceSeq().add(newItem);
         

        Objects of the following type(s) are allowed in the list SequenceReferenceSeq

      • getQuality

        public java.util.List<SequenceQuality> getQuality()
        Gets the value of the quality property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the quality property.

        For example, to add a new item, do as follows:

            getQuality().add(newItem);
         

        Objects of the following type(s) are allowed in the list SequenceQuality

      • setAllelicState

        public void setAllelicState​(CodeableConcept value)
        Sets the value of the allelicState property.
        Parameters:
        value - allowed object is CodeableConcept
      • getAllelicFrequency

        public Decimal getAllelicFrequency()
        Gets the value of the allelicFrequency property.
        Returns:
        possible object is Decimal
      • setAllelicFrequency

        public void setAllelicFrequency​(Decimal value)
        Sets the value of the allelicFrequency property.
        Parameters:
        value - allowed object is Decimal
      • getCopyNumberEvent

        public CodeableConcept getCopyNumberEvent()
        Gets the value of the copyNumberEvent property.
        Returns:
        possible object is CodeableConcept
      • setCopyNumberEvent

        public void setCopyNumberEvent​(CodeableConcept value)
        Sets the value of the copyNumberEvent property.
        Parameters:
        value - allowed object is CodeableConcept
      • getReadCoverage

        public Integer getReadCoverage()
        Gets the value of the readCoverage property.
        Returns:
        possible object is Integer
      • setReadCoverage

        public void setReadCoverage​(Integer value)
        Sets the value of the readCoverage property.
        Parameters:
        value - allowed object is Integer
      • getRepository

        public java.util.List<SequenceRepository> getRepository()
        Gets the value of the repository property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the repository property.

        For example, to add a new item, do as follows:

            getRepository().add(newItem);
         

        Objects of the following type(s) are allowed in the list SequenceRepository

      • getPointer

        public java.util.List<Reference> getPointer()
        Gets the value of the pointer property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the pointer property.

        For example, to add a new item, do as follows:

            getPointer().add(newItem);
         

        Objects of the following type(s) are allowed in the list Reference

      • getObservedSeq

        public String getObservedSeq()
        Gets the value of the observedSeq property.
        Returns:
        possible object is String
      • setObservedSeq

        public void setObservedSeq​(String value)
        Sets the value of the observedSeq property.
        Parameters:
        value - allowed object is String
      • getObservation

        public Reference getObservation()
        Gets the value of the observation property.
        Returns:
        possible object is Reference
      • setObservation

        public void setObservation​(Reference value)
        Sets the value of the observation property.
        Parameters:
        value - allowed object is Reference
      • withAllelicFrequency

        public Sequence withAllelicFrequency​(Decimal value)
      • withPointer

        public Sequence withPointer​(java.util.Collection<Reference> values)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class DomainResource
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class DomainResource
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class DomainResource
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.StringBuilder buffer,
                                              org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class DomainResource
      • appendFields

        public java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.StringBuilder buffer,
                                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class DomainResource