In recent years, the major concern with people is healthcare. Humans are susceptible to various chronic diseases such as diabetes insipidus, kidney diseases, and eating disorders. The patient suffering from the mentioned diseases should be monitored and treated regularly to avoid any serious conditions. Thus, an embedded technology is developed to transfer the patient’s health information through sensor to network and then to the cloud storage. The existing technologies usually monitor the patient’s clinical data and share the sensor data to cloud. But, the system does not perform any data analysis or actuation process for efficient remedial treatment. In critical situations, the patient also requires the doctors and clinical assistants to be alongside to provide treatment immediately. Therefore, it requires a smart improvement in the current technology. In our methodology, we implement cyber-physical system (CPS) technique for healthcare system. CPS technology classifies the implementation into three parts, namely communication, computation, and actuation or control. CPS continuously monitors the patient’s health parameters such as blood glucose (BG) level, blood pressure (BP) level, body temperature (BT) level, and heart beat (HB) rate. When the health parameter value reaches their critical bound, then through actuators the patients are treated inevitably as a remedial measure. The proposed system benefits the patients, doctors, and clinical assistants in reducing the overhead of assisting all the patients during the inconvenience period. Due to increased physical connectivity constraints, embedded systems and networks have more security exposures. Especially in healthcare systems, the lack of importance on device security has headed to numerous cyber-security gaps. Therefore, a proper investigation is needed on the CPS security issues to make sure that systems are working safe. Furthermore, security resilience and robustness are discussed. Finally, some healthcare data security challenges are elevated for the future study. The proposed CPS model decreases the overhead of medical representatives. This approach also decreases the time and cost complexity compared to the previous works. © The Author(s), under exclusive licence to Springer Nature Singapore Pte Ltd. 2019.