Package com.ibm.fhir.model.resource
Class SubstanceNucleicAcid
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.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.Maturity level: FMM0 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubstanceNucleicAcid.Builder
static class
SubstanceNucleicAcid.Subunit
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.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static SubstanceNucleicAcid.Builder
builder()
boolean
equals(Object obj)
String
getAreaOfHybridisation()
The area of hybridisation shall be described if applicable for double stranded RNA or DNA.Integer
getNumberOfSubunits()
The number of linear sequences of nucleotides linked through phosphodiester bonds shall be described.CodeableConcept
getOligoNucleotideType()
(TBC).CodeableConcept
getSequenceType()
The type of the sequence shall be specified based on a controlled vocabulary.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.boolean
hasChildren()
int
hashCode()
SubstanceNucleicAcid.Builder
toBuilder()
Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
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.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classDomainResource
-
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 interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
toBuilder
public SubstanceNucleicAcid.Builder toBuilder()
Description copied from class:Resource
Create a new Builder from the contents of this Resource- Specified by:
toBuilder
in classDomainResource
-
builder
public static SubstanceNucleicAcid.Builder builder()
-
-