Medi-Span Generic Product Identifier. Medi-Span Generic Product Identifier Definition. A segmented numeric drug code assigned by Medi-Span, using a hierarchical classification scheme encompassing drug group, class, sub-class, name, name extension and dosage.