Print Page as PDF
Lexicon Obtain Mapped Codes ICR (5010)

Lexicon Obtain Mapped Codes    ICR (5010)

Name Value
NUMBER 5010
IA # 5010
DATE CREATED 2007/06/28
CUSTODIAL PACKAGE LEXICON UTILITY
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE LEXTRAN1
NAME Lexicon Obtain Mapped Codes
GENERAL DESCRIPTION
This API returns an array containing the mappings for a
specified code for a specified mapping identifier.  If any of the passed
parameters are incorrect or unrecognizable, the API will return an error
message indicating the nature of the error.

STATUS Active
KEYWORDS
  • mapped
  • lexicon
  • mapping
ID LEXTRAN1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
GETASSN(LEXCODE,LEXMAP,LEXVDT,LEXRAY)
VARIABLES TYPE VARIABLES DESCRIPTION
LEXCODE Input
This is a code belonging to a coding system that is
stored in the Lexicon.  Coding systems include SNOMED CT, ICD, CPT, HCPCS,
etc.

LEXMAP Input
This is the mapping identifier (mandatory). This
allows the system to determine which map is to be used for translation. The
map must be defined in the mapping definition file (757.32).

LEXVDT Input
This is a versioning date to used to distinguish
between active and inactive mappings (optional, default is TODAY)

LEXRAY Both
This is the name of the output array. The default, if
no array name is specified, is 'LEX' (optional)

The output array will have the following formats:

Format #1:

LEX(n,CODE)=""
where n is the nth mapped code
code is the code which is mapped to

e.g. >S X=$$GETASSN(15250008,"SCT2ICD")

>ZW LEX

LEX=2
LEX(1,"371.30")=""
LEX(2,"371.40")=""

Format #2:

LEX(n,CODE)=1
LEX(n,CODE)=0
where n is the nth mapped code
code is the code which is mapped to

If set to 1, then source code is a full
match to the target code.  If set to 0,
then the source code is a partial match
to the target code.  This feature was
designed for the Automated Service
Connected Designation (ASCD) project.
Full and partial match designations
are used in determining service
connection.

e.g. >S X=$$GETASSN^LEXTRAN1(300.4,"ASCD")

>ZW LEX

LEX=1
LEX(1,9405)=1

DATE ACTIVATED 2007/12/28