Class Medication.Product

  • 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.Product
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: Medication.product ()

    Definition: Information that only applies to products (not packages)

    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

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

        public CodeableConceptDt getForm()
        Gets the value(s) for form (). creating it if it does not exist. Will not return null.

        Definition: Describes the form of the item. Powder; tablets; carton

      • getIngredient

        public List<Medication.ProductIngredientgetIngredient()
        Gets the value(s) for ingredient (). creating it if it does not exist. Will not return null.

        Definition: Identifies a particular constituent of interest in the product

      • getIngredientFirstRep

        public Medication.ProductIngredient getIngredientFirstRep()
        Gets the first repetition for ingredient (), creating it if it does not already exist.

        Definition: Identifies a particular constituent of interest in the product

      • getBatch

        public List<Medication.ProductBatchgetBatch()
        Gets the value(s) for batch (). creating it if it does not exist. Will not return null.

        Definition: Information about a group of medication produced or packaged from one production run.

      • addBatch

        public Medication.ProductBatch addBatch()
        Adds and returns a new value for batch ()

        Definition: Information about a group of medication produced or packaged from one production run.

      • addBatch

        public Medication.Product addBatch​(Medication.ProductBatch theValue)
        Adds a given new value for batch ()

        Definition: Information about a group of medication produced or packaged from one production run.

        Parameters:
        theValue - The batch to add (must not be null)
      • getBatchFirstRep

        public Medication.ProductBatch getBatchFirstRep()
        Gets the first repetition for batch (), creating it if it does not already exist.

        Definition: Information about a group of medication produced or packaged from one production run.