Refactored PatentNum class
Updated to use the new PatentAgent::PatNum class