docs: def _get_omimtype(entry, globaltt):
          """
          (note: there is anlaternative using mimTitle in omia)
  
  
          Here, we look at the omim 'prefix' to help to type the entry.
          For now, we only classify omim entries as genes;
          the rest we leave alone.
          :param entry:
          :return:
          """
  
          # An asterisk (*) before an entry number indicates a gene.
          # A number symbol (#) before an entry number indicates
          # that it is a descriptive entry, usually of a phenotype,
          # and does not represent a unique locus.
          # The reason for the use of the number symbol
          # is given in the first paragraph of the entry.
          # Discussion of any gene(s) related to the phenotype resides in
          # another entry(ies) as described in the first paragraph.
          #
          # A plus sign (+) before an entry number indicates that the
          # entry contains the description of a gene of
          # known sequence and a phenotype.
          #
          # A percent sign (%) before an entry number indicates that the
          # entry describes a confirmed mendelian phenotype or phenotypic locus
          # for which the underlying molecular basis is not known.
          #
          # No symbol before an entry number generally indicates a
          # description of a phenotype for which the mendelian basis,
          # although suspected, has not been clearly established
          # or that the separateness of this phenotype
          # from that in another entry is unclear.
          #
          # A caret (^) before an entry number means the
          # entry no longer exists because it was removed from the database
          # or moved to another entry as indicated.
          prefix = None
          type_id = None
          if 'prefix' in entry:
              prefix = entry['prefix']
  
          if prefix == '*':
              # gene, may not have a known sequence or a phenotype
              # note that some genes are also phenotypes,
              # even in this class, like 102480
              # examples: 102560,102480,100678,102750
              type_id = globaltt['gene']
          elif prefix == '#':
              # phenotype/disease -- indicate that here?
              # examples: 104200,105400,114480,115300,121900
              # type_id = globaltt['Phenotype']  # 'UPHENO_0001001' # species agnostic
              # type_id = globaltt['human phenotypic abnormality']
              pass
  
          elif prefix == '+':
              # gene of known sequence and has a phenotype
              # examples: 107670,110600,126453
              type_id = globaltt['gene']  # doublecheck this
          elif prefix == '%':
              # this is a disease (with a known locus).
              # examples include:  102150,104000,107200,100070
              type_id = globaltt['heritable_phenotypic_marker']
          elif prefix == '':
              # this is probably just a phenotype
              pass
  
          return type_id