A smart cap is provided. The smart cap includes a base section configured to mate with and engage a top portion of a container. The smart cap includes a top section hingedly coupled to the base section. The top section is pivotable between an open position and a closed position. The smart cap includes a locking flange to interlock the base section with the top section during positioning of the top section in the closed position.