Print Page as PDF
TIU EXTRACT SELECTED FIELDS BY CLASS ICR (3519)

TIU EXTRACT SELECTED FIELDS BY CLASS    ICR (3519)

Name Value
NUMBER 3519
IA # 3519
DATE CREATED 2002/02/11
CUSTODIAL PACKAGE TEXT INTEGRATION UTILITIES
CUSTODIAL ISC Salt Lake City
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE TIULAFC
NAME TIU EXTRACT SELECTED FIELDS BY CLASS
GENERAL DESCRIPTION
Extraction of selected fields from TIU by Document
Class.
STATUS Active
KEYWORDS
  • TIU
  • GMTS
  • GMTSCPB
DURATION Till Otherwise Agreed
ID TIULAFC
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
MAIN(DFN,DOC,TIME1,TIME2,OCCLIM,TEXT,.FLDS,IDX)
This entry point is used to extract TIU documents by
document Reference Date.  It differs from MAIN^TIULAPIC in that the fields
required may be passed in by reference and the resulting global array may be
indexed by a field other that the Reference Date.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
The IEN of the PATIENT file #2 (required)
DOC Input
TIU document class, IEN of the TIU DOCUMENT
DEFINITION file #8925.1 (required)
TIME1 Input
The beginning date for a range of dates to extract
TIU documents (optional, default 6666666)
TIME2 Input
The ending date for a range of dates to extract TIU
documents (optional, default 9999999)
OCCLIM Input
A maxixum limit of occurrences of the type of
document to extract (optional, default 999)
TEXT Input
Boolean flag (1/0) to include or not to include
document text with the extraction (required)
.FLDS Input
An array of fields to extract from the TIU DOCUMENT
file #8925 and passed by reference (required) Format:  FLD(<field #>)=""
IDX Input
This is a field number from the TIU DOCUMENT file
#8925 to use to create an index in the ^TMP global (optional).  This field
must also be included in FLDS() array.  Creates the following index in the
^TMP global:

^TMP("TIU",$J,"IDX",<IDX field data>,<inverse date>,<TIU IEN>)

This TMP index can be used to display the data in an order other than
'REFERENCE DATE'
VISIT(DFN,DOC,TIME1,TIME2,LIM,TEXT,.FLDS,IDX)
This entry point is used to extract TIU documents by
document Visit Date.  It differs from VISIT^TIULAPIC in that the fields
required may be passed in by reference and the resulting global array may be
indexed by a field other that the Visit Date.
VARIABLES TYPE VARIABLES DESCRIPTION
DFN Input
The IEN of the PATIENT file #2 (required)
DOC Input
TIU document class, IEN of the TIU DOCUMENT
DEFINITION file #8925.1 (required)
TIME1 Input
The beginning date for a range of dates to extract
TIU documents (optional, default 6666666)
TIME2 Input
The ending date for a range of dates to extract TIU
documents (optional, default 9999999)
OCCLIM Input
A maxixum limit of occurrences of the type of
document to extract (optional, default 999)
TEXT Input
Boolean flag (1/0) to include or not to include
document text with the extraction (required)
.FLDS Input
An array of fields to extract from the TIU DOCUMENT
file #8925 and passed by reference (required) Format:  FLD(<field #>)=""
IDX Input
This is a field number from the TIU DOCUMENT file
#8925 to use to create an index in the ^TMP global (optional).  This field
must also be included in FLDS() array.  Creates the following index in the
^TMP global:

^TMP("TIU",$J,"IDX",<IDX field data>,<inverse date>,<TIU IEN>)

This TMP index can be used to display the data in an order other than 'VISIT
DATE'
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC SUBSCRIBING DETAILS
HEALTH SUMMARY Salt Lake City
Health Summary will used this API (in leiu of TIUAPIC)
when only a few fields are desired during data extraction to help speed up
extract/display times.