Hospital A → Training Hospital A → Internal test Hospital B → External validation