> This avoids people self diagnosing and taking random doses of various medications.
This is such a non-issue it's impossible to take seriously. People do this regardless of prescriptions and the danger of the substances they're intaking (think: alcohol). What is the risk entailed by the device described in the original post that a prescription guardrail might prevent?