| 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
|
|