Create doctors_info.py
Browse files- 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 |
+
)
|