Spaces:
Running
Running
neerajkalyank
commited on
Commit
•
932ac06
1
Parent(s):
d31cf4b
Update patient_registration.py
Browse files- patient_registration.py +1 -0
patient_registration.py
CHANGED
@@ -4,3 +4,4 @@ def register_patient(name, father_name, age, phone, address, pincode):
|
|
4 |
today = datetime.datetime.now()
|
5 |
patient_id = f"{today.year}{today.month:02d}{today.day:02d}{phone[-5:]}"
|
6 |
return patient_id
|
|
|
|
4 |
today = datetime.datetime.now()
|
5 |
patient_id = f"{today.year}{today.month:02d}{today.day:02d}{phone[-5:]}"
|
6 |
return patient_id
|
7 |
+
|