Using clinical information to scrutinise care and costs