DENTV ADD/EDIT COMPLICATIONS (3810)    REMOTE PROCEDURE (8994)

Name Value
NAME DENTV ADD/EDIT COMPLICATIONS
TAG COMP
ROUTINE DENTVTP2
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
DESCRIPTION
This RPC allows for adding, editing, and deleting complications from a 
dental encounter.
INPUT PARAMETER
  • DENTENC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the dental encounter IEN for which to wish to make complication 
    modifications.
    
  • DATA
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   240
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This data array contains the data you wish to add, edit, or delete from 
        p3 = Complication Status
     
      List[n+m] = Description word processing lines
    the dental encounter.  The input array should be formatted in chunks as
    follows:
     
        List[n] = $$START$$
     
      List[n+1] = p1^p2^p3
        p1 = Complication IEN (values denoted with a "+" are additions)
        p2 = Complication Type
    
RETURN PARAMETER DESCRIPTION
If successful, the return will be formatted as:
  D = Delete
 
If an error occurs, the return will be -1^error message.
  
  List[1] = 0^Records successfully added, edited, or deleted:
 
Which will be immediately followed by a list of complication numbers 
followed by one of the following flags to denote action taken:
 
  A = Add
  E = Edit