-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHospital_Management.py
More file actions
67 lines (60 loc) · 1.92 KB
/
Copy pathHospital_Management.py
File metadata and controls
67 lines (60 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import pandas as pd
from diseases import disease_analysis
from costs import expensive_treatments
from ages import age_groups
def show_data():
df = pd.read_csv('hospital_data.csv')
print("="*50)
print("ALL PATIENT DATA")
print("="*50)
print(df.to_string(index=False))
print(f"\nTotal Patients: {len(df)}")
def about_project():
print("="*50)
print("ABOUT PROJECT")
print("="*50)
print("Project: Hospital Patient Data Analysis")
print("Purpose: Analyze patient treatment costs and demographics")
print("Language: Python")
print("Libraries: pandas")
print("")
print("DEVELOPMENT TEAM:")
print("- Developer 1: [Mangesh Choudhary] - Main program and menu system")
print("- Developer 2: [Riya Singh] - Disease analysis and cost calculations")
print("- Developer 3: [Sean Ambrose] - Expensive treatments identification ")
print("- Developer 4: [Ayush Raybhar] - Age group classification system")
print("")
print("Github - https://github.com/GraphicsAndroid65/Hospital_Management_System")
def menu():
print("\n" + "="*50)
print("HOSPITAL MANAGEMENT SYSTEM")
print("="*50)
print("1. View List")
print("2. Disease Analysis")
print("3. Cost of Treatments")
print("4. Age Classification")
print("5. About Project")
print("6. Exit")
print("="*50)
def main():
while True:
menu()
choice = input("\nEnter choice (1-6): ")
if choice == '1':
show_data()
elif choice == '2':
disease_analysis()
elif choice == '3':
expensive_treatments()
elif choice == '4':
age_groups()
elif choice == '5':
about_project()
elif choice == '6':
print("\nThank you!")
break
else:
print("Invalid choice!")
input("\nPress Enter to continue...")
if __name__ == "__main__":
main()