Added logging if ReferralOutcomeTypeCode is missing