MBAA REMOVE FROM EWL (3654)    REMOTE PROCEDURE (8994)

Name Value
NAME MBAA REMOVE FROM EWL
TAG UPDTEWL
ROUTINE MBAARPC1
RETURN VALUE TYPE ARRAY
AVAILABILITY SUBSCRIPTION
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC removes a patient from the EWL.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Patient DFN.
    
  • SDWLIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The IEN for the record in SD WAIT LIST File (#409.3).
    
  • SDWLDATA
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   240
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    List of data elements:
         'R' FOR Scheduled/Kept 
         'I' FOR Inpatient
         'NS' FOR No-Show
         'NSR' FOR No_Show, Rescheduled 
         'CP' FOR Canceled by Patient 
         'CPR' FOR Canceled by Patient, Rescheduled
         'CC' FOR Canceled by Clinic; 
         'CCR' FOR Canceled by Clinic, Rescheduled
         'NT' FOR No Action Taken )
     SDWLDATA(1)=SCHEDULED DATE OF APPT
     SDWLDATA(2)=PTR TO APPT CLINIC (CLINIC WHERE APPT MADE)
     SDWLDATA(15)=APPOINTMENT INSTITUTION (PTR to Institution File.)
     SDWLDATA(13)=APPT STOP CODE (PTR to file 40.7)
     SDWLDATA(14)=APPT CREDIT STOP CODE (PTR to file 40.7)
     SDWLDATA(16)=APPT STATION NUMBER (Free Text) MUST BE AN IEN FROM DIC(4
        but is not a ptr field)
     SDWLDATA(3)=APPT STATUS (Set of codes: 
    
  • SDWLDISP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The disposition of the entry.
     
    D:DEATH
    NC:REMOVED/NON-VA CARE
    SA:REMOVED/SCHEDULED-ASSIGNED
    CC:REMOVED/VA CONTRACT CARE 
    NN:REMOVED/NO LONGER NECESSARY
    ER:ENTERED IN ERROR
    CL:CLINIC CHANGE
    
RETURN PARAMETER DESCRIPTION
Returns:
 
RESULTS(0)=1 - Successful
RESULTS(0)="0^DFN is required"
RESULTS(0)="0^SDWLIEN is required"
RESULTS(0)="0^Patient not on EWL"
RESULTS(0)="0^Dispostion is missing."