## Maintaining State Codes

Step | Action
1. | Begin by navigating to the Maintain Country and State Codes page. Click the Links link.
2. | Click the Manage Incident Reports link.
3. | Click the Maintain Country and State Codes link.
4. | Use the Maintain Country and State Codes page to modify the country and state codes made available when creating or reviewing an incident report.
5. | Click the State Codes tab.
6. | Use the State Codes tab to modify the states codes made available when creating or reviewing an incident report.
7. | First, select a country to add the state code to. Click the Select a Country list.
8. | Click the United States of America list item.
9. | Click the Add button.
10. | Lookup Codes are unique keys in the data tables and built into the logic of Oracle PSIR. Click in the Lookup Code field.
11. | A Lookup Code can be upper or lower case. Enter the desired information into the Lookup Code field. Enter a valid value e.g. "CO".
12. | Next, specify a short display value. Display values appear when an incident report is created or reviewed. Click in the Display Value field.
13. | Enter the desired information into the Display Value field. Enter a valid value e.g. "Colorado".
14. | Use the Description field to add an optional description. Click in the Description field.
15. | Enter the desired information into the Description field. Enter a valid value e.g. "The lookup code entry for the state of Colorado".
16. | Saving the state code makes it available when you create or review incident reports. Click the Save button.
17. | The state code Colorado is now added.
18. | Next, modify the Colorado state code by editing the description. Click in the Description field.
19. | Enter the desired information into the Description field. Enter a valid value e.g. "Colorado".
20. | You can reverse any modifications to a single selected row using the Undo button. To save the modification, you would click Save instead. Click the Undo button.
21. | There are two types of delete, a hard delete and soft delete. A hard delete removes the state code from the database table, provided it is not used in an incident report. First, perform a hard delete on the code Colorado. Click an entry in the row.
22. | Click the Delete button.
23. | Confirm that you want to delete the Colorado state code. Click the Yes button.
24. | Click the Save button.
25. | The state code Colorado is now deleted.
26. | A soft delete inactivates a state code already used in incident reports. Inactivated codes are not displayed as options for creating or reviewing incident reports. Next, perform a soft delete on the New York code. Click an entry in the row.
27. | Click the Active option.
28. | Click the Save button.
29. | The state code New York is now inactive.
30. | You have completed the Maintaining State Codes topic. End of Procedure.