The present invention provides an apparatus and method for automated
quality control of a substance comprising a compartment wherein a
substance is located, a monitoring device coupled to the compartment and
configured to monitor at least one quality control parameter prior to an
end-use of the substance, and a processor coupled to the monitoring
device, wherein the monitoring device is configured to communicate data
to the processor for comparing at least one quality control parameter to
an end-use value, and wherein the processor is further configured to
control the release of the substance from the compartment to its end-use.