She spent 14 years watching patients rip them off at 2 AM. Then she found the one design flaw that explained all of it.