MD TMDLEX (2350)    REMOTE PROCEDURE (8994)

Name Value
NAME MD TMDLEX
TAG LEX
ROUTINE MDRPCW1
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
This RPC will return a list of CPT or ICD for a search typed in.
INPUT PARAMETER
  • MDSRCH
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the text typed in for the look-up.
    
  • MDAPP
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the application indicator.  It is either "CPT" or "ICD".
    
  • STUDY
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is a required field to obtain the Patient Study # which will be used 
    to check the PCE visit date.
    
RETURN PARAMETER DESCRIPTION
^TMP("MDLEX",$J,#)=P1 - CPT/ICD Code
>D ^%G
 
Global ^TMP("MDLEX",$J -- NOTE: translation in effect
^TMP("MDLEX",539152953,1)=86618^302213^Borella Burgdorferi (Lyme Disease) 
Antibody (CP T-4 86618)
                   P2 - Internal Entry Number
                   P3 - Lexicon text
 
>D LEX^MDRPCW1(.RESULTS,"BORE","CPT")
 
>ZW RESULTS
RESULTS="^TMP("MDLEX",539152953)"