DSIR ADD NONCOMP PAT (1678)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIR ADD NONCOMP PAT
TAG ADDNCPR
ROUTINE DSIROI0
RETURN VALUE TYPE ARRAY
DESCRIPTION
Routine for adding or updating an non-computerized patient for ROI.
INPUT PARAMETER
  • NAME
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the patient name.
    
  • SSN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   11
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the patient Social Security Number
    
  • DOB
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is the date of birth used for unique identification.
    patient file and the dsir noncomputerized record patient file.
    
  • OVRD
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    This is a flag (0 or 1) to override/bypass the lookups into xrefs.  If 
    true the RPC will laygo into file 19620.96 without checking for 
    duplicates.
    
  • NCPIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   99
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    This is the desired IEN. If this exists then it is an update not an add.
    
RETURN PARAMETER DESCRIPTION
Return values may be one of the following:
  This is returned if the SSN exists in file 19620.96, the calling
  program must determine if this is the same name entered.
 
 1^NNNN;DSIR(19620.96,^NAME,PATIENT
  This is returned upon completion of a new entry being created or
  updated.
 
 -3^Unable to create record! or -3^Unable to update record! 
  Unknown reason why entry in file 19620.96 was unsuccessful.
 
 
 -4^Unable to update, record not on file!
 Return  This is returned if an IEN is passed that does not exist.
 
 -5^Unable to update, SSN 123456789 already on non-registered file!
   This is returned if a SSN is passed that already exists on19620.96.
       -1^Error text
       or
       1^NNNN;DSIR(19620.96,^NAME,PATIENT
         Where NNNN is the IEN in 19620.96
  SSN exists in patient file #2.
 
 0^NNNN;DSIR(19620.96,^NAME,PATIENT^FileMan Birth Date