Go to the General menu and choose Codes. Enter code and text. Click the relevant "used as" boxes to ensure they appear when you search for them in a data entry screen using F5 or the binoculars icon.