The UN says more than 40,000 Palestinians in Gaza have suffered potentially life-changing injuries.