Validation and Application of a Needs-Based Complexity Case-Mix System for Community-Based Primary Health Care Planning and Research