The invention relates to a method and system that utilizes one or more cassettes or trays that hold medicaments for dispensing. In one embodiment a medicaments container includes control logic configured to enable the medicaments container to operate with an apparatus; control logic configured to determine whether the medicaments container is authorized for operation with the apparatus; and control logic configured to generate an alert if the medicaments container is not authorized for operation with the apparatus.