Print Page as PDF
User Requires Cosignature ICR (5541)

User Requires Cosignature    ICR (5541)

Name Value
NUMBER 5541
IA # 5541
DATE CREATED 2010/06/28
CUSTODIAL PACKAGE TEXT INTEGRATION UTILITIES
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE TIUSRVA
NAME User Requires Cosignature
GENERAL DESCRIPTION
This agreement permits packages to determine whether
the author requires a cosignature for a document of a given title.
STATUS Active
KEYWORDS
  • require
  • cosignature
DURATION Till Otherwise Agreed
ID TIUSRVA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
GETTITLE(TIUY,TIUDA)
Given the IEN TIUDA in the TIU DOCUMENT FILE (8925)
of a document, this component gets the .01 field in 8925.  This corresponds to
the IEN in the TIU DOCUMENT DEFINITION file (8925.1) of the Title of the
document.
VARIABLES TYPE VARIABLES DESCRIPTION
TIUY Output
This variable is passed by reference. Upon exit, it
contains the .01 field in the TIU DOCUMENT FILE (8925) of the document.  This
corresponds to the IEN in file 8925.1 of the Title of the document.
TIUDA Input
This is the IEN in the TIU DOCUMENT FILE (8925) of a
document.
REQCOS(TIUY,TIUTYP,TIUDA,TIUSER,TIUDT)
This component evaluates whether or not a user
(generally the author) requires the cosignature of a supervisor/attending
physician.  The requirement is evaluated with respect to a given TIU document
or document Title.
VARIABLES TYPE VARIABLES DESCRIPTION
TIUY Output
This variable is passed by reference. Upon exit it
contains 0 indicating that the author (or user) does NOT require cosignature
for this document or 1 indicating that the author DOES require cosignature.
TIUTYP Input
This is the type, that is, Title IEN, in the TIU
DOCUMENT DEFINITION file (8925.1) of the document of interest.  It corresponds
to the NAME field (.01) in the TIU DOCUMENT FILE (8925) of the document.
Either TIUTYP or TIUDA is required.
TIUDA Input
This is the IEN in the TIU DOCUMENT FILE (8925) of
the document. Either TIUTYP OR TIUDA is required.
TIUSER Input
This is optional, containing the IEN in the NEW
PERSON file of the person being queried. If not sent, the current user (DUZ)
is assumed.
TIUDT Input
This is the (optional) date for which it is to be
determined whether or not TIUSER requires cosignature.  If TIUDT is not sent
and TIUDA is sent, TIUDT is assumed to be the REFERENCE DATE (field 1301) of
the document. Otherwise, it is assumed to be today.  The variable must be in
internal FILEMAN format and must include only the date, not the date/time.
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE SUBSCRIBING DETAILS
MENTAL HEALTH
ORDER ENTRY/RESULTS REPORTING
Added 6/11/20, effective with OR*3*519
DATE ACTIVATED 2011/02/15