switch (Attr.val) {
    case 0:
        Item.val = "Quarantine";
        break;
    case 1:
        Item.val = "Closed";
        break;
    case 2:
        Item.val = "Hold";
        break;
    case 3:
        Item.val = "Open";
        break;
    case 4:
        Item.val = "Open (external), closed (internal)";
        break;
}