public class SubstanceAmount extends BackboneType implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
SubstanceAmount.SubstanceAmountReferenceRangeComponent |
| Modifier and Type | Field and Description |
|---|---|
protected Type |
amount
Used to capture quantitative values for a variety of elements.
|
protected StringType |
amountText
A textual comment on a numeric value.
|
protected CodeableConcept |
amountType
Most elements that require a quantitative value will also have a field called amount type.
|
protected SubstanceAmount.SubstanceAmountReferenceRangeComponent |
referenceRange
Reference range of possible or expected values.
|
modifierExtension| Constructor and Description |
|---|
SubstanceAmount()
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, waitgetFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataprotected Type amount
protected CodeableConcept amountType
protected StringType amountText
protected SubstanceAmount.SubstanceAmountReferenceRangeComponent referenceRange
public SubstanceAmount()
public Type 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 Quantity getAmountQuantity() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountQuantity()
public Range getAmountRange() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountRange()
public StringType getAmountStringType() throws org.hl7.fhir.exceptions.FHIRException
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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAmountStringType()
public boolean hasAmount()
public SubstanceAmount setAmount(Type 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.)public CodeableConcept getAmountType()
amountType (Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements.)public boolean hasAmountType()
public SubstanceAmount setAmountType(CodeableConcept value)
value - amountType (Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements.)public StringType getAmountTextElement()
amountText (A textual comment on a numeric value.). This is the underlying object with id, value and extensions. The accessor "getAmountText" gives direct access to the valuepublic boolean hasAmountTextElement()
public boolean hasAmountText()
public SubstanceAmount setAmountTextElement(StringType value)
value - amountText (A textual comment on a numeric value.). This is the underlying object with id, value and extensions. The accessor "getAmountText" gives direct access to the valuepublic String getAmountText()
public SubstanceAmount setAmountText(String value)
value - A textual comment on a numeric value.public SubstanceAmount.SubstanceAmountReferenceRangeComponent getReferenceRange()
referenceRange (Reference range of possible or expected values.)public boolean hasReferenceRange()
public SubstanceAmount setReferenceRange(SubstanceAmount.SubstanceAmountReferenceRangeComponent value)
value - referenceRange (Reference range of possible or expected values.)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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class BackboneTypepublic SubstanceAmount copy()
copy in class BackboneTypepublic void copyValues(SubstanceAmount dst)
protected SubstanceAmount 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–2021 Health Level 7. All rights reserved.