Moved computation of hrn on the OARrestapi level.