DSIV ACCEPT BUFFER ENTRY (2536)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV ACCEPT BUFFER ENTRY
TAG ACCEPT
ROUTINE DSIVICA
RETURN VALUE TYPE ARRAY
DESCRIPTION
Processes INSURANCE BUFFER file entry to insurance files
and patient insurance type multiple.  Marks buffer entry
STATUS=ACCEPTED.  This RPC should perform the same actions
as the List Manager "Accept" action.
INPUT PARAMETER
  • IBBUFDA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    INSURANCE BUFFER file IEN to be processed.
    
  • IBNEWGRP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   10
    DESCRIPTION:   
    Flag indicating that a new entry should be created in the
    GROUP INSURANCE PLAN file (#355.3).  1=TRUE (Create new entry)
    0=FALSE (Default - Do not create new entry).
    
  • IBNEWPOL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   11
    DESCRIPTION:   
    Flag indicating that a new entry should be created in the
    INSURANCE TYPE subfile (#2.312).  1=TRUE (Create new entry)
    0=FALSE (Default - Do not create new entry).
    
  • IVMREPTR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   4
    REQUIRED:   NO
    SEQUENCE NUMBER:   12
    DESCRIPTION:   
    Internal entry number in IVM REASONS FOR NOT UPLOADING INSURANCE
    file (#301.91) if applicable.
    
  • DSIVAUDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   13
    DESCRIPTION:   
    Internal entry number in File #19625.  Used when filing COMMENT fields.
    
  • IBDATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   100
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    IBDATA array containts the following variables and data in an array
    IBMVPOL=Type for POLICY    1=Merge, 2=Overwrite, 3=Replace, 4=(n/a)
    IBNEWINS=Add new INSURANCE COMPANY flag (non-zero means add)
    IBNEWGRP=Add new GROUP INSURANCE PLAN flag (non-zero means add)
    IBNEWPOL=Add new patient insurance policy (non-zero means add)
    IVMREPTR=File 301.91 IEN if applicable (IVM REASONS FOR NOT UPLOADING..)
    DSIVAUDT=File 19625 IEN if updating pt policy or group plan COMMENT
    IBELIG=to copy eIV report to pt elig/benefits 0=no,1=yes
    DSIV118=Flag to indicate new ICB GUI is being used and patient policy 
            comment is not to be utilized.
     e.g. IBDATA(1)="IBINSDA^1002"
          IBDATA(2)="INGRPDA^"
          
    IBINSDA=File 36 IEN if not adding new entry
    IBGRPDA=File 355.3 IEN if not adding new entry
    IBPOLDA=File 2.312 IEN if not adding new entry
    IBMVINS=Type for INSURANCE 1=Merge, 2=Overwrite, 3=Replace, 4=(n/a)
    IBMVGRP=Type for GROUP     1=Merge, 2=Overwrite, 3=Replace, 4=(n/a)
    
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    PATIENT file IEN.
    
  • IBINSDA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    INSURANCE COMPANY file IEN if not adding a new entry.
    This parameter is optional but must be present if the
    IBNEWINS parameter value is false (not adding a new
    INSURANCE COMPANY entry).
    
  • IBGRPDA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   36
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    GROUP INSURANCE PLAN file IEN if not adding a new entry.
    This parameter is optional but must be present if the
    IBNEWGRP parameter value is false (not adding a new
    GROUP INSURANCE PLAN entry).
    
  • IBPOLDA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    IEN of INSURANCE TYPE sub-file (#2.312) of PATIENT file
    if not adding a new entry.  This parameter must be present
    if the INSURANCE BUFFER data will update an existing entry
    in the INSURANCE TYPE multiple.
    
  • IBMVINS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    Flag indicating whether buffer data will 1=Merge, 2=Overwrite, 3=Replace
                              replace existing data)
               3 = Replace   (all buffer data including null move to
                              ins file)
                             ins file)
    data in file #36.  Default is 2=Overwrite. In the List Manager interface
    flag value 4 means "individually accept."  This value is not valid in the
    Remote Procedure Call. The terms "merge," "overwrite," and "replace" are
    defined as follows:
     
     TYPE    - 1 = Merge     (only buffer data moved to blank fields
                              in ins file, no replace)
               2 = Overwrite (all buffer data moved to ins file,
    
  • IBMVGRP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Flag indicating whether buffer data will 1=Merge, 2=Overwrite, 3=Replace
                              replace existing data)
               3 = Replace   (all buffer data including null move to
                              ins file)
                             ins file)
    data in file #355.3.  Default is 2=Overwrite. In the List Manager
    interface flag value 4 means "individually accept."  This value is not
    valid in the Remote Procedure Call. The terms "merge," "overwrite," and
    "replace" are defined as follows:
     
     TYPE    - 1 = Merge     (only buffer data moved to blank fields
                              in ins file, no replace)
               2 = Overwrite (all buffer data moved to ins file,
    
  • IBMVPOL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   8
    DESCRIPTION:   
    Flag indicating whether buffer data will 1=Merge, 2=Overwrite, 3=Replace
                             replace existing data)
              3 = Replace   (all buffer data including null move to
                             ins file)
                             ins file)
    data in subfile #2.312.  Default is 2=Overwrite. In the List Manager
    interface flag value 4 means "individually accept."  This value is not
    valid in the Remote Procedure Call. The terms "merge," "overwrite," and
    "replace" are defined as follows:
     
    TYPE    - 1 = Merge     (only buffer data moved to blank fields
                             in ins file, no replace)
              2 = Overwrite (all buffer data moved to ins file,
    
  • IBNEWINS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   9
    DESCRIPTION:   
    Flag indicating that a new entry should be created in the
    INSURANCE COMPANY file (#36).  1=TRUE (Create new entry)
    0=FALSE (Default - Do not create new entry).
    
RETURN PARAMETER DESCRIPTION
RESULT(0)=0 (zero) means success or -1^<error message> means failure.
Note that success may inclue one or more warnings in the
format 0^<warning message>[^<warning message>].  Subsequent array values 
may contain the following IF new iens were generated by the call:
RESULT(1)="IBINSDA^"_IBINSDA
RESULT(2)="IBGRPDA^"_IBGRPDA
RESULT(3)="IBPOLDA^"_IBPOLDA