TIU GET DEFAULT PROVIDER (424)    REMOTE PROCEDURE (8994)

Name Value
NAME TIU GET DEFAULT PROVIDER
TAG DEFDOC
ROUTINE TIUSRVP1
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY SUBSCRIPTION
DESCRIPTION
This RPC returns the default provider as specified by the TIU Site Parameter
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^.
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
INPUT PARAMETER
  • HLOC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Pointer to the Hospital Location File (#44).
    
  • USER
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Optional Pointer to the New Person File (#200) identifying the Author. If 
    nothing is passed, the current user will be assumed.
    
  • TIUIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is the Record # (IEN) of the document in the TIU DOCUMENT FILE
    (#8925).
    
RETURN PARAMETER DESCRIPTION
This RPC returns the default provider as specified by the TIU Site Parameter
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^.

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