Files
umed/web/scripts/hospitals_en_maps.py
2026-07-09 14:35:32 +08:00

208 lines
14 KiB
Python

# -*- coding: utf-8 -*-
"""English display strings for Featured Hospitals / Specialists pages."""
from __future__ import annotations
from pypinyin import Style, lazy_pinyin
DEPT_EN: dict[str, str] = {
"中医科": "Traditional Chinese Medicine",
"乳腺外科": "Breast Surgery",
"乳腺科": "Breast Department",
"乳腺肿瘤": "Breast Oncology",
"产科": "Obstetrics",
"产科(含医学遗传中心)团队": "Obstetrics (incl. Medical Genetics) Team",
"健康管理中心": "Health Management Center",
"儿内科": "Pediatric Internal Medicine",
"关节骨外科": "Joint & Orthopedic Surgery",
"变态反应科": "Allergy & Immunology",
"口腔修复科": "Prosthodontics",
"口腔正畸专科": "Orthodontics",
"口腔颌面外科": "Oral & Maxillofacial Surgery",
"呼吸内科": "Respiratory Medicine",
"呼吸病科": "Respiratory Diseases",
"器官移植": "Organ Transplantation",
"围产医学": "Perinatal Medicine",
"国医馆": "Traditional Medicine Center",
"外科介入医学": "Interventional Surgery",
"妇科": "Gynecology",
"妇科(含生殖健康与不孕症科)团队": "Gynecology (incl. Reproductive Health & Infertility) Team",
"小儿内科团队": "Pediatric Internal Medicine Team",
"小儿外科": "Pediatric Surgery",
"小儿外科(含新生儿外科、心脏中心)团队": "Pediatric Surgery (incl. Neonatal Surgery & Cardiac Center) Team",
"小儿眼病和眼遗传科": "Pediatric Ophthalmology & Ocular Genetics",
"广东省心血管病研究所(霍英东心脏中心)": "Guangdong Cardiovascular Institute (Hou Ying Dong Heart Center)",
"广东省神经科学研究所": "Guangdong Institute of Neuroscience",
"广东省肺癌研究所": "Guangdong Lung Cancer Institute",
"心外科": "Cardiac Surgery",
"心脏中心": "Heart Center",
"心脏血管学科群": "Cardiovascular Medicine Cluster",
"心脑血管": "Cardiovascular Medicine",
"心血管内科": "Cardiology",
"心血管内科 + 心血管外科": "Cardiology & Cardiac Surgery",
"心血管医学中心": "Cardiovascular Medicine Center",
"感染内科": "Infectious Diseases",
"感染病防治中心": "Infection Prevention & Treatment Center",
"抗衰老医学中心": "Anti-Aging Medicine Center",
"放射治疗科": "Radiation Oncology",
"整形外科": "Plastic Surgery",
"整形美容中心": "Plastic & Aesthetic Surgery Center",
"新生儿科团队": "Neonatology Team",
"普外中心": "General Surgery Center",
"普通外科": "General Surgery",
"普通外科-胃肠肛门外科": "General Surgery — Gastrointestinal & Colorectal Surgery",
"核药临床诊疗学科群": "Nuclear Medicine Clinical Cluster",
"治未病科": "Preventive Medicine",
"泌尿外科": "Urology",
"消化内科": "Gastroenterology",
"消化病学": "Digestive Diseases",
"消化科": "Digestive Medicine",
"消化系统疾病团队": "Digestive Diseases Team",
"牙体牙髓病专科": "Endodontics",
"牙槽外科": "Oral Surgery",
"生殖医学": "Reproductive Medicine",
"生殖医学中心": "Reproductive Medicine Center",
"甲状腺外科": "Thyroid Surgery",
"白内障科": "Cataract Department",
"皮肤科": "Dermatology",
"眼底病科": "Retinal Diseases",
"眼科急症与眼外伤科": "Ocular Emergency & Trauma",
"神经内科": "Neurology",
"神经医学": "Neurosciences",
"神经肿瘤外科+脑血管外科": "Neuro-Oncology & Cerebrovascular Surgery",
"耳鼻咽喉头颈外科": "Otorhinolaryngology (ENT)",
"肝病内科(感染性疾病科)": "Hepatology (Infectious Diseases)",
"肝癌": "Liver Cancer",
"肝胆外科": "Hepatobiliary Surgery",
"肥胖代谢外科与减重学科群": "Metabolic & Bariatric Surgery Cluster",
"肾内科": "Nephrology",
"肾科": "Kidney Medicine",
"肾脏病学": "Nephrology",
"肿瘤": "Oncology",
"肿瘤中心": "Cancer Center",
"肿瘤科": "Oncology Department",
"胸外科": "Thoracic Surgery",
"脊柱外科": "Spine Surgery",
"脑机接口相关学科群": "Brain-Computer Interface Cluster",
"血液内科(含造血干细胞移植治疗\n再生障碍性贫血、地中海贫血基因治疗、A 型血友病基因治\n疗、幼年型粒单核细胞白血病移植治疗、戈谢氏病基因治疗)": "Hematology (incl. HSCT & gene therapy programs)",
"运动医学与康复": "Sports Medicine & Rehabilitation",
"运动医学科": "Sports Medicine",
"重症医学科": "Critical Care Medicine",
"青光眼科": "Glaucoma Department",
"骨科": "Orthopedics",
"鼻咽癌防治中心": "Nasopharyngeal Carcinoma Center",
}
HOSPITAL_EN: dict[str, str] = {
"中山大学附属第一医院(越秀院区、南沙院区)": "The First Affiliated Hospital, Sun Yat-sen University (Yuexiu & Nansha)",
"广东省人民医院": "Guangdong Provincial People's Hospital",
"广东省妇幼保健院": "Guangdong Provincial Maternal and Child Health Hospital",
"中山大学孙逸仙纪念医院": "Sun Yat-sen Memorial Hospital, Sun Yat-sen University",
"中山大学附属第三医院": "The Third Affiliated Hospital, Sun Yat-sen University",
"中山大学中山眼科中心": "Zhongshan Ophthalmic Center, Sun Yat-sen University",
"中山大学肿瘤防治中心": "Sun Yat-sen University Cancer Center",
"中山大学附属口腔医院": "Hospital of Stomatology, Sun Yat-sen University",
"中山大学附属第六医院": "The Sixth Affiliated Hospital, Sun Yat-sen University",
"南方医科大学南方医院": "Nanfang Hospital, Southern Medical University",
"南方医科大学珠江医院": "Zhujiang Hospital of Southern Medical University",
"暨南大学附属第一医院": "The First Affiliated Hospital of Jinan University",
"广东省中医院": "Guangdong Provincial Hospital of Chinese Medicine",
"汕头大学医学院第一附属医院": "The First Affiliated Hospital of Shantou University Medical College",
"广州医科大学附属第一医院": "The First Affiliated Hospital of Guangzhou Medical University",
"广州市第一人民医院": "Guangzhou First People's Hospital",
"广州医科大学附属妇女儿童医疗中心": "Guangzhou Women and Children's Medical Center",
"深圳市人民医院": "Shenzhen People's Hospital",
"北京大学深圳医院": "Peking University Shenzhen Hospital",
"香港大学深圳医院": "The University of Hong Kong-Shenzhen Hospital",
"南方医科大学深圳医院": "Shenzhen Hospital, Southern Medical University",
"中山大学附属第五医院": "The Fifth Affiliated Hospital, Sun Yat-sen University",
"珠海市人民医院": "Zhuhai People's Hospital",
"广东祈福医院": "Guangdong Clifford Hospital",
"佛山复星禅诚医院": "Fosun Chan Cheng Hospital (Foshan)",
"中南大学湘雅二医院": "The Second Xiangya Hospital of Central South University",
}
CERT_EN: dict[str, str] = {
"首批参加中国国际版医院标准评审认证的医院之一": "Among the first hospitals accredited under China's International Hospital Standard.",
"2018年获得JCI国际认证": "JCI accredited since 2018.",
"曾通过澳洲ACHS认证,牵头制定中国国际版医院标准": "ACHS accredited; led development of China's International Hospital Standard.",
"2018年通过JCI认证,是华南地区首批通过JCI认证的医院之一": "JCI accredited since 2018; among the first in South China.",
"2003年通过JCI认证,是华南地区首批通过JCI认证的医院之一": "JCI accredited since 2003; among the first in South China.",
"2003年通过JCI认证,是华南地区首批通过JCI认证的医院之一,2026年通过国际医院评审认证标准(中国版)评审认证": "JCI accredited since 2003; re-certified under the China edition of the International Hospital Standard in 2026.",
" 首批参加中国国际版医院标准评审认证的医院之一": "Among the first hospitals accredited under China's International Hospital Standard.",
"2003年通过JCI认证,并连续七次通过JCI认证;2026年通过国际医院评审认证标准(中国)认证": "JCI accredited since 2003 with seven consecutive renewals; certified under the China edition of the International Hospital Standard in 2026.",
"首批参加中国国际版医院标准评审认证的医院之一": "Among the first hospitals accredited under China's International Hospital Standard.",
"湘雅国际医疗部于2016年通过JCI认证": "The Xiangya International Medical Department received JCI accreditation in 2016.",
}
def cert_en(cert: str) -> str:
c = cert.strip()
return CERT_EN.get(c, "Internationally accredited hospital credentials available upon request.")
INTRO_EN: dict[str, str] = {
"中山大学附属第一医院(越秀院区、南沙院区)": "Founded in 1910, the First Affiliated Hospital of Sun Yat-sen University is a leading Grade 3A comprehensive hospital recognized nationally and internationally for modern clinical care.",
"广东省人民医院": "Established in 1946, Guangdong Provincial People's Hospital is one of South China's largest Grade 3A hospitals, renowned for cardiovascular care and consistently ranked among the nation's top public hospitals.",
"广东省妇幼保健院": "Founded in 1944, this Grade 3A maternal and child health hospital ranks among China's top provincial women's and children's hospitals and serves as Guangdong's clinical guidance center.",
"中山大学孙逸仙纪念医院": "Founded in 1835, Sun Yat-sen Memorial Hospital is a national Grade 3A comprehensive hospital under the National Health Commission.",
"中山大学附属第三医院": "Founded in 1971, the Third Affiliated Hospital has grown into a modern Grade 3A hospital integrating care, teaching, research, prevention, and rehabilitation.",
"中山大学中山眼科中心": "Originating in 1835, Zhongshan Ophthalmic Center is China's only national ophthalmic specialty hospital and WHO Collaborating Centre for eye health.",
"中山大学肿瘤防治中心": "Founded in 1964, SYSUCC is a national Grade 3A cancer center and a leading NPC and solid-tumor treatment hub in South China.",
"中山大学附属口腔医院": "Tracing its roots to 1908, the hospital is a national specialty stomatology center and top-ranked oral hospital in China.",
"中山大学附属第六医院": "A Grade 3A comprehensive hospital with national A+ performance ratings and leadership in gastroenterology and colorectal surgery.",
"南方医科大学南方医院": "Founded in 1941, Nanfang Hospital is a large Grade 3A teaching hospital with strengths in nephrology, gastroenterology, and trauma care.",
"南方医科大学珠江医院": "Founded in 1947, Zhujiang Hospital is a Grade 3A comprehensive hospital and a designated international medical service institution in Guangdong.",
"暨南大学附属第一医院": "Established in 1978, this Grade 3A hospital is a high-level construction unit in Guangdong's provincial hospital excellence program.",
"广东省中医院": "Founded in 1926, it is one of China's largest TCM hospitals and a national pilot for modern TCM hospital management.",
"汕头大学医学院第一附属医院": "Founded in 1989, this Grade 3A hospital is a provincial pediatric hemophilia treatment center and regional referral hub.",
"广州医科大学附属第一医院": "Founded in 1903, it is a Grade 3A hospital affiliated with Guangzhou Institute of Respiratory Health and a leader in respiratory medicine.",
"广州市第一人民医院": "Founded in 1899, the hospital is advancing integrated diagnosis and treatment for hematologic malignancies and related disorders.",
"广州医科大学附属妇女儿童医疗中心": "A leading women and children's specialty center; in May 2026 it became a national children's medical center with top national rankings.",
"深圳市人民医院": "Founded in 1946, Shenzhen People's Hospital is a historic Grade 3A comprehensive hospital with strong clinical research capacity.",
"北京大学深圳医院": "Founded in 1999, this modern Grade 3A public hospital has earned A+ ratings in national public hospital performance assessments.",
"香港大学深圳医院": "Opened in 2012, HKU-Shenzhen Hospital delivers comprehensive care through the University of Hong Kong management model.",
"南方医科大学深圳医院": "Established in 2015, this university-affiliated hospital in the Qianhai Free Trade Zone serves international patients with full English support.",
"中山大学附属第五医院": "Affiliated with Sun Yat-sen University since 2001, the Fifth Affiliated Hospital is Zhuhai's only hospital licensed for liver, kidney, and lung transplantation.",
"珠海市人民医院": "Founded in 1950, Zhuhai People's Hospital is the city's leading Grade 3A public hospital with A+ national performance ratings.",
"广东祈福医院": "A pioneering integrated TCM-Western medicine hospital; among the first in mainland China to achieve JCI accreditation (2003).",
"佛山复星禅诚医院": "Founded in 1958, Fosun Chan Cheng Hospital is a leading private Grade 3A hospital and eight-time top-ranked non-public hospital in China.",
"中南大学湘雅二医院": "Tracing its roots to 1906, the Second Xiangya Hospital of Central South University is a Grade 3A comprehensive hospital in Changsha, Hunan, directly administered by the National Health Commission and affiliated with Central South University.",
}
# 姓氏特殊读音(区作姓氏读 Ou,非 Qu)
NAME_EN_OVERRIDE: dict[str, str] = {
"区俊文": "Ou Jun Wen",
"张志光": "Zhang Zhi Guang",
"周智广": "Zhou Zhi Guang",
"李霞": "Li Xia",
}
def name_to_pinyin(chinese_name: str) -> str:
if chinese_name in NAME_EN_OVERRIDE:
return NAME_EN_OVERRIDE[chinese_name]
syllables = lazy_pinyin(chinese_name, style=Style.NORMAL)
return " ".join(s.capitalize() for s in syllables)
def dept_en(zh: str) -> str:
if not zh:
return ""
return DEPT_EN.get(zh.strip(), zh)
def hospital_name_en(zh: str) -> str:
return HOSPITAL_EN.get(zh, zh)
def hospital_intro_en(zh: str, cert: str | None) -> str:
intro = INTRO_EN.get(zh, "")
if cert:
cert_line = cert_en(cert)
intro = f"{intro}\n\n{cert_line}" if intro else cert_line
return intro.strip()
def expert_label_en(dept_zh: str, name_en: str) -> str:
d = dept_en(dept_zh)
return f"{d} — {name_en}" if d else name_en