TIU GET DEFAULT PROVIDER

TITLEVALUE
NAMETIU GET DEFAULT PROVIDER
DESCRIPTIONThis RPC returns the default provider as specified by the TIU Site Parameter
DEFAULT PRIMARY PROVIDER, which has the following allowable values:

0 NONE, DON'T PROMT
In which case the call will return 0^

1 DEFAULT, BY LOCATION
In this case, the call will return the default provider for a given Hospital
Location, as specified in the set-up for the Clinic in MAS. If a default
provider is specified for the location in question, that person will be
returned. If the Clinic set-up specifies use of the Primary Provider (if
defined) for the patient, then that person will be returned. The return
format will be DUZ^LASTNAME,FIRSTNAME.

2 AUTHOR (IF PROVIDER)
In this case, the call will return the current user (if they are a known
Provider). If their not a known Provider, then the call will return 0^.
TAGDEFDOC
ROUTINETIUSRVP1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERHLOC
DESCRIPTIONPointer to the Hospital Location File (#44).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERUSER
DESCRIPTIONOptional Pointer to the New Person File (#200) identifying the Author. If
nothing is passed, the current user will be assumed.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERTIUIEN
DESCRIPTIONThis is the Record # (IEN) of the document in the TIU DOCUMENT FILE
(#8925).
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONThis RPC returns the default provider as specified by the TIU Site Parameter
DEFAULT PRIMARY PROVIDER, which has the following allowable values:

0 NONE, DON'T PROMT
In which case the call will return 0^

1 DEFAULT, BY LOCATION
In this case, the call will return the default provider for a given Hospital
Location, as specified in the set-up for the Clinic in MAS. If a default
provider is specified for the location in question, that person will be
returned. If the Clinic set-up specifies use of the Primary Provider (if
defined) for the patient, then that person will be returned. The return
format will be DUZ^LASTNAME,FIRSTNAME.

2 AUTHOR (IF PROVIDER)
In this case, the call will return the current user (if they are a known
Provider). If their not a known Provider, then the call will return 0^.

AVAILABILITYSUBSCRIPTION
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED