| DEFDOC |
This API 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 they're not a known Provider, then the call will return 0^.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
HLOC |
Input |
Pointer to the Hospital Location File (#44).
|
USER |
Input |
Optional Pointer to the New Person File (#200)
identifying the Author. If nothing is passed, the current user will be
assumed.
|
TIUIEN |
Input |
This is the Record # (IEN) of the document in the TIU
DOCUMENT FILE (#8925).
|
TIUDT |
Input |
Optional parameter identifying the date on which the
determination of the default provider for the location in question is to be
made (e.g., a past visit date, etc.). Default in the event that no value is
passed will be TODAY.
|
|
$$CANDEL(TIUDA) |
This API is a Boolean function that evaluates a
request to delete a document and returns 1 or 0.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TIUDA |
Input |
Internal entry number of the document in TIU DOCUMENT
file (#8925). [REQUIRED]
|
$$CANDEL |
Output |
0 - Document may not be deleted
1 - Document may be deleted
|
|
DOCPARM(.TIUY,TIUDA,TIUTYP) |
Returns parameters for a document type.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TIUY |
Both |
Array passed in by reference, to return data from the
TIU DOCUMENT PARAMETERS file (#8925.95):
TIUY(0)=0-node of file entry
TIUY(5)=#^#^...^# where # is each entry in
the Users Requiring Cosignature
subfile (#8995.955)
|
TIUDA |
Input |
The optional variable is the internal entry number of
a record in the TIU DOCUMENT (#8925) file.
|
TIUTYP |
Input |
IEN of TIU DOCUMENT DEFINITION file (#8925.1)
|
|
SITEPARM(.TIUY) |
This entry point returns the TIU site parameters for
a user's division.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TIUY |
Both |
This variable is passed by reference and is returned
as follows:
TIUY = 0 node of TIU PARAMETERS file (#8925.99)
|
|