A team consisting of advanced practice nurses ( APNs ) and registered nurses ( RNs ) coordinated care for two groups : home-based nurse care coordination ( NCC ) plus a pill organizer group and NCC plus a medication-dispensing machine group .