In medical sector, the use of computers and information technology helps in diagnosis, especially the computer-based patient record (CPR). As the traditional method of storing patient files is not feasible to obtain the health file, especially those who are in critical conditions, such as accidents, loss of consciousness and memory at times, due to the consumption of a lot of time and effort in the process of manual searching in traditional files. In order to help health care centers quickly identify patient personal data and make accurate decisions, an automated electronic system for patient health files based on a fingerprint sensor was built using special methods and technologies such as Content-Based Image Retrieval (CBIR) system, which is a retrieval technology based on the similarity of the images has the potential to facilitate identification and diagnosis of the patient's condition when he or she is unconscious. This study aims to integrate different technologies and discuss issues related to the electronic health file system based on the patient's fingerprint data, the use of (fingerprint sensor) technology, linking to the patient file data system, storage in fingerprint databases, and health data for each. sick.; To help critical cases, in addition to applying this technology and employing it in the ambulance and diagnostic system in order to improve the level of medical services and reach the desired results. The results showed that the electronic health profile was successfully built, designed and implemented for its intended purpose, the system and the destinations that connect users to the system as well as the fingerprint sensor. Finally, the system is efficient and gives reliable results with up to 100% tested accuracy based on the states it was stored.