Medication nonadherence complicates the management and treatment of chronic disease. Nonadherence to medications is associated with significant mortality, accelerated disease progression, and increased health care costs. My/Treatment/Medication (MyTMed) is a novel adherence monitoring system that obtains direct measures of medication adherence/nonadherence. MyTMed consists of 1) a "digital pill" with a radiofrequency emitter that activates on contact with gastric pH; 2) a relay Hub that captures the radiofrequency signal and transmits it to 3) a cloud based server that connects patient and physicians via a bidirectional interface. In our increasingly mobile world, MyTMed is able to provide medication ingestion data and deliver interventions in real time that support adherence. We describe the patient-centered design of MyTMed as well as the behavioral theory supporting the interface architecture.