DSIYGO02 DELREP DEL REP ITEM (4022)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYGO02 DELREP DEL REP ITEM
TAG DELREP
ROUTINE DSIYGO02
RETURN VALUE TYPE ARRAY
DESCRIPTION
DELREP
 
If there are repetitive items already existing for this order, the user 
has a chance to delete ALL of them (VistA only allows all or nothing).  
If they choose to delete ALL, call this RPC to do the deletion.
INPUT PARAMETER
  • PIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    PIEN
     
    Primary Distribution Point IEN - Required
    each existing Repetitive item
     
    DSIYDAT(#) = ORDER IEN ^ ORDER # ^ ORDER CREATE DATE ^ NUMBER OF ITEMS
    
  • ORDNO
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    ORDNO
     
    Order # returned after successful REPITP call
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
 
DSIYRET(1)="0^<Warning Message>    If there are warnings/no data
DSIYRET(1)="-1^<Error Message>     if there are errors
DSIYRET(1)=1                       if deletion successful