\documentclass[varwidth=598pt]{standalone}

\usepackage{booktabs} % professional-quality tables
\usepackage{multirow} % multi-row cells in tables
\usepackage{colortbl} % color for tables (\cellcolor, \rowcolor)
\usepackage[table]{xcolor} % enhanced colors for tables
\usepackage{array} % more flexible column formats (often used)
\usepackage{tabularx} % for tables with auto-stretch columns (if used)
\usepackage{graphicx} % for images in tables or figure/table floats
\usepackage{amssymb} % math symbols
\usepackage{amsmath} % math environments
\usepackage{soul} % highlighting (used for colored text/cells)
\usepackage[normalem]{ulem} % underlining, strikethroughs
\usepackage[T1]{fontenc} % font encoding
\usepackage[utf8]{inputenc}% input encoding (legacy, fine for pdflatex)
\usepackage{microtype} % better text appearance
\usepackage{hyperref} % hyperlinks
\usepackage{textcomp} % for extra symbols
\usepackage{enumitem} % for compact lists (if used in table notes)
\usepackage{adjustbox}
\usepackage{tabu}
\usepackage{pifont} % http://ctan.org/pkg/pifont
\usepackage{bbding} % \XSolidBrush
\usepackage{makecell}

\begingroup
\makeatletter
\renewcommand{\fnum@table}{}%
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
\centering #2\par
\vskip\belowcaptionskip
}
\makeatother

\begin{document}
\begin{table}
\centering
\begin{adjustbox}{max width=\textwidth}
\begin{tabular}{rcl}
\multicolumn{3}{c}{{\color[HTML]{000000} \Large \textsc{Close-ended}}} \\ \hline
{\color[HTML]{000000} \textbf{\large \textsc{Tasks}}} & {\color[HTML]{000000} \textbf{\large \textsc{Metrics}}} & {\color[HTML]{000000} \textbf{\large \textsc{Datasets}}} \\ \hline
\rowcolor[HTML]{EFEFD2}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Multiple choice\\ questions\end{tabular}}} & {\color[HTML]{656565} Accuracy} & {\color[HTML]{656565} \begin{tabular}[c]{@{}l@{}}· MedMCQA (Ankit Pal et al. 2022) \hspace{30pt} · PubMedQA (Qiao Jin et al. 2019) \\ · MedQA (Di Jin et al. 2020b) \hspace{41pt} · MMLU (Dan Hendrycks et al. 2020) \\ · \href{https://huggingface.co/datasets/HPAI-BSC/CareQA}{CareQA-Close} \end{tabular}} \\
\rowcolor[HTML]{E3EFD6}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Prescriptions \\ writing \end{tabular}}} & {\color[HTML]{656565} "} & {\color[HTML]{656565} · \href{https://huggingface.co/datasets/devlocalhost/prescription-full}{Prescription} } \\

\rowcolor[HTML]{C8E9D9}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Medical text\\ classification\end{tabular}}} & {\color[HTML]{656565} "} & {\color[HTML]{656565} \begin{tabular}[c]{@{}l@{}}· \href{https://www.kaggle.com/datasets/chaitanyakck/medical-text/data}{Medical Text for classification} (Schopf et al., 2023)\\ · \href{https://www.kaggle.com/datasets/tboyle10/medicaltranscriptions}{Medical Transcriptions}\end{tabular}} \\

\rowcolor[HTML]{CDEBEB}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Relation\\ extraction\end{tabular}}} & {\color[HTML]{656565} Prometheus, Perplexity} & {\color[HTML]{656565} · \href{https://huggingface.co/datasets/YufeiHFUT/BioRED_all_info}{BioRED} (Luo et al., 2022)} \\

\\ \hline
\multicolumn{3}{l}{} \\
\multicolumn{3}{c}{{\color[HTML]{000000} \Large \textsc{Open-ended}}} \\ \hline

\rowcolor[HTML]{C7DBE9}

{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Open-ended\\ medical questions\end{tabular}}} & {\color[HTML]{656565} \normalsize \begin{tabular}[c]{@{}c@{}}BLEU, BLEURT, ROUGE,\\ BERTScore, MoverScore,\\ Prometheus, Perplexity\end{tabular}} & {\color[HTML]{656565} \begin{tabular}[c]{@{}l@{}}· \href{https://huggingface.co/datasets/bigbio/meddialog}{MedDialog Raw} (Zeng et al., 2020) \\ · \href{https://huggingface.co/datasets/bigbio/mediqa_qa}{MEDIQA2019} (Ben Abacha et al., 2019) \\· \href{https://huggingface.co/datasets/HPAI-BSC/CareQA}{CareQA-Open}
\end{tabular}}

\\

\rowcolor[HTML]{E1DEE9}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Making diagnosis \\ and treatment\\ recommendations\end{tabular}}} & {\color[HTML]{656565} " } & {\color[HTML]{656565} · \href{https://huggingface.co/datasets/BI55/MedText}{MedText} }
\\

\rowcolor[HTML]{E5CFDF}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Clinical\\ note-taking\end{tabular}}} & {\color[HTML]{656565} " } & {\color[HTML]{656565} \begin{tabular}[c]{@{}l@{}}· \href{https://huggingface.co/datasets/har1/MTS_Dialogue-Clinical_Note}{MTS-Dialog} (Ben Abacha et al., 2023)\\ · ACI-Bench (Yim et al., 2023)\end{tabular} }

\\

\rowcolor[HTML]{EFD6DC}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Medical\\ factuality\end{tabular}}} & {\color[HTML]{656565} \begin{tabular}[c]{@{}c@{}} " \\ + Relaxed Perplexity \end{tabular} } & {\color[HTML]{656565} \begin{tabular}[c]{@{}l@{}} · \href{https://huggingface.co/datasets/dmis-lab/MedLFQA}{OLAPH} (Jeong et al., 2024)\end{tabular} } \\

\rowcolor[HTML]{E9E1DE}
{\color[HTML]{656565} \textbf{Summarization}} & {\color[HTML]{656565} \begin{tabular}[c]{@{}c@{}} " \\ + F1-RadGraph \end{tabular}} & {\color[HTML]{656565} · \href{https://huggingface.co/datasets/dmacres/mimiciii-hospitalcourse-meta}{MIMIC-III} (Johnson et al., 2016)} \\

\rowcolor[HTML]{E4D9D4}
{\color[HTML]{656565} \textbf{\begin{tabular}[c]{@{}r@{}}Question\\ entailment\end{tabular}}} & {\color[HTML]{656565} "} & {\color[HTML]{656565} · \href{https://huggingface.co/datasets/lighteval/med_dialog}{Meddialog Qsumm} (Zeng et al., 2020) }

\\ \hline

\end{tabular}
\end{adjustbox}
\caption{Table 1: This table presents the tasks implemented in this paper. The first column specifies the different tasks. The second details the metrics used (ROUGE includes ROUGE1, ROUGE2 and ROUGEL, and Perplexity includes Bits per Byte, Byte Perplexity, and Word Perplexity). The third column outlines the benchmarks used for each task.}
\end{table}
\end{document}