Introduction
Related Work
Materials and Methods
Datasets and Preprocessing
Gold-standard UMLS annotation
NER Methods and Training
Entity linking pipeline
Results
Extracting Entities from n2c2 Datasets (NER)
Token Inflation Analysis
Entity linking performance
Discussion
Conclusion and future work
Introduction
The sustainability of modern urban healthcare systems depends not only on resilient physical infrastructure and healthcare resources but also on the intelligent management of the vast volumes of clinical data generated through Electronic Health Records (EHRs). As smart cities continue to evolve, Artificial Intelligence (AI)-enabled clinical information systems have become essential components of sustainable healthcare infrastructure, supporting efficient healthcare delivery, data-driven decision-making, and long-term urban health resilience. Recent advances in machine learning, federated learning, and Natural Language Processing (NLP) have significantly enhanced clinical data analytics, enabling improved disease diagnosis, healthcare resource optimization, and medical knowledge management [1, 2, 3]. Similarly, transfer learning and hybrid convolutional neural networks (CNNs) have demonstrated remarkable performance in medical image analysis, including MRI-based brain tumor detection and basil disease classification, highlighting the growing role of AI in sustainable digital healthcare ecosystems [4, 5]. Despite these advances, the reliable extraction and standardization of clinical information from unstructured medical records remain major challenges for interoperable and trustworthy healthcare systems. This study addresses this gap by developing a robust framework for clinical Named Entity Recognition (NER) and Entity Linking (EL), providing reproducible benchmarks that support the sustainable adoption of trustworthy AI in urban health information ecosystems. The proposed approach contributes to intelligent healthcare infrastructure by improving clinical knowledge management, interoperability, and evidence-based decision-making, thereby strengthening sustainable urban healthcare services and supporting the digital transformation of smart and resilient cities.
Clinical Named Entity Recognition (NER) is a specialized area of NLP dedicated to the identification and classification of entities (symptoms, diseases, and treatments) in medical texts. It supports applications such as clinical decision support, knowledge base creation, and information retrieval in healthcare [6, 7]. These entities must be associated with vocabularies such as UMLS (Unified Medical Language System) to guarantee coherence, compatibility and consistency across diverse systems of healthcare. This procedure is referred to as Entity Linking (EL) wherein identified entities are associated with established entities in a knowledge base facilitating systematic analysis and interoperability among systems. [8, 9].
With evolution of NLP trends, Clinical NER has developed from the rule-based systems and conditional random fields (CRF) [10, 11] through recurrent neural networks (RNN) [12, 13] to transformer-based architectures. A transformative change has arrived with the launch of Bidirectional Encoder Representations from Transformers (BERT) [14] and versions—BioBERT [15], ClinicalBERT [16], PubMedBERT [17], and SciBERT [18]— with models presenting novel execution on clinical NER standards. Furthermore, EL has progressed from dictionary-based literal match to refined neural embedding techniques, with latest models like SapBERT [19, 20] and BioSyn utilizing contrastive learning to identify semantic similarities between different medical terminologies. Significant evaluation gaps that affect the reliability and comparability of presented outcomes have been found by current methodological analyses [21, 22, 23, 24, 25]. Figure 1 maps the overall process of entity extraction and linking to demonstrate the following core contributions of this study:
•This study performs rigorous NER and entity linking on two clinical datasets: n2c2_2010 [26] with 3 entity types (Problem, Treatment, Test) and n2c2_ 2018 [29] with 9 medication attributes (Drug, Reason, ADE, Strength, Form, Dosage, Frequency, Route, Duration).
•We systematically compare six transformer models representing different pre-training strategies: four established baselines (BioBERT, PubMedBERT, ClinicalBERT, SciBERT) and two architectural enhancements (Multi-Task learning with type-specific heads, Character-CNN integration).
•Our evaluation framework implements span-aligned preprocessing preserving perfect alignment with gold annotations, statistical validation across three random seeds with 95% confidence intervals, and the first gold-standard UMLS linking benchmark for these datasets comprising 300 manually validated annotations.
•Our analysis reveals that domain-specific pre- training provides substantially greater performance gains than architectural modifications, with both datasets converging on identical optimal entity linking thresholds despite significant performance differences driven by entity type complexity rather than threshold selection.
The remainder of this paper is organized as follows: Section 2 reviews related work in clinical NER and entity linking, establishing the six critical evaluation gaps motivating our contributions. Section 3 describes datasets, preprocessing approach, gold-standard annotation protocol and algorithms for NER and entity linking tasks. Section 4 presents results for both NER and entity linking tasks. Section 5 discusses key findings and acknowledges limitations. Section 6 concludes with contributions and future work.
Related Work
Initially rule-based methods and CRFs [13, 14, 24] have been used in clinical NER. Bidirectional Long Short-Term Memory Conditional Random Field (LSTM-CRFs) advanced performance [23, 24], with transformer models (BERT, BioBERT, ClinicalBERT) achieving state-of-art results [25, 26, 27, 28, 29, 30]. Recent approaches explore multi-task learning [27], character- aware architectures [28], and attention mechanisms [29, 30]. Entity linking evolved from dictionary matching to neural embeddings [20, 31, 32]. Biomedical models like SapBERT [33] and BioSyn [32] show promise, but most clinical NLP studies on i2b2/n2c2 datasets [34] perform NER without validated entity linking [20, 22, 35].
Following six critical gaps motivate our work:
1.Inflation of token-level micro-F1 results by 5-10% via O-tag dominance [15, 16], thereby passing boundary errors.
2.Alignment breaking with gold annotations by rigorous preprocessing, thereby prevents valid span evaluation [17, 18].
3.Authentic enhancements may be prevented by single-run results (std 1-3%) from random variation [19, 36].
4.Lack of expert validated standards in clinical entity linking, thereby describes only the percentage of entities matched without validation [20, 21, 22].
5.Violation of entity validity with the confusion of Concept Unique Identifiers (CUI)/ SNOMED CT Identifier.
6.Lack of data centric validation by fixing fixed thresholds values of entity linking [21, 31, 37].
Materials and Methods
Datasets and Preprocessing
We evaluate on two complementary clinical note benchmarks from the i2b2/n2c2 shared tasks [34], representing different levels of entity complexity as shown in Table 1. The n2c2_2010 dataset in Table 1 used combined 80-10-10 split (Train: 35,144, Val: 4,393, Test: 4,394 lines) due to limited training data in official split. The n2c2_2018 dataset maintained official splits from the shared task.
Table 1.
Summary of i2b2/n2c2 datasets
Preprocessing: Our preprocessing approach follows a critical design principle: preserve perfect alignment with gold standard annotations to enable valid span-level evaluation. We perform line-level tokenization with whitespace splitting, no text modification (no lowercasing, no character removal), padding/ truncation to 128 tokens, BERT special tokens ([CLS], [SEP]), and BIO encoding (B-{TYPE}, I-{TYPE}, O). No data augmentation applied. This alignment- preserving approach addresses gap 2 from Section 2.
Gold-standard UMLS annotation
We constitute the entity linking standard for i2b2/ n2c2 clinical notes by creating UMLS Knowledge Base: 1,282,556 CUIs from MRCONSO.RRF (2024 AA) [38] encoded with SapBERT [33], indexed via Facebook AI Similarity Search (FAISS) for effective search. Following are the steps of annotation Protocol (300 entities total):
1. Stratified Sampling:
•n2c2_2010: 150 entities (50 Problem, 50 Treatment, 50 Test)
•n2c2_2018: 150 entities (50 Drug, 50 Reason, 50 ADE)
2. Candidate Generation:
•For each entity mention, FAISS retrieves top-5 UMLS candidates ranked by semantic similarity
•Candidates presented with similarity scores and preferred terms
3. Train/Test Split:
•60% validation (90 entities): For threshold optimization
•40% test (56 entities for n2c2_2010, 60 for n2c2_2018): For final evaluation
NER Methods and Training
We compare following six transformer-based models representing different pre-training strategies and architectural enhancements:
1.Baselines Models: (1) BioBERT [25], (2) PubMedBERT, (3) ClinicalBERT [9], (4) SciBERT [26]—representing different pre-training strategies.
2.Architectural Enhancements to BioBERT: We evaluate two architectural enhancements that adapt established techniques to clinical NER:
(a) Multi-Task BioBERT with type-specific classification heads and inverse frequency weighting as stated in eq 1:
(b) CharCNN-BioBERT integrating character-level features via parallel CNNs (kernel sizes 3-5), concatenating 768-dim word features with 250-dim character features.
3.Training Configuration: To ensure fair comparison, all models use identical training configurations addressing gap 3: Three random seeds (42, 123, 456), AdamW optimizer (lr=2e-5), batch size 32, 3 epochs.
4.Evaluation: Span-strict F1 (primary), token-level and span-relaxed (secondary), 95% bootstrap CIs (1000 iterations).
Algorithm 1 shows the NER process.
Algorithm 1.
Named Entity Recognition with Statistical Validation
Entity linking pipeline
Our entity linking pipeline uses bi-encoder architecture with data-driven threshold optimization. Bi- encoder architecture with data-driven threshold tuning (addresses gap 6 from section 2):
1.Encoding: Clinical entity mention → SapBERT encoder [23, 24] → CLS token representation → L2 normalization → 768-dimensional embedding.
2.Candidate Retrieval: FAISS approximate nearest neighbor search on 1,282,556 UMLS CUI embeddings → top 50 candidates ranked by cosine similarity.2. FAISS retrieval: top-K candidates from 1.28M UMLS concepts.
3.Benchmark Construction: We constructed a manually validated gold-standard UMLS benchmark through stratified sampling from the complete i2b2 2010 and n2c2 2018 test set predictions generated during candidate retrieval. The benchmark provides 300 human-verified entity-to-UMLS mappings partitioned into validation and test splits for threshold calibration and final evaluation respectively. Table 2 presents the stratification and statistical validation of the gold-standard UMLS benchmark constructed for both datasets.
4.Threshold optimization: (addresses gap 6): Validation set (60% of gold standard): Test θ ∈ {0.50, 0.52, 0.54, ..., 0.92, 0.94} (23 values, step 0.02). Select θ* = argmax F1 on validation set. Test set (40% of gold standard): Apply θ* for final evaluation. Generate Precision-Recall curves across all thresholds.
5.Linking Decision: Link entity to top-ranked CUI if similarity ≥ θ*, otherwise predict null (no suitable match).
6.Evaluation Metrics: We report comprehensive metrics for entity linking performance:
a)Ranking Metrics: Acc@1: Correct CUI in top-1 position. Acc@5: Correct CUI in top-5 positions. Acc@10: Correct CUI in top-10 positions. Mean Reciprocal Rank (MRR): Average of 1/rank across test entities.
b)Classification Metrics (at optimal threshold θ*): Precision: Fraction of predicted links that are correct. Recall: Fraction of gold entities successfully linked. F1: Harmonic mean of precision and recall.
c)Per-type Analysis: Separate metrics for each entity type to identify type-specific challenges.
Algorithm 2 shows the entity linking process.
Algorithm 2.
Entity Linking with Threshold Optimization
As shown in Table 2, for both the datasets, 150 entities were annotated proportionally across all entity types. For n2c2 2018, annotation was restricted to Drug, ADE, and Reason — the three entity types with direct UMLS concept mappings relevant to clinical pharmacovigilance. Statistical power analysis yields 95% confidence intervals of [70.4%, 90.4%] for i2b2 2010 and [58.4%, 81.6%] for n2c2 2018, confirming reliable metric estimation within the pilot benchmark scope, with all 300 annotations released publicly to support community extension.
Table 2.
Stratification and statistical validation gold-standard UMLS benchmark
Results
This section delineates our experimental results (performed on Google Colabpro server) elucidates the experimental setting and presents a comprehensive examination of the results. All the datasets have been divided into train and test datasets for model evaluation.
Extracting Entities from n2c2 Datasets (NER)
The results of NER performance using span-strict F1 as the fundamental metric are shown in Table 3. The highest performance is measured by PubMed BERT with SciBERT close to second. Also it is observed from Table 3, that pre-training > architecture for clinical NER as indicated by marginal advantages by architectural changes: Multi-Task (+0.1% on 2018, -0.3% on 2010), CharCNN (-0.1% to –0.5%). Table 4 and 5 are demonstrating per entity NER scores for both the datasets. From Table 4, Problem entities achieve highest F1 scores (88-90%) across all models due to high frequency and clear semantic boundaries in clinical text. Treatment entities show strong performance (87-89%), Test entities are most challenging (85-87%), reflecting greater variability in laboratory test names, abbreviations, and measurement descriptions. As shown in Table 5, Drug entities achieve highest F1 (90-91%), reflecting standardized medication nomenclature. Form and Strength attributes show strong performance (90- 95%), as these are typically expressed in consistent formats. Route entities perform well (94-95%) due to limited vocabulary (oral, IV, topical, etc.).
Table 3.
NER performance (span-strict F1)
Table 4.
Per-Entity-Type NER Performance — n2c2 2010
Table 5.
Per-Entity-Type NER Performance — n2c2 2018
Statistical Validation: Average std 0.35% (vs 1-3% prior work [14, 37]) confirms model stability. Narrow 95% CIs (±0.5-0.8%) enable valid comparisons: differences >1.5% are statistically significant (p<0.05).
Token Inflation Analysis
Our span-aligned preprocessing eliminates token inflation (addresses gap 1 from section 2). Average token-span gap: 0.05% (vs expected 5-10% [10, 13, 18]):
-BioBERT: Token=87.6%, Span=87.5%, Gap=0.04%
-PubMedBERT: Token=88.3%, Span=88.2%, Gap=0.09%
-ClinicalBERT: Token=87.3%, Span=87.3%, Gap=0.03%
This validates our preprocessing methodology: proper alignment eliminates inflation.
Figure 2 shows the comprehensive NER Process on n2c2_2010 dataset representing the overall span-strict F1 performance of all six models, also displays the 95% confidence intervals derived from three-seed evaluation for each model, model stability through standard deviation across seeds, confirming that CharCNN-BioBERT and SciBERT are the most consistent models. It also presents the Precision-Recall trade-off curves for all models under span-strict evaluation, demonstrates the token-level versus span- strict metric comparison and quantify the token metric inflation effect, revealing a systematic gap of 6.0–7.9 percentage points between relaxed and span-strict F1 across all models.
Figure 3 shows the comprehensive NER Process on n2c2_2018 dataset presenting the overall span-strict F1 performance across all six models on the nine- entity n2c2 2018 medication extraction task. It displays the 95% confidence intervals for all models, showing notably tighter intervals on n2c2 2018 compared to i2b2 2010. It illustrates model stability across seeds, revealing that CharCNN-BioBERT achieves the most consistent performance (std=0.001), shows the Precision-Recall trade-off for each model, demonstrating that ADE entities systematically fall in the low-precision, low-recall quadrant across all architectures. Token-level versus span-strict metric comparison is also quantified showing a consistent inflation gap of 4.8–5.8 percentage points across all models — slightly smaller than on i2b2 2010 but still substantial.
Entity linking performance
Table 6 shows entity linking results on gold- standard annotations (addresses gap 4 from section 2). As shown in Table 6, perfect recall (100%) on n2c2_2010 and Acc@5 (100% for n2c2_2010, 76% for n2c2_2018) indicate correct CUIs are consistently among top candidates, validating SapBERT’s semantic matching capability. From Table 7, Test and treatment entities achieve highest linking performance (92.9.0%), (89.7.0%) despite variations in medication and procedure descriptions. Problem entities are most challenging (86.4.0%), reflecting diverse laboratory test nomenclature and abbreviations that may not have direct UMLS mappings. ADE entities achieve excellent linking performance (92.9.0%), leveraging standardized medication terminology and extensive UMLS coverage. The higher optimal threshold (θ*=0.76) for n2c2_2018 reflects the need for stricter matching criteria when distinguishing fine-grained medication attributes.
Table 6.
Entity linking performance
| Datasets | n2c2_2010 | n2c2_2018 |
| n_test | 56 | 60 |
| θ* | 0.5 | 0.5 |
| Acc@1 | 0.804 | 0.7 |
| Acc@5 | 1 | 0.767 |
| Acc@10 | 1 | 0.833 |
| MRR | 0.865 | 0.753 |
| Precision | 0.804 | 0.7 |
| Recall | 1 | 1 |
| F1 | 0.891 | 0.824 |
Table 7.
Per-Entity-Type Linking Performance
Figure 4 shows a comprehensive entity linking process on both the datasets. It presents the overall entity linking Acc@1 performance on both datasets, illustrates per-entity-type linking performance, revealing substantial variation across entity types. Also presents the candidate ranking performance through Acc@1, Acc@5, and Acc@10 metrics on both datasets, demonstrating that i2b2_2010 achieves perfect Acc@5 (100.0%) while n2c2_2018 reaches 76.7%. Both datasets converge on θ*=0.50 (addresses gap 6), nullifying fixed 0.85 thresholds [21, 35].
Discussion
The key findings of this study can be summarized as: first is, our span-aligned preprocessing eliminates token inflation (0.05% gap vs 5-10% [15, 18]), addressing gap 1 from section 2. Statistical stability (avg std 0.35%) enables valid comparisons, addressing gap 3. Gold-standard UMLS annotations (300 entities) enable threshold optimization, addressing gaps 4 and 6 from section 2. Second is, domain-specific pre-training (PubMedBERT 88.2%, SciBERT 88.1%) outperforms architectural modifications (Multi-Task +0.1%, Char CNN -0.3%). BioBERT’s WordPiece and clinical pre- training capture morphological and type-specific patterns, rendering architectural enhancements redundant. Third is threshold consistency that means both datasets converge on θ*=0.50 despite performance differences (80.4% vs 70.0% Acc@1) driven by entity complexity (3 broad types vs 9 fine-grained attributes), not threshold variation. This outcome shows requirement of data-oriented tuning by invalidating the exact value of thresholds as 0.85 in entity linking [21, 31]. Fourth is cross-dataset generalization, the highest performance is maintained by PubMedBERT across datasets. Fifth is practical implications. Practitioners should prioritize clinical pre-training over architectural complexity. Bi-encoder entity linking (Acc@5: 100%/77%) enables efficient cross-encoder reranking for 5-10% Acc@1 improvement.
Compared to previous studies, the results of span- strict evaluation lie in line with the latest standards [11, 12, 39] using a stringent analysis. Higher scores are reported in studies that use token-level evaluation [40], which is consistent with findings about token inflation. Strong bi-encoder baselines with reranking potential are represented by entity linking performance. Table 8 and 9 shows the comparison of previous work in clinical NER and entity linking.
Table 8.
Summary of previous studies and current approach (NER process)
| Ref | Method/Study | Datasets | NER F1 |
| [41] | NEAR: joint NER + polarity/modality tagging via BiLSTM n-CRF variants | n2b2 2010/VA, n2b2 2012 |
n2c2 2010-0.90 n2c2 2012-0.80 |
| [42] | Active learning with UMLS feature matching (SSM) | ShARe/CLEF 2013, n2b2/VA 2010 | n2c2 2010-0.87 |
| [43] | Multi-task BERT adaptation (MT-NER) for medications + ADE | n2c2 2018/2009, n2c2 2010/2012, ShAReCLEF 2013 |
n2c2 2010-88.42 n2c2 2012-87.54 n2c2 2018-90.10 |
| [44] |
Spark NLP BiLSTM-CNN-Char at scale; beats AWS/GCP |
n2b2 2010/VA, n2c2 2014/2018, 8 biomedical benchmarks |
n2c2 2010-0.87 n2c2 2018-0.89 |
| [45] | TransformerCRF trained from scratch vs fine-tuned LLMs | n2c2 2018 | n2c2 2018-93.59 |
| [Our work] | (BioBERT, PubMedBERT, ClinicalBERT, SciBERT) and two architectural enhancements | n2c2 2010, n2c2 2018 |
88.2%, 87.3% Span-strict + 95% CI (3 seeds) |
Table 9.
Summary of previous studies and current approach (Entity linking process)
| Ref | Method/Study | Datasets | Accuracy | Evaluation Metric |
| [21] | B-LBConA | NCBI Disease, ADR, ShARe/CLEF |
93.57 94.72 94.23 | Accuracy (%) — official test / refined (zero-shot) test |
| [46] | Prompt-BioEL (cross-entity interaction) | NCBI Disease , BC5CDR, COMETA |
91.5 /95.7 93.0 /96.7 83.3 /92.4 | Acc@1/ Acc@5 |
| [47] | kNN-BioEL | NCBI Disease , BC5CDR, COMETA,AAP |
92.8/ 96.1 93.7/ 96.2 85.7/ 92.3 90.3/ 95.3 | Acc@1/ Acc@5 |
| [48] | MEDTYPE | NCBI, Bio CDR, shARE, MedMentions |
97.2/ 45.0 97.3/ 50.7 95.1/ 28.5 87.3/ 41.3 | Type pred. AUC † / EL Exact F1 (ScispaCy + MEDTYPE) * |
| [Our work] | SapBERT + FAISS + |
n2c2 2010, n2c2 2018 Gold-standard (300 manually validated) |
80.4/70.0 1/0.76 1/0.83 |
Acc@1/Acc@5/ Acc@10 Threshold optimization (Data-driven θ*=0.50) |
As shown in Table 8, the proposed span-strict evaluation with three-seed statistical validation achieves competitive performance on n2c2 datasets comparable to recent transformer-based methods [41, 42, 43, 44, 45] while providing greater reproducibility through rigorous confidence interval reporting.
According to our research, this study demonstrates the first gold-standard UMLS benchmark with 300 manually validated annotations for clinical entity linking for n2c2 datasets, achieving good performance as indicated from Table 9, advancing beyond dictionary- based and retrieval-enhanced approaches reported in [46, 47, 48]. Architectural enhancements have been continued explored in recent studies [50, 51, 53, 54, 56, 57, 58]. The findings remain consistent: domain-specific pre- training (BioBERT, ClinicalBERT) provides greater benefit than architectural modifications or hybrid LLM approaches [56]. Our work provides a rigorous evaluation framework that enables these emerging approaches to be properly validated on standardized benchmarks. However, this study has some limitations. In this study, the manual generated only 56/60 entities in gold standard dataset. A more fine-grained analysis can be enabled with larger samples. Although bi-encoder outputs represent efficient basslines, Acc@1 can be improved by 5-10% by cross encoder at the expense of computational overhead.
For deployment within real-time EHR processing pipelines in smart urban healthcare environments [49, 52, 55, 59, 60, 61], computational efficiency is a critical consideration alongside accuracy. Among the six architectures evaluated, CharCNN-BioBERT offers the most favorable latency profile due to its lightweight character- level encoding, while PubMedBERT despite achieving the highest accuracy requires approximately 2–4× greater inference time due to its larger parameter count. For the entity linking component, the SapBERT- FAISS pipeline achieves sub-second candidate retrieval through approximate nearest-neighbor indexing, making it suitable for near-real-time clinical coding assistance. For resource-constrained smart hospital deployments, PubMedBERT can be utilized for batch processing scenarios and lighter BERT variants for latency-sensitive real-time applications.
Further research can be generalized on other medical datasets. The evaluation framework proposed in this work is designed to be dataset-agnostic and generalizable to any biomedical NER and entity linking benchmark. The span-strict metric can be applicable to other datasets like BC5CDR, NCBI Disease, MedMentions and ShARe/CLEF 2013 as it requires only gold span boundaries and predicted span boundaries as inputs, with no dataset-specific assumptions. The three- seed statistical validation protocol is similarly universal and can be applied to any NER or EL evaluation with minimal implementation effort.
However, two dataset-specific factors may affect generalization. First, UMLS concept density varies significantly across biomedical sub domains — medication entities in n2c2 2018 have denser UMLS coverage than general clinical concepts in i2b2 2010, which may shift optimal threshold values on datasets from other sub domains such as genomics or radiology. Second, datasets from non-English clinical text may require language-specific SapBERT variants and separate threshold calibratio.
Conclusion and future work
This study presents a comprehensive and reproducible framework for clinical entity extraction through span-aligned pre-processing, three-seed statistical validation, and the first gold-standard UMLS benchmark for the i2b2 2010 and n2c2 2018 clinical datasets. The proposed framework achieves span-strict NER F1- scores of 88.2% and 87.3%, while entity linking attains Acc@1 scores of 80.4% and 70.0%, demonstrating that domain-specific pre-trained transformer models provide greater performance gains than architectural modifications alone. By addressing methodological limitations in previous studies through rigorous evaluation, statistical validation, and standardized benchmarking, the proposed approach establishes a reliable foundation for trustworthy clinical natural language processing. Beyond methodological improvements, this work contributes to the sustainable digital transformation of urban healthcare systems by enabling accurate clinical knowledge extraction, standardized health data integration, and AI-assisted clinical decision support. These capabilities facilitate efficient healthcare information management, improve interoperability among digital health platforms, and support evidence-based planning for resilient and sustainable healthcare services within smart cities. The proposed evaluation framework also promotes transparent, reproducible, and responsible AI adoption, thereby strengthening the long-term sustainability of urban healthcare infrastructure. Future research will focus on incorporating cross-encoder re-ranking strategies for entity linking, extending the framework to multilingual clinical text and diverse healthcare datasets, and integrating explainable and federated AI approaches to enhance data privacy, interoperability, and scalable deployment. These advancements will further support intelligent healthcare infrastructure, sustainable urban health informatics, and resilient digital ecosystems for next-generation smart and sustainable cities.






