Abstract: This invention relates to a multi-piece, automated medication container having a first piece with an interactive label and a machine readable and writable electronic memory strip. The memory strip contains prescription information, medication information and program codes that are downloaded to a second piece having a computer processor. In one embodiment of the invention, the interactive label is affixed to a vial of a standard childproof container. The vial is sealed by an automated cap. The automated cap includes sensors for reading the information and codes on the memory strip and a memory for storing the information and codes. The automated cap also includes a display for visually or audibly indicating desired information to the patient, such as when to take the next dose of medication. A computer controlled locking assembly in the cap presents its removal before the prescribed time for taking the next dose of medication.