When the Food and Drug Administration approved in late 2017 a schizophrenia pill that sends a signal to a patient’s doctor when ingested, it was seen not only as a major step forward for the disease but as a new frontier of Internet-connected medicine.