Derivation of nonlinear generalized equations of quantum relativistic hydrodynamics