Is it possible that a 10 digit NDC exists as more than one hyphenated format when looking up with the openfda api? For example: Can xxxxxxxxxx exist as more than one of the following: xxxx-xxxx-xx, xxxxx-xxx-xx, xxxxx-xxxx-x?
I am attempting to determine the proper hyphen formatting of a 10 digit NDC that comes in to my system with no hyphen formatting information. I need to be able to convert it to the proper 11 digit (5-4-2) NDC but need to know the hyphen formatting of the 10 digit NDC to know where to put the "0".
I am hoping that a 10 digit NDC can't exist as more than one hyphenated format so that, if I try all three with openfda api, only one will be found and can be determined to be the proper format.