Trustworthy data science for improving healthcare efficiency: the case of the medical referral process