Characterization of the solutions to ODE–PDE systems