
Package ca.uhn.fhir.model.dstu2.resource
Class Medication.ProductBatch
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Medication.ProductBatch
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Medication
public static class Medication.ProductBatch
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Medication.product.batch ()
Definition: Information about a group of medication produced or packaged from one production run.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType(Class<T> theType) Gets the value(s) for expirationDate ().ca.uhn.fhir.model.primitive.DateTimeDtGets the value(s) for expirationDate ().Gets the value(s) for lotNumber ().ca.uhn.fhir.model.primitive.StringDtGets the value(s) for lotNumber ().booleanisEmpty()setExpirationDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for expirationDate ()setExpirationDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for expirationDate ()Sets the value for expirationDate ()setLotNumber(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for lotNumber ()setLotNumber(String theString) Sets the value for lotNumber ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
ProductBatch
public ProductBatch()
-
-
Method Details
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getLotNumberElement
Gets the value(s) for lotNumber (). creating it if it does not exist. Will not returnnull.Definition: The assigned lot number of a batch of the specified product.
-
getLotNumber
Gets the value(s) for lotNumber (). creating it if it does not exist. This method may returnnull.Definition: The assigned lot number of a batch of the specified product.
-
setLotNumber
Sets the value(s) for lotNumber ()Definition: The assigned lot number of a batch of the specified product.
-
setLotNumber
Sets the value for lotNumber ()Definition: The assigned lot number of a batch of the specified product.
-
getExpirationDateElement
Gets the value(s) for expirationDate (). creating it if it does not exist. Will not returnnull.Definition: When this specific batch of product will expire.
-
getExpirationDate
Gets the value(s) for expirationDate (). creating it if it does not exist. This method may returnnull.Definition: When this specific batch of product will expire.
-
setExpirationDate
Sets the value(s) for expirationDate ()Definition: When this specific batch of product will expire.
-
setExpirationDateWithSecondsPrecision
Sets the value for expirationDate ()Definition: When this specific batch of product will expire.
-
setExpirationDate
public Medication.ProductBatch setExpirationDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for expirationDate ()Definition: When this specific batch of product will expire.
-