Medical wireless sensor networks (MWSNs) provide efficient solutions to the ubiquitous healthcare systems. Deployment of MWSNs for healthcare monitoring minimizes the need for healthcare professionals and helps the patients and elderly people to safely maintain an independent life. In hospitals, medical data sensors on patients produce an enormous volume of increasingly diverse real-time data. However, it is still critical to efficiently aggregate the different types of MWSNs data to the central servers. The security of collected and transmitted data from medical sensors is critical, whether inside the network or when stored at central servers. Efficient and secure aggregation of data is thus very essential to ensure integrity of data delivery, as well as the privacy of these data. In this research, we propose a priority-based compressed data aggregation scheme with integrity preservation to improve the aggregation efficiency of different types of health data. We use compressed sensing as a sampling procedure to reduce the communication overhead and minimize power consumption. Then, the compressed data are encrypted, and integrity is protected by a cryptographic hash algorithm to preserve data integrity. Finally, according to different data priorities, we apply an aggregation function and then send the data for diagnosis. The security analysis focuses on security properties assured by our scheme. Then, we will present experimental results for the evaluation of the proposed system on e-health sensor platform.