PSOERXA0 PRVMTCH (3784)    REMOTE PROCEDURE (8994)

Name Value
NAME PSOERXA0 PRVMTCH
TAG PRVMTCH
ROUTINE PSOERXA0
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
APP PROXY ALLOWED Yes
DESCRIPTION
Provides logic for matching a provider identified for an incoming eRx 
prescription.
INPUT PARAMETER
  • NPI
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The NPI values for the provider being matched.
    
  • DEA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The DEA number associated with the provider being matched.
    
  • CSUB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is the controlled substance flag.
    1 - yes (controlled substance)
    0 or null (not a controlled substance).
     
    If a match is occuring for a controlled substance, an additional check 
    will occur to ensure the DEA # matches the provider.
    
RETURN PARAMETER DESCRIPTION
PSORES=IEN^PROVIDER NAME (#200, .01) - successful match
PSORES=0^MESSAGE - failure to match or multiple matches found)