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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductBatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)DategetExpirationDate()Gets the value(s) for expirationDate ().ca.uhn.fhir.model.primitive.DateTimeDtgetExpirationDateElement()Gets the value(s) for expirationDate ().StringgetLotNumber()Gets the value(s) for lotNumber ().ca.uhn.fhir.model.primitive.StringDtgetLotNumberElement()Gets the value(s) for lotNumber ().booleanisEmpty()Medication.ProductBatchsetExpirationDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for expirationDate ()Medication.ProductBatchsetExpirationDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for expirationDate ()Medication.ProductBatchsetExpirationDateWithSecondsPrecision(Date theDate)Sets the value for expirationDate ()Medication.ProductBatchsetLotNumber(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for lotNumber ()Medication.ProductBatchsetLotNumber(String theString)Sets the value for lotNumber ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ProductBatch
public ProductBatch()
-
-
Method Detail
-
isEmpty
public boolean 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
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public Medication.ProductBatch setLotNumber(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for lotNumber ()Definition: The assigned lot number of a batch of the specified product.
-
setLotNumber
public Medication.ProductBatch setLotNumber(String theString)
Sets the value for lotNumber ()Definition: The assigned lot number of a batch of the specified product.
-
getExpirationDateElement
public ca.uhn.fhir.model.primitive.DateTimeDt 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
public Date 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
public Medication.ProductBatch setExpirationDate(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) 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.
-
setExpirationDateWithSecondsPrecision
public Medication.ProductBatch setExpirationDateWithSecondsPrecision(Date theDate)
Sets the value for expirationDate ()Definition: When this specific batch of product will expire.
-
-