parass13 commited on
Commit
c51f3d0
Β·
verified Β·
1 Parent(s): fa467c8

Create doctors_info.py

Browse files
Files changed (1) hide show
  1. components/doctors_info.py +71 -0
components/doctors_info.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # components/doctor_info.py
2
+
3
+ import gradio as gr
4
+
5
+ def render_doctor_list():
6
+ """
7
+ Creates and returns the Gradio UI for the 'Consult a Specialist' section,
8
+ now with contact numbers and clickable website links.
9
+ """
10
+ with gr.Blocks() as doctors_ui:
11
+ gr.Markdown("## πŸ‘¨β€βš•οΈ Consult a Specialist in India")
12
+
13
+ # --- Strengthened Disclaimer ---
14
+ gr.Markdown(
15
+ """
16
+ > **⚠️ IMPORTANT DISCLAIMER:**
17
+ > This list is for informational purposes ONLY and is not a direct endorsement or recommendation.
18
+ > The information provided is based on publicly available data and is subject to change.
19
+ > **You must conduct your own research and verify all contact information directly with the hospital or clinic before making an appointment.**
20
+ > DiaSpark is not responsible for the accuracy of this third-party information.
21
+ """
22
+ )
23
+ gr.Markdown("---")
24
+
25
+ with gr.Accordion("Dr. V. Mohan - Chennai", open=True):
26
+ gr.Markdown(
27
+ """
28
+ * **🩺 Specialization:** Diabetologist
29
+ * **πŸ₯ Clinic/Hospital:** Dr. Mohan's Diabetes Specialities Centre
30
+ * **πŸ“ City:** Chennai
31
+ * **πŸ’‘ Notable For:** A world-renowned researcher and clinician, recipient of the Padma Shri. His centre is a WHO Collaborating Centre.
32
+ * **πŸ“ž Contact Info:** +91-44-4396-8888 (General Line - Please Verify)
33
+ * **🌐 Website:** [Dr. Mohan's Diabetes Specialities Centre](https://drmohans.com/)
34
+ """
35
+ )
36
+
37
+ with gr.Accordion("Dr. Ambrish Mithal - Delhi NCR", open=False):
38
+ gr.Markdown(
39
+ """
40
+ * **🩺 Specialization:** Endocrinology & Diabetes
41
+ * **πŸ₯ Clinic/Hospital:** Max Healthcare (Yashoda Super Speciality Hospital)
42
+ * **πŸ“ City:** Delhi / Gurugram
43
+ * **πŸ’‘ Notable For:** A highly awarded endocrinologist, recipient of the Padma Bhushan, with extensive experience in complex diabetic disorders.
44
+ * **πŸ“ž Contact Info:** +91-11-4055-4055 (Max Healthcare Helpline - Please Verify)
45
+ * **🌐 Website:** [Max Healthcare Official Site](https://www.maxhealthcare.in/)
46
+ """
47
+ )
48
+
49
+ with gr.Accordion("Dr. V. S. Sheshiah - Chennai", open=False):
50
+ gr.Markdown(
51
+ """
52
+ * **🩺 Specialization:** Diabetologist
53
+ * **πŸ₯ Clinic/Hospital:** Apollo Hospitals, Greams Road
54
+ * **πŸ“ City:** Chennai
55
+ * **πŸ’‘ Notable For:** A pioneer in diabetes care in India, especially renowned for his work on gestational diabetes.
56
+ * **πŸ“ž Contact Info:** +91-44-2829-3333 (Apollo Chennai General Line - Please Verify)
57
+ * **🌐 Website:** [Apollo Hospitals, Chennai](https://chennai.apollohospitals.com/)
58
+ """
59
+ )
60
+
61
+ with gr.Accordion("Dr. Anoop Misra - New Delhi", open=False):
62
+ gr.Markdown(
63
+ """
64
+ * **🩺 Specialization:** Internal Medicine & Diabetes
65
+ * **πŸ₯ Clinic/Hospital:** Fortis C-DOC Hospital for Diabetes
66
+ * **πŸ“ City:** New Delhi
67
+ * **πŸ’‘ Notable For:** Another Padma Shri awardee, known for extensive research on diabetes in the South Asian population. He is the Chairman at Fortis C-DOC.
68
+ * **πŸ“ž Contact Info:** +91-11-4910-1222 (Fortis C-DOC Appointment Line - Please Verify)
69
+ * **🌐 Website:** [Fortis C-DOC Website](https://www.fortiscdoc.com/)
70
+ """
71
+ )