| $$PNAME(DA) |
Returns the Display Name of a document class.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DA |
Input |
Internal entry number of document.
|
|
$$ISADDNDM(IEN) |
Returns whether a TIU DOCUMENT entry (#8925) is an
addendum or not.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
IEN |
Input |
IEN of TIU DOCUMENT file (#8925).
|
RESULT |
Output |
RESULT=$$ISADDNDM(IEN) where RESULT is 1 if the
document is an addendum and a 0 otherwise.
|
|
$$PTNAME(DFN) |
Returns patient name.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
Internal entry number of the PATIENT file (#2).
|
RESULT |
Output |
RESULT=$$PTNAME^TIULC1(DFN) where RESULT returns the
NAME field (.01) of the PATIENT file or "NAME UNKNOWN" if invalid DFN entered.
|
|
DOCPRM(TYPE,.PARAMS,IEN) |
Returns parameters for a document type.
|
| VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
TYPE |
Input |
IEN of TIU DOCUMENT DEFINITION file (#8925.1).
|
PARAMS |
Both |
Array passed in by reference, to return data from the
TIU DOCUMENT PARAMETERS file (#8925.95):
PARAMS(0)=0-node of file entry
PARAMS(5)=#^#^...^# where # is each entry in the Users Requiring Cosignature
subfile (#8995.955)
|
IEN |
Input |
IEN of TIU DOCUMENT file (#8925); optional, used to
get document type from parent document, if IEN is an addendum.
|
|