Class SubstanceNucleicAcid

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class SubstanceNucleicAcid
    extends DomainResource
    Nucleic acids are defined by three distinct elements: the base, sugar and linkage. Individual substance/moiety IDs will be created for each of these elements. The nucleotide sequence will be always entered in the 5’-3’ direction.
    • Method Detail

      • getSequenceType

        public CodeableConcept getSequenceType()
        The type of the sequence shall be specified based on a controlled vocabulary.
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getNumberOfSubunits

        public Integer getNumberOfSubunits()
        The number of linear sequences of nucleotides linked through phosphodiester bonds shall be described. Subunits would be strands of nucleic acids that are tightly associated typically through Watson-Crick base pairing. NOTE: If not specified in the reference source, the assumption is that there is 1 subunit.
        Returns:
        An immutable object of type Integer that may be null.
      • getAreaOfHybridisation

        public String getAreaOfHybridisation()
        The area of hybridisation shall be described if applicable for double stranded RNA or DNA. The number associated with the subunit followed by the number associated to the residue shall be specified in increasing order. The underscore “” shall be used as separator as follows: “Subunitnumber Residue”.
        Returns:
        An immutable object of type String that may be null.
      • getOligoNucleotideType

        public CodeableConcept getOligoNucleotideType()
        (TBC).
        Returns:
        An immutable object of type CodeableConcept that may be null.
      • getSubunit

        public List<SubstanceNucleicAcid.Subunit> getSubunit()
        Subunits are listed in order of decreasing length; sequences of the same length will be ordered by molecular weight; subunits that have identical sequences will be repeated multiple times.
        Returns:
        An unmodifiable list containing immutable objects of type SubstanceNucleicAcid.Subunit that may be empty.
      • accept

        public void accept​(String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object