Print Page as PDF
DBIA2876 ICR (2876)

DBIA2876    ICR (2876)

Name Value
NUMBER 2876
IA # 2876
DATE CREATED 1999/07/21
CUSTODIAL PACKAGE TEXT INTEGRATION UTILITIES
CUSTODIAL ISC Salt Lake City
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE TIUSRVD
NAME DBIA2876
GENERAL DESCRIPTION
APIs for Document Definition File (#8925.1)

Revisions: 9/13/23: Component $$BOIL^TIUSRVD added for use by OE/RR
STATUS Active
KEYWORDS BOIL
DURATION Till Otherwise Agreed
ID TIUSRVD
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
BLRPLT
The procedure BLRPLT^TIUSRVD may be called with the
following parameters, to resolve any TIU OBJECTS embedded in boilerplate text
(i.e., pre-defined word-processing forms), regardless of the location of that
text in DHCP:

D BLRPLT^TIUSRVD(.TIUY,TITLE,DFN,VSTR,ROOT)
VARIABLES TYPE VARIABLES DESCRIPTION
TIUY Output
TIUY is passed by reference, and is returned as the
name of the array in which the results are available (i.e.,
^TMP("TIUBOIL",$J)).
TITLE Input
This is the OPTIONAL pointer to the TIU DOCUMENT
DEFINITION file (#8925.1) where the boilerplate text is defined for
boilerplated TITLES in TIU.  Applications which define their boilerplates
outside of the TIU DOCUMENT DEFINITION File should pass this as a NULL string.

DFN Input
This is the pointer to the patient in the PATIENT
FILE (#2).
VSTR Input
This is the VISIT STRING, which together with DFN
defines the patient's encounter in terms of place and time. It is formatted as
follows:

<Hospital Location>;<Visit Date/Time>;<Service Category>
ROOT Input
This is the closed root reference to the array where
the boilerplate to be resolved is to be found. It may be either an M global or
local variable name (glvn).  Examples might have the format:

ROOT="^ORD(101.41,1263,6,4,2)"

in the event that an Order Dialog entry #1263 included boilerplate text
defined in its TEXT Field, or

ROOT="BPTEXT(""DATA"")"

in the event that a local array contained the data to be resolved.
CNSLCLAS
Gets the IEN for entry CLINICAL PROCEDURES in the TIU
Document Definition file (#8925.1)
VARIABLES TYPE VARIABLES DESCRIPTION
Y Both
Returns either the Consults class IEN in the TIU
Document file (#8925.1) or 0.
SURGCLAS(Y,CLNAME)

Gets the record number of the class identified by the CLNAME
parameter in the TIU DOCUMENT DEFINITION file (#8925.1).
VARIABLES TYPE VARIABLES DESCRIPTION
Y Both
Returns either the record number of the class
identified by the CLNAME parameter in the TIU DOCUMENT DEFINITION file
(#8925.1), or 0.
CLNAME Input
CLNAME = "SURGICAL REPORTS" or "PROCEDURE REPORTS
(NON-O.R.)"
LONGLIST(Y,CLASS,FROM,DIR,IDNOTE)
Gets the active titles which the current user is
authorized to enter notes under, for a particular class in the TIU DOCUMENT
DEFINITION file (#8925.1).
VARIABLES TYPE VARIABLES DESCRIPTION
Y Output
This is an array of the 44 titles nearest to the
title name or text indicated in FROM, in the direction DIR.  Array entries
have form Y(n)=DA^TitleName
CLASS Input
This is a pointer to the CLASS in the Document
Definition File (#8925.1) from which the application intends to allow
selection of TITLES.
FROM Input

This is the name of the reference title from which the longlist is scrolling
(or the text to $ORDER from).
DIR Input

This is the direction in which the longlist is scrolling from the
reference title, i.e., the $ORDER direction.
IDNOTE Input
This BOOLEAN Flag should be passed when the call is
being made to select a title for an Interdisciplinary Entry.
BOIL
$$BOIL is an extrinsic function that is used
internally by BLRPLT in TIUSRVD.
VARIABLES TYPE VARIABLES DESCRIPTION
LINE Output
This is the executed boilerplate text.
COUNT Input
COUNT does not appear to be in use
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
CONSULT/REQUEST TRACKING Salt Lake City
CLINICAL REMINDERS Salt Lake City
ORDER ENTRY/RESULTS REPORTING Salt Lake City
Revised on 9/13/23: CPRS Sustainment added
$$BOIL^TIUSRVD to this subscription for OE/RR, effective with patch OR*3.0*603
or OR*3*535, to make it SAC compliant with previous usage of $$BOIL^TIUSRVD.
IMAGING
CLINICAL PROCEDURES
ADDED 8/26/09
DATE ACTIVATED 2023/09/13