GENERAL DESCRIPTION |
The PDX application is granted permission to use the
function call $$GET^GMTSPDX(TRAN,DFN,SEGPTR,ROOT,GMTSLCNT,GMTSDLM,GMTSNDM) in
order to extrqct Health Summary Components. Input:
TRAN - Pointer to the VAQ - TRANSACTION file. If passed, the
patient referenced in the transaction will be used when
extracting the Health Summary Component.
DFN - Pointer to the PATIENT file. If TRAN is not passed, the
patient referenced by this pointer will be used when
extracting the Health Summary Component.
SEGPTR - Pointer to the VAQ - DATA SEGMENT file. This is the
PDX Data Segment being extracted.
ROOT - Root for the output extraction array (full global reference)
GMTSLCNT - Offset in ROOT to begin placing information into
(defaults to 0)
GMTSDLM - Time limit to use for extraction (if applicable)
GMTSNDM - Occurrence limit to use for extraction (if applicable) Output:
A^B - Health Summary Component successfully extracted.
A - Total number of lines inserted into ROOT
B - Last line number inserted into ROOT
-1^Err - Error occurred while extracting Health Summary Component.
Err - Printable error text (reason for failure) Notes:
a) Currently, output begins with GMTSLCNT+1
b) If TRAN is passed
The patient pointer of the transaction will be used
Encryption will be based on the transaction
If DFN is passed
Encryption will be based on the site parameter
c) Use of TRAN takes precedence over DFN. If TRAN>0 the extraction
will be based on the patient contained in the transaction.
|