MPI EVENT LIST (2852)    REMOTE PROCEDURE (8994)

Name Value
NAME MPI EVENT LIST
TAG LINKDATA
ROUTINE MPIRPC
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON TRUE
VERSION 1
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC is used to return the list of all LINK and DO NOT LINK records 
associated with the ICN list passed as input.  The DO NOT LINK list will 
be derived from the records in the MPI DO NOT LINK file (#985.28) and 
pulled using the GET^MPIDNL API. The LINK list will be built from PRIMARY
ICN values associated with any of the ICNs in the input list.
INPUT PARAMETER
  • SOURCEID
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This parameter is a list of ICN/VPID's that IMDQ Toolkit will provide to
     
     Example: 
    1001170718V338193|200M|USVHA|NI,101178194V591076|200M|USVHA|NI,1008521877V
    768382|200M|USVHA|NI,1008522314V828468|200M|USVHA|NI
    get a listing of all of the related LINK and DO NOT LINK events.  The
    format of this parameter is as follows:
     
    ICNLIST - LIST OF ICN'S
     
     Format:
    A comma delimited list of Source IDs, each Source ID in the format: 
    ICN/VPID|SourceSytemID|SourceAssigningAuthority|IDType
    
RETURN PARAMETER DESCRIPTION
The return value is a list of records that the given record should not be
and/or
 
  requested ICN/VPID|SourceSystemID|SourceAssigningAuthority|IDType
    ^DO NOT LINK^record ID^SourceSystemID^SourceAssigningAuthority^IDType
 
Example: 
 
 RETURN(1)=123456789V123456|200M|USVHA|NI|T
             ^LINK^1111111111V111111|200M|USVHA|NI|D
 RETURN(2)=123456789V123456|200M|USVHA|NI|T
linked too as well as a list of ICN's that the given ICN has in it's LINK 
             ^LINK^2222222222V222222|200M|USVHA|NI|D
 RETURN(3)=123456789V123456|200M|USVHA|NI|T
             ^LINK^3333333333V333333|200M|USVHA|NI|D
 RETURN(4)=123456789V123456|200M|USVHA|NI
             ^DO NOT LINK^5555555555V555555^200M^USVHA^NI
 RETURN(5)=234567890V234567|200M|USVHA|NI
             ^DO NOT LINK^1234546^500^USVHA^PI
 RETURN(n)=456789012V456789^...
history.
 
Format:
 
  requested ICN/VPID|SourceSystemID|SourceAssigningAuthority|IDType|IDState
    ^LINK^linked Record|SourceSystemID|SourceAssigningAuthority|IDType|IDState