This function is used to handle any type of specialty (abstract) codes that are used by providers.

The ABSCODE function has a length limitation of 384 alphanumeric characters. If the value of the length of the ABSCODE field is over 384 alphanumeric characters, the operational server truncates the input value to the first 384 alphanumeric characters of the value.

Output Type
MinFldArgs, MaxFldArgs
Number of standard roles
Strequi table
mpi_strequi (SA<N>-ABS, SA0-ABS) where <N> = 0,1,2...
Database tables
mpi_strequi, mpi_dvdxstd, mpi_strhead
  1. The attribute characters are first checked to see if they are alphanumeric and are converted to uppercase.
  2. All special characters are eliminated.
  3. If there is a missing attribute (length of 0), it is treated as an ANON value.
  4. A lookup is performed for the attribute value in the mpi_strequi table by using SA<n>-ABS (where n is the source RecNo) and SA0-ABS values. If the value is found in the SA<n>-ABS or SA0-ABS tables, the equivalent code is replaced for the attribute. If matches are found in both tables, the <n> match is given preference. If it is not found, the attribute is treated as ANON.
  5. The value that is returned as a result of step 3 is added to the compare string.
  6. Since each source can have a different meaning for its specialty codes, it is essential to retain the source identity in the EQUI table.
ABSCODE example:
mpi_strequi table has the following entries:

If you have an attribute value of 19, a lookup in the mpi_strequi table is performed and the specialty code of PSY is returned.

If you have an attribute value of R n f u, all spaces are eliminated and the characters are converted to uppercase. Thus, R n f u becomes RNFU. A lookup for RNFU in the mpi_strequi table is performed and the code of NUR is returned.