public static class Substance.Instance extends BaseIdentifiableElement implements IResourceBlock
Definition: Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance
| Constructor and Description |
|---|
Instance() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getExpiry()
Gets the value(s) for expiry ().
|
DateTimeDt |
getExpiryElement()
Gets the value(s) for expiry ().
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier ().
|
SimpleQuantityDt |
getQuantity()
Gets the value(s) for quantity ().
|
boolean |
isEmpty() |
Substance.Instance |
setExpiry(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for expiry ()
|
Substance.Instance |
setExpiry(DateTimeDt theValue)
Sets the value(s) for expiry ()
|
Substance.Instance |
setExpiryWithSecondsPrecision(Date theDate)
Sets the value for expiry ()
|
Substance.Instance |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()
|
Substance.Instance |
setQuantity(SimpleQuantityDt theValue)
Sets the value(s) for quantity ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic Instance()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic IdentifierDt getIdentifier()
null.
Definition: Identifier associated with the package/container (usually a label affixed directly)
public Substance.Instance setIdentifier(IdentifierDt theValue)
Definition: Identifier associated with the package/container (usually a label affixed directly)
public DateTimeDt getExpiryElement()
null.
Definition: When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
public Date getExpiry()
null.
Definition: When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
public Substance.Instance setExpiry(DateTimeDt theValue)
Definition: When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
public Substance.Instance setExpiry(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
public Substance.Instance setExpiryWithSecondsPrecision(Date theDate)
Definition: When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
public SimpleQuantityDt getQuantity()
null.
Definition: The amount of the substance
public Substance.Instance setQuantity(SimpleQuantityDt theValue)
Definition: The amount of the substance
Copyright © 2014–2016 University Health Network. All rights reserved.