Various exemplary embodiments relate to an electronic device for dispensing a medicament. The electronic device may include a medicament storage case or an electronic medicament device. The medicament storage case includes: a door moveable between an open position and a closed position; a lock moveable between a locked position where the lock maintains the door in the closed position and an unlocked position where the lock allows the door to move to the open position.