AR patient and doctor don't get saved correctly when creating from Case