Process for Retirement Yearly Maintenance - NCIEVS/nci-protege5 GitHub Wiki
- Go to Retired Concept Current Year and go to the Writer Tab. Hit the Configure button, select Export using LQT, choose a file name, select code property and Include column with superclasses (optional).
- Go to Retired Concept and create a new bin for last years retires (i.e. Retired Concept 2018); no need to include a DEF. Note the code for this new concept.
- Retire the new retired concept bin. (After hitting Retire, I needed to select Server>Commit to get all the edits for this retire to save.)
- Select Window>Tabs>Entities and find the new retired concept bin in the classes tab (will be under Retired Concept Current Year) and change its parent to Retired Concept.
- Select Window>Tabs>EVS History and look for concepts that have been retired since the last baseline of the following year. Start Date is the day after the last baseline of the previous year and End Date is the day you are modifying last year’s retired concepts. Remove any names in the Username box and select Operation RETIRE. Then hit Execute. (See Screenshot)

Once the query is complete use the Export button at the bottom of the EVS History tab to have a document with the codes of those concepts.
- Take the file of codes under Retired Concept Current Year and remove the rows with codes found in step 5.
- Create a batch file to add the new bin as a parent to the concepts in the report from step 6. The format is: code to be modified<tab></tab>new<tab></tab>new bin code. (i.e. C152661<tab></tab>new<tab></tab> C157491)
- Create a batch file to delete Retired Concept Current Year (C83485) from the concepts in the report from step 6. The format is: code to be modified<tab></tab>delete<tab></tab> C83485. (i.e. C152661<tab></tab>delete<tab></tab>C83485
- Confirm that all is well.