Package org.hl7.fhir.r4.model
Class SubstanceSpecification.SubstanceSpecificationStructureComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.SubstanceSpecification.SubstanceSpecificationStructureComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- SubstanceSpecification
public static class SubstanceSpecification.SubstanceSpecificationStructureComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SubstanceSpecification.SubstanceSpecificationStructureIsotopeComponent>isotopeApplicable for single substances that contain a radionuclide or a non-natural isotopic ratio.protected StringTypemolecularFormulaMolecular formula.protected StringTypemolecularFormulaByMoietySpecified per moiety according to the Hill system, i.e.protected SubstanceSpecification.SubstanceSpecificationStructureIsotopeMolecularWeightComponentmolecularWeightThe molecular weight or weight range (for proteins, polymers or nucleic acids).protected CodeableConceptopticalActivityOptical activity type.protected List<SubstanceSpecification.SubstanceSpecificationStructureRepresentationComponent>representationMolecular structural representation.protected List<Reference>sourceSupporting literature.protected List<DocumentReference>sourceTargetThe actual objects that are the target of the reference (Supporting literature.)protected CodeableConceptstereochemistryStereochemistry type.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SubstanceSpecificationStructureComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
stereochemistry
protected CodeableConcept stereochemistry
Stereochemistry type.
-
opticalActivity
protected CodeableConcept opticalActivity
Optical activity type.
-
molecularFormula
protected StringType molecularFormula
Molecular formula.
-
molecularFormulaByMoiety
protected StringType molecularFormulaByMoiety
Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.
-
isotope
protected List<SubstanceSpecification.SubstanceSpecificationStructureIsotopeComponent> isotope
Applicable for single substances that contain a radionuclide or a non-natural isotopic ratio.
-
molecularWeight
protected SubstanceSpecification.SubstanceSpecificationStructureIsotopeMolecularWeightComponent molecularWeight
The molecular weight or weight range (for proteins, polymers or nucleic acids).
-
sourceTarget
protected List<DocumentReference> sourceTarget
The actual objects that are the target of the reference (Supporting literature.)
-
representation
protected List<SubstanceSpecification.SubstanceSpecificationStructureRepresentationComponent> representation
Molecular structural representation.
-
-
Constructor Detail
-
SubstanceSpecificationStructureComponent
public SubstanceSpecificationStructureComponent()
Constructor
-
-
Method Detail
-
getStereochemistry
public CodeableConcept getStereochemistry()
- Returns:
stereochemistry(Stereochemistry type.)
-
hasStereochemistry
public boolean hasStereochemistry()
-
setStereochemistry
public SubstanceSpecification.SubstanceSpecificationStructureComponent setStereochemistry(CodeableConcept value)
- Parameters:
value-stereochemistry(Stereochemistry type.)
-
getOpticalActivity
public CodeableConcept getOpticalActivity()
- Returns:
opticalActivity(Optical activity type.)
-
hasOpticalActivity
public boolean hasOpticalActivity()
-
setOpticalActivity
public SubstanceSpecification.SubstanceSpecificationStructureComponent setOpticalActivity(CodeableConcept value)
- Parameters:
value-opticalActivity(Optical activity type.)
-
getMolecularFormulaElement
public StringType getMolecularFormulaElement()
- Returns:
molecularFormula(Molecular formula.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormula" gives direct access to the value
-
hasMolecularFormulaElement
public boolean hasMolecularFormulaElement()
-
hasMolecularFormula
public boolean hasMolecularFormula()
-
setMolecularFormulaElement
public SubstanceSpecification.SubstanceSpecificationStructureComponent setMolecularFormulaElement(StringType value)
- Parameters:
value-molecularFormula(Molecular formula.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormula" gives direct access to the value
-
getMolecularFormula
public String getMolecularFormula()
- Returns:
- Molecular formula.
-
setMolecularFormula
public SubstanceSpecification.SubstanceSpecificationStructureComponent setMolecularFormula(String value)
- Parameters:
value- Molecular formula.
-
getMolecularFormulaByMoietyElement
public StringType getMolecularFormulaByMoietyElement()
- Returns:
molecularFormulaByMoiety(Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormulaByMoiety" gives direct access to the value
-
hasMolecularFormulaByMoietyElement
public boolean hasMolecularFormulaByMoietyElement()
-
hasMolecularFormulaByMoiety
public boolean hasMolecularFormulaByMoiety()
-
setMolecularFormulaByMoietyElement
public SubstanceSpecification.SubstanceSpecificationStructureComponent setMolecularFormulaByMoietyElement(StringType value)
- Parameters:
value-molecularFormulaByMoiety(Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormulaByMoiety" gives direct access to the value
-
getMolecularFormulaByMoiety
public String getMolecularFormulaByMoiety()
- Returns:
- Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.
-
setMolecularFormulaByMoiety
public SubstanceSpecification.SubstanceSpecificationStructureComponent setMolecularFormulaByMoiety(String value)
- Parameters:
value- Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot.
-
getIsotope
public List<SubstanceSpecification.SubstanceSpecificationStructureIsotopeComponent> getIsotope()
- Returns:
isotope(Applicable for single substances that contain a radionuclide or a non-natural isotopic ratio.)
-
setIsotope
public SubstanceSpecification.SubstanceSpecificationStructureComponent setIsotope(List<SubstanceSpecification.SubstanceSpecificationStructureIsotopeComponent> theIsotope)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIsotope
public boolean hasIsotope()
-
addIsotope
public SubstanceSpecification.SubstanceSpecificationStructureIsotopeComponent addIsotope()
-
addIsotope
public SubstanceSpecification.SubstanceSpecificationStructureComponent addIsotope(SubstanceSpecification.SubstanceSpecificationStructureIsotopeComponent t)
-
getIsotopeFirstRep
public SubstanceSpecification.SubstanceSpecificationStructureIsotopeComponent getIsotopeFirstRep()
- Returns:
- The first repetition of repeating field
isotope, creating it if it does not already exist
-
getMolecularWeight
public SubstanceSpecification.SubstanceSpecificationStructureIsotopeMolecularWeightComponent getMolecularWeight()
- Returns:
molecularWeight(The molecular weight or weight range (for proteins, polymers or nucleic acids).)
-
hasMolecularWeight
public boolean hasMolecularWeight()
-
setMolecularWeight
public SubstanceSpecification.SubstanceSpecificationStructureComponent setMolecularWeight(SubstanceSpecification.SubstanceSpecificationStructureIsotopeMolecularWeightComponent value)
- Parameters:
value-molecularWeight(The molecular weight or weight range (for proteins, polymers or nucleic acids).)
-
setSource
public SubstanceSpecification.SubstanceSpecificationStructureComponent setSource(List<Reference> theSource)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSource
public boolean hasSource()
-
addSource
public SubstanceSpecification.SubstanceSpecificationStructureComponent addSource(Reference t)
-
getSourceFirstRep
public Reference getSourceFirstRep()
- Returns:
- The first repetition of repeating field
source, creating it if it does not already exist
-
getSourceTarget
@Deprecated public List<DocumentReference> getSourceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addSourceTarget
@Deprecated public DocumentReference addSourceTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getRepresentation
public List<SubstanceSpecification.SubstanceSpecificationStructureRepresentationComponent> getRepresentation()
- Returns:
representation(Molecular structural representation.)
-
setRepresentation
public SubstanceSpecification.SubstanceSpecificationStructureComponent setRepresentation(List<SubstanceSpecification.SubstanceSpecificationStructureRepresentationComponent> theRepresentation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRepresentation
public boolean hasRepresentation()
-
addRepresentation
public SubstanceSpecification.SubstanceSpecificationStructureRepresentationComponent addRepresentation()
-
addRepresentation
public SubstanceSpecification.SubstanceSpecificationStructureComponent addRepresentation(SubstanceSpecification.SubstanceSpecificationStructureRepresentationComponent t)
-
getRepresentationFirstRep
public SubstanceSpecification.SubstanceSpecificationStructureRepresentationComponent getRepresentationFirstRep()
- Returns:
- The first repetition of repeating field
representation, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public SubstanceSpecification.SubstanceSpecificationStructureComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(SubstanceSpecification.SubstanceSpecificationStructureComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-