Doctor 'failed' injured patient