Almost £3 million will be needed from developers to help upgrade and expand healthcare services if 800 more homes are built.