public static class Substance.Instance extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getExpiry()
Gets the value(s) for expiry ().
|
ca.uhn.fhir.model.primitive.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,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for expiry ()
|
Substance.Instance |
setExpiry(ca.uhn.fhir.model.primitive.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, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatComment, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Instance()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.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 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 Substance.Instance setExpiry(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
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–2018 University Health Network. All rights reserved.