From 0e47b4399b75d2c7941b374e538c2b3a9551a17b Mon Sep 17 00:00:00 2001 From: Mehranalam Date: Thu, 18 Jan 2024 19:30:30 +0330 Subject: [PATCH] Classification of information of ALL - Additional files --- app/result.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/result.py diff --git a/app/result.py b/app/result.py new file mode 100644 index 0000000..8c6a45a --- /dev/null +++ b/app/result.py @@ -0,0 +1,28 @@ +''' + +This file calls the data generated and classified by main.py and +then produces and interprets the final blood tests. +The data generated by main.py is crucial in the production of accurate and reliable blood test results. +This file acts as a bridge between the data classification process and the final interpretation of the blood tests. +It helps to ensure that the results are based on a solid foundation of data analysis and that any anomalies or errors are identified and +corrected before the tests are interpreted. By utilizing this file, medical professionals can +have greater confidence in the accuracy of their blood test results, which can ultimately lead to better patient outcomes. + +''' + +import sqlite3 + +conn = sqlite3.connect('database.db') +cursor = conn.execute("SELECT * FROM BLOOD_INFORMATION") +rows = cursor.fetchall() + +def READ_DATA(data): + + counter = 1 + for PARAMETER in data: + print(f"{counter} - {PARAMETER}") + counter += 1 + + + +READ_DATA(rows) \ No newline at end of file