The prospect behind digital transformation strategies makes the healthcare systems more safe, affordable, and accessible with remarkable opportunities. The reasons why patients decided to have negative medication adherence became a critical challenge in the healthcare system. This study presents a Digital Framework Strategy DSF for patient medication adherence to improve patient health during the treatment regime. A case study of the Federal Polytechnic Medical centre and clinical activities of Offa General Hospital examines the existing treatment of chronic diseases. The cloud-based server revolves around Convolution Neural Network (CNN) feature to perform a real-time collection of data and analytics of patient information. When thoroughly combined, the CNN of the neural network has a model of the application, which will form part of the desired output. This output presents a level of patient medication adherence within the parameters—the data around the enclosed sources. The approach data was acquired with the patient wearing a sensor and smartphone devices. The model throughputs presented detailed analytics of individual patient adherence behaviors. The result of CNN performance revealed 96.99% accuracy of medication adherence level on a tested dataset collation, and the essence of digital framework analytics helped the healthcare workers (HCW) and healthcare providers to make prompt decisions on patients’ medical conditions.