NHS Highland and Highland Council have agreed to proposed changes in how care is delivered in communities.