public static class SubstanceSpecification.SubstanceSpecificationMoietyComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
| Modifier and Type | Field and Description |
|---|---|
protected Type |
amount
Quantitative value for this moiety.
|
protected Identifier |
identifier
Identifier by which this moiety substance is known.
|
protected StringType |
molecularFormula
Molecular formula.
|
protected StringType |
name
Textual name for this moiety substance.
|
protected CodeableConcept |
opticalActivity
Optical activity type.
|
protected CodeableConcept |
role
Role that the moiety is playing.
|
protected CodeableConcept |
stereochemistry
Stereochemistry type.
|
modifierExtension| Constructor and Description |
|---|
SubstanceSpecificationMoietyComponent()
Constructor
|
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtensionaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddExtension, getExtension, hasExtensiongetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected CodeableConcept role
protected Identifier identifier
protected StringType name
protected CodeableConcept stereochemistry
protected CodeableConcept opticalActivity
protected StringType molecularFormula
public SubstanceSpecificationMoietyComponent()
public CodeableConcept getRole()
role (Role that the moiety is playing.)public boolean hasRole()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setRole(CodeableConcept value)
value - role (Role that the moiety is playing.)public Identifier getIdentifier()
identifier (Identifier by which this moiety substance is known.)public boolean hasIdentifier()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setIdentifier(Identifier value)
value - identifier (Identifier by which this moiety substance is known.)public StringType getNameElement()
name (Textual name for this moiety substance.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setNameElement(StringType value)
value - name (Textual name for this moiety substance.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic SubstanceSpecification.SubstanceSpecificationMoietyComponent setName(String value)
value - Textual name for this moiety substance.public CodeableConcept getStereochemistry()
stereochemistry (Stereochemistry type.)public boolean hasStereochemistry()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setStereochemistry(CodeableConcept value)
value - stereochemistry (Stereochemistry type.)public CodeableConcept getOpticalActivity()
opticalActivity (Optical activity type.)public boolean hasOpticalActivity()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setOpticalActivity(CodeableConcept value)
value - opticalActivity (Optical activity type.)public StringType getMolecularFormulaElement()
molecularFormula (Molecular formula.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormula" gives direct access to the valuepublic boolean hasMolecularFormulaElement()
public boolean hasMolecularFormula()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setMolecularFormulaElement(StringType value)
value - molecularFormula (Molecular formula.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormula" gives direct access to the valuepublic String getMolecularFormula()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setMolecularFormula(String value)
value - Molecular formula.public Quantity getAmountQuantity() throws org.hl7.fhir.exceptions.FHIRException
amount (Quantitative value for this moiety.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountQuantity()
public StringType getAmountStringType() throws org.hl7.fhir.exceptions.FHIRException
amount (Quantitative value for this moiety.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountStringType()
public boolean hasAmount()
public SubstanceSpecification.SubstanceSpecificationMoietyComponent setAmount(Type value)
value - amount (Quantitative value for this moiety.)protected void listChildren(List<Property> children)
listChildren in class BackboneElementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneElementorg.hl7.fhir.exceptions.FHIRExceptionpublic SubstanceSpecification.SubstanceSpecificationMoietyComponent copy()
copy in class BackboneElementpublic void copyValues(SubstanceSpecification.SubstanceSpecificationMoietyComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneElementpublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneElementpublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneElementpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneElementCopyright © 2014–2021 Health Level 7. All rights reserved.