Print Page as PDF
APIs in TIUSRVP1 ICR (4175)

APIs in TIUSRVP1    ICR (4175)

Name Value
NUMBER 4175
IA # 4175
DATE CREATED 2003/08/04
CUSTODIAL PACKAGE TEXT INTEGRATION UTILITIES
CUSTODIAL ISC Salt Lake City
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE TIUSRVP1
NAME APIs in TIUSRVP1
GENERAL DESCRIPTION
This IA documents MUMPS-to-MUMPS calls to the routine
TIUSRVP1, some of which are also documented as RPC-type agreements.
STATUS Active
DURATION Till Otherwise Agreed
ID TIUSRVP1
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
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)
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
CARE MANAGEMENT Salt Lake City
SURGERY Birmingham