replace concept with encounter type