Inventory of attendance at emergency departments and self-referrals