retirePatientIdentifierType and unretirePatientIdentifierType both call savePatientIdentifierType which has the check.