|NAME||DENTV PRIMARY PROVIDER|
|RETURN VALUE TYPE||SINGLE VALUE|
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.
|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.