public class SubstanceMoiety extends BackboneType implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected SubstanceAmount |
amount
Used to capture quantitative values for a variety of elements.
|
protected Identifier |
identifier
The unique identifier assigned to the substance representing the moiety based on the ISO 11238 substance controlled vocabulary.
|
protected StringType |
molecularFormula
Molecular formula shall be captured as described in 4.7.3.
|
protected StringType |
name
The name of the moiety shall be provided.
|
protected CodeableConcept |
opticalActivity
Optical activity shall be captured as described in 4.7.2.
|
protected CodeableConcept |
role
The role of the moiety should be specified if there is a specific role the moiety is playing.
|
protected CodeableConcept |
stereochemistry
Stereochemistry shall be captured as described in 4.7.1.
|
modifierExtension| Constructor and Description |
|---|
SubstanceMoiety()
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, 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, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected CodeableConcept role
protected Identifier identifier
protected StringType name
protected CodeableConcept stereochemistry
protected CodeableConcept opticalActivity
protected StringType molecularFormula
protected SubstanceAmount amount
public SubstanceMoiety()
public CodeableConcept getRole()
role (The role of the moiety should be specified if there is a specific role the moiety is playing.)public boolean hasRole()
public SubstanceMoiety setRole(CodeableConcept value)
value - role (The role of the moiety should be specified if there is a specific role the moiety is playing.)public Identifier getIdentifier()
identifier (The unique identifier assigned to the substance representing the moiety based on the ISO 11238 substance controlled vocabulary.)public boolean hasIdentifier()
public SubstanceMoiety setIdentifier(Identifier value)
value - identifier (The unique identifier assigned to the substance representing the moiety based on the ISO 11238 substance controlled vocabulary.)public StringType getNameElement()
name (The name of the moiety shall be provided.). 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 SubstanceMoiety setNameElement(StringType value)
value - name (The name of the moiety shall be provided.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic SubstanceMoiety setName(String value)
value - The name of the moiety shall be provided.public CodeableConcept getStereochemistry()
stereochemistry (Stereochemistry shall be captured as described in 4.7.1.)public boolean hasStereochemistry()
public SubstanceMoiety setStereochemistry(CodeableConcept value)
value - stereochemistry (Stereochemistry shall be captured as described in 4.7.1.)public CodeableConcept getOpticalActivity()
opticalActivity (Optical activity shall be captured as described in 4.7.2.)public boolean hasOpticalActivity()
public SubstanceMoiety setOpticalActivity(CodeableConcept value)
value - opticalActivity (Optical activity shall be captured as described in 4.7.2.)public StringType getMolecularFormulaElement()
molecularFormula (Molecular formula shall be captured as described in 4.7.3.). 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 SubstanceMoiety setMolecularFormulaElement(StringType value)
value - molecularFormula (Molecular formula shall be captured as described in 4.7.3.). This is the underlying object with id, value and extensions. The accessor "getMolecularFormula" gives direct access to the valuepublic String getMolecularFormula()
public SubstanceMoiety setMolecularFormula(String value)
value - Molecular formula shall be captured as described in 4.7.3.public SubstanceAmount getAmount()
amount (Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field.)public boolean hasAmount()
public SubstanceMoiety setAmount(SubstanceAmount value)
value - amount (Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field.)protected void listChildren(List<Property> children)
listChildren in class BackboneTypepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class BackboneTypeorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class BackboneTypeorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneTypeorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class BackboneTypeorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class BackboneTypeorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class BackboneTypeorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class BackboneTypeorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class BackboneTypepublic SubstanceMoiety copy()
copy in class BackboneTypeprotected SubstanceMoiety typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class BackboneTypepublic boolean equalsShallow(Base other_)
equalsShallow in class BackboneTypepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class BackboneTypeCopyright © 2014–2018 University Health Network. All rights reserved.