Class Medication.Product

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.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:
  • 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
    • 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

    • setForm

      Sets the value(s) for form ()

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

    • getIngredient

      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

    • setIngredient

      Sets the value(s) for ingredient ()

      Definition: Identifies a particular constituent of interest in the product

    • addIngredient

      Adds and returns a new value for ingredient ()

      Definition: Identifies a particular constituent of interest in the product

    • addIngredient

      Adds a given new value for ingredient ()

      Definition: Identifies a particular constituent of interest in the product

      Parameters:
      theValue - The ingredient to add (must not be null)
    • 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

      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.

    • setBatch

      Sets the value(s) for batch ()

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

    • addBatch

      Adds and returns a new value for batch ()

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

    • addBatch

      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

      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.