Code Z23, which is used to identify encounters for inoculations and vaccinations, indicates that a patient is being seen to receive a prophylactic inoculation against a disease. If the immunization is given during a routine preventive health care examination, Code Z23 would be a secondary code.