use enum type to distinguish between item, entity and institution