DVBAB FORM COPY (2040)    REMOTE PROCEDURE (8994)

Name Value
NAME DVBAB FORM COPY
TAG COPY
ROUTINE DVBABFRM
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
DESCRIPTION
 
 
If DVBAB2 has a value, it'll be copied to the new patient.
Copies a CAPRI form in file 396.17 to a new entry.  Clears key field so 
the form becomes editable as a new draft document.
 
DVBAB1 = IEN in 396.17 to copy
DVBAB2 = IEN in patient file
 
If DVBAB2 is null, the copied form will be filed under the same patient 
it previously belonged to.
INPUT PARAMETER
  • DVBAB1
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
  • DVBAB2
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
RETURN PARAMETER DESCRIPTION
Returns the IEN of the newly copied form.