DENTV PRIMARY PROVIDER (2044)    REMOTE PROCEDURE (8994)

Name Value
NAME DENTV PRIMARY PROVIDER
TAG GS
ROUTINE DENTVUTL
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
DESCRIPTION
This rpc gets or sets the primary and secondary providers for a
dental patient. It also sends back the User duz if the user is a dental 
provider for the Encounter Provider.
INPUT PARAMETER
  • DFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   15
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The first parameter is the patient ien (DFN) which is the ien to
    the DENTAL PATIENT (#220) file.
    
  • PSPROV
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   40
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The second, optional, parameter is the primary and secondary provider
    iens, in the format p1^p2^p3.  P3 is the Encounter Provider.
    
  • OMIT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    A flag which determines whether omissions are allowed or required.
    
RETURN PARAMETER DESCRIPTION
If there is no second parameter, then we are "getting" the providers
and the rpc will return p1^p2^p3 for primary^secondary^encounter provider.
 
If there is a second parameter, then we are "setting" the providers
into the DENTAL PATIENT file and we will return DFN^Successful if
we were able to file the data.
 
Errors will be returned as -1^error message.