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
|