\section{Textual Prompts}
\label{appendix:prompts}

We present below the curated set of radiological finding-related phrases used as textual prompts for conditioning the diffusion model during the editing process.

\small
\begin{longtable}{llc}
    \toprule
    \multicolumn{1}{c}{\textbf{Rad. Finding}} & \multicolumn{1}{c}{\textbf{Textual Prompt}} & \multicolumn{1}{c}{\textbf{Probability ($p$)}} \\ \midrule
    Atelectasis & Bibasilar atelectasis. & $0.6406$ \\
     & Left basilar atelectasis. & $0.1647$ \\
     & Basilar atelectasis. & $0.0380$ \\
     & Bibasilar subsegmental atelectasis. & $0.0341$ \\
     & Right basilar atelectasis. & $0.0380$ \\
     & Left lower lobe atelectasis. & $0.0180$ \\
     & Atelectasis in the lung bases. & $0.0106$ \\
     & Left basilar subsegmental atelectasis. & $0.0053$ \\
     & Streaky bibasilar atelectasis. & $0.0042$ \\
     & Subsegmental atelectasis. & $0.0042$ \\
     & Linear bibasilar atelectasis. & $0.0063$ \\
     & Atelectasis. & $0.0158$ \\
     & Left lower lobe collapse. & $0.0032$ \\
     & Right lower lobe atelectasis. & $0.0021$ \\
     & Right basilar subsegmental atelectasis. & $0.0042$ \\
     & Patchy bibasilar atelectasis. & $0.0063$ \\
     & Right upper lobe collapse. & $0.0022$ \\
     & Right middle lobe collapse. & $0.0022$ \\ \midrule
    Cardiomegaly & Cardiomegaly. & $0.7846$ \\
     & Enlarged cardiac silhouette. & $0.1940$ \\
     & Enlargement of the cardiac silhouette. & $0.0154$ \\
     & Prominent cardiac silhouette. & $0.0018$ \\
     & Enlarged heart. & $0.0042$ \\ \midrule
    Consolidation & Left lower lobe consolidation. & $0.3064$ \\
     & Right lower lobe consolidation. & $0.2401$ \\
     & Patchy consolidation in the mid left lung. & $0.0704$ \\
     & Patchy consolidation in the right lung. & $0.0704$ \\
     & Patchy consolidation in the right lower lobe. & $0.1232$ \\
     & Left consolidation. & $0.0352$ \\
     & Patchy bilateral pulmonary consolidations. & $0.0352$ \\
     & Bilateral consolidations. & $0.0340$ \\
     & Right middle lobe consolidation. & $0.0511$ \\
     & Right upper lobe consolidation. & $0.0340$ \\ \midrule
    Edema & Pulmonary edema. & $0.7310$ \\
     & Interstitial pulmonary edema. & $0.1333$ \\
     & Interstitial edema. & $0.1023$ \\
     & Edema. & $0.0175$ \\
     & Peribronchial cuffing consistent with pulmonary edema. & $0.0159$ \\ \midrule
    Lung Opacity & Right lower lobe infiltrate. & $0.1635$ \\
     & Right lower lobe opacity. & $0.1499$ \\
     & Left lower lobe opacity. & $0.1908$ \\
     & Bilateral lower lobe infiltrates. & $0.0681$ \\
     & Left lower lobe infiltrate. & $0.0681$ \\
     & Patchy bilateral pulmonary opacities. & $0.0514$ \\
     & Patchy left lower lobe opacity. & $0.0681$ \\
     & Bibasilar opacities. & $0.0409$ \\
     & Patchy ground-glass opacities at the right lung base. & $0.0386$ \\
     & Left basilar opacity. & $0.0273$ \\
     & Right basilar opacity. & $0.0273$ \\
     & Lower lung opacity. & $0.0273$ \\
     & Patchy ground-glass opacities in the left lower lung. & $0.0257$ \\
     & Patchy bibasilar opacities. & $0.0530$ \\ \midrule
    Pleural Effusion & Bilateral pleural effusions. & $0.3979$ \\
     & Right pleural effusion. & $0.2429$ \\
     & Left pleural effusion. & $0.2351$ \\
     & Right effusion. & $0.0388$ \\
     & Bilateral effusions. & $0.0310$ \\
     & Right-sided pleural effusion. & $0.0284$ \\
     & Left-sided pleural effusion. & $0.0207$ \\
     & Left effusion. & $0.0052$ \\ \midrule
    Pneumothorax & Right apical pneumothorax. & $0.3472$ \\
     & Left apical pneumothorax. & $0.3208$ \\
     & Right pneumothorax. & $0.1774$ \\
     & Left pneumothorax. & $0.1245$ \\
     & Pneumothorax. & $0.0151$ \\
     & Apical pneumothorax. & $0.0075$ \\
     & Bilateral pneumothoraces. & $0.0075$ \\ \bottomrule
\end{longtable}
\normalsize

\clearpage
\section{Radiological Findings' Spatial Distributions}
\label{appendix:spatialdistr}

\begin{table}[h]
    \centering
    \caption{Probability distributions for the spatial modeling of radiological finding bounding boxes. Parameters for the 1D best-fit distributions correspond to the location-scale form of the distribution in regard.
    }
    \label{tab:92_distr1D}
    \scriptsize
\begin{tabular}{lllll}
\toprule
\multicolumn{1}{c}{\textbf{Radiological}} & \multicolumn{1}{c}{\textbf{Bounding Box}} & \multicolumn{1}{c}{\multirow{2}{*}{\textbf{Distribution}}} & \multicolumn{1}{c}{\multirow{2}{*}{\textbf{Parameters}}} & \multicolumn{1}{c}{\multirow{2}{*}{\textbf{Score}}} \\
\multicolumn{1}{c}{\textbf{Finding}} & \multicolumn{1}{c}{\textbf{Element}} &  &  &  \\ \midrule
\multirow{5}{*}{Atelectasis} & Center (x-axis) & Beta & $a: 194.8522,\, b: 78.1808\times10^{6},$  & $2.36\times10^{-4}$\\
&  &  &  \hspace*{5pt}$\mathrm{loc}: -119.7766,\, \mathrm{scale}: 66.6710\times10^{6}$ \\
& Center (y-axis) & Log-gamma & $c: 0.7680, \mathrm{loc}: 87.8522, \mathrm{scale}: 6.9387$ & $1.07 \times 10^{-3}$ \\
& Width \& height & Multivariate & $\bm{\mu}: [4.3618, 3.4926], \,$ & \multicolumn{1}{c}{--} \\
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[0.0842, 0.0632], [0.0632, 0.2054]]$\\ \midrule
\multirow{1}{*}{Cardiomegaly} & CTR & Gamma & $a: 40.4439,\, \mathrm{loc}: 33.4765,\, \mathrm{scale}: 0.6308$ & $4.66 \times 10^{-3}$ \\\midrule
\multirow{5}{*}{Consolidation} & Center (x-axis) & Log-normal & $s: 0.1733,\, \mathrm{loc}: -24.9657,\, \mathrm{scale}: 69.8613$ & $6.94 \times 10^{-5}$ \\
& Center (y-axis) & Beta & $a: 9.3284,\, b: 3.6820,\, \mathrm{loc}:-32.9031$,  & $1.20 \times 10^{-4}$\\ 
&  &  &  \hspace*{5pt}$\mathrm{scale}: 132.7595$ \\
& Width \& height & Multivariate & $\bm{\mu}: [4.1543, 3.6383], \,$ & \multicolumn{1}{c}{--} \\
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[0.1449, 0.1393],[0.1393, 0.3113]]$\\ \midrule
\multirow{4}{*}{Edema} & Center & Multivariate & $\bm{\mu}: [3.8485, 3.9856], \,$ & \multicolumn{1}{c}{--} \\
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[0.0968, -0.0336], [-0.0336,  0.0529]]$ \\
& Width \& height & Multivariate & $\bm{\mu}: [4.2697, 3.9856], \,$ & \multicolumn{1}{c}{--} \\
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[0.1678, 0.1776], [0.1776, 0.2681]]$ \\\midrule
\multirow{6}{*}{Lung Opacity} & Center (x-axis)  & Beta & $a: 8.3376,\, b: 4\,440.2773,\, \mathrm{loc}: 4.3958$,  & $2.24 \times 10^{-4}$\\ 
&  &  &  \hspace*{5pt}$\mathrm{scale}: 2\,2401.2265$ \\
& Center (y-axis) & Log-gamma & $c: 0.7223,\, \mathrm{loc}: 77.5134,\, \mathrm{scale}: 10.4228$ & $1.89 \times 10^{-4}$ \\ 
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[0.0968, -0.0336], [-0.0336,  0.0529]]$ \\
& Width \& height & Multivariate & $\bm{\mu}: [4.0257, 3.5337], \,$ & \multicolumn{1}{c}{--} \\
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[0.1754, 0.1410], [0.1410, 0.3298]]$ \\\midrule
\multirow{3}{*}{Pleural Effusion} & Center (y-axis) & GEV & $c: 0.6393,\, \mathrm{loc}: 88.9743,\, \mathrm{scale}: 7.3628$  &  $6.34 \times 10^{-4}$ \\
& Height & Beta & $a: 1.2177,\, b: 3.5508,\, \mathrm{loc}: 13.3016,\,$  & $2.43 \times 10^{-5}$\\ 
&  &  &  \hspace*{5pt}$\mathrm{scale}: 22\,401.2265$ \\ \midrule
\multirow{4}{*}{Pneumothorax} & Center & Multivariate & $\bm{\mu}: [3.9222, 2.7920], \,$ & \multicolumn{1}{c}{--} \\
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[ 0.277 , -0.3239], [-0.3239,  1.0157]]$ \\
& Width \& height & Multivariate & $\bm{\mu}: [4.1561, 3.2241], \,$ & \multicolumn{1}{c}{--} \\
&  & \hspace*{3pt}log-normal &  \hspace*{5pt}$\bm{\Sigma}: [[0.1881, 0.0425], [0.0425, 0.4092]]$ \\\bottomrule
\end{tabular}
\\
\vspace{1mm}
\raggedright
GEV: Generalized extreme value distribution\\
CTR: Cardiothoracic ratio.
\end{table}