The NHS in Scotland can improve the care it gives to people with long-term illnesses by better targeting resources, further developing community-based services and driving a national strategy.