VistA Analysis » VistA Reference » RPCs » TIU GET DEFAULT PROVIDER
TIU GET DEFAULT PROVIDER
This RPC returns the default provider as specified by the TIU Site ParameterDEFAULT PRIMARY PROVIDER, which has the following allowable values:0 NONE, DON’T PROMTIn which case the call will return 0^1 DEFAULT, BY LOCATIONIn this case, the call will return the default provider for a given HospitalLocation, as specified in the set-up for the Clinic in MAS. If a defaultprovider is specified for the location in question, that person will bereturned. If the Clinic set-up specifies use of the Primary Provider (if defined) for the patient, then that person will be returned. The returnformat 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^.
Properties
Property | Value |
---|---|
Label | DEFDOC |
MUMPS Implementation | TIUSRVP1 |
Return Type | SINGLE VALUE |
Input Parameters
Name | Type | Maximum Data Length | Required | Description |
---|---|---|---|---|
HLOC | LITERAL | true | Pointer to the Hospital Location File (#44). | |
USER | LITERAL | true | Optional Pointer to the New Person File (#200) identifying the Author. If nothing is passed, the current user will be assumed. | |
TIUIEN | LITERAL | true | This is the Record # (IEN) of the document in the TIU DOCUMENT FILE(#8925). |
MUMPS Method Description
Property | Value |
---|---|
Method | DEFDOC^TIUSRVP1 |
Method Comment | Get default primary provider |
Input Parameters | HLOC, USER, TIUDT, TIUIEN |
Code |
|
CPRS
File Type | Description |
---|---|
Pascal File | Encounter/rPCE.pas |
Document generated on August 31st 2022, 2:55:43 pm