Functional pain in hospitalised and school children