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 Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.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 return null.

      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 return null.

      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

      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 return null.

      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 return null.

      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.

    • 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.