From f75b00a44497cdfbe1d880f96e04e8f6a3242427 Mon Sep 17 00:00:00 2001 From: Hussaini musa Date: Sat, 9 Aug 2025 20:48:44 +0100 Subject: [PATCH] Update Hospital_Dict.py --- Hospital_Dict.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Hospital_Dict.py b/Hospital_Dict.py index 9213bad..90c0fa2 100644 --- a/Hospital_Dict.py +++ b/Hospital_Dict.py @@ -3,13 +3,15 @@ staff = { 101: {"name": "Dr. Smith", "role": "Cardiologist", "station": "ER"}, 202: {"name": "Nurse Lee", "role": "ICU", "station": "Ward 3B"}, - 303: {"name": "Dr. Patel", "role": "Radiologist", "station": "Lab 2"} + 303: {"name": "Dr. Patel", "role": "Radiologist", "station": "Lab 2"}, + 404: {"name": "Dr. Hussain", "role" "Supervisor", "station", "theater"} } # Patient Records (ID → Medical History) patients = { "P881": {"name": "John Munae", "allergies": ["Penicillin"], "ward": "ICU"}, - "P882": {"name": "Maria Garcia", "allergies": ["Smoke"], "ward": "Ward 4A"} + "P882": {"name": "Maria Garcia", "allergies": ["Smoke"], "ward": "Ward 4A"}, + "p882": {"name": "Hassana Musa", "allergies": ["Maternity"], "ward": "Maternity ward"] } # Access data @@ -17,4 +19,4 @@ print("John's allergies:", patients["P881"]["allergies"]) # ['Penicillin'] # Add new patient -patients["P883"] = {"name": "Alex Kim", "allergies": ["Latex"], "ward": "ER"} \ No newline at end of file +patients["P883"] = {"name": "Alex Kim", "allergies": ["Latex"], "ward": "ER"}