INTERIM(.ROOT,DFN,END,START) |
Returns data for interim report to be displayed in
CPRS GUI. The following shows the output beginning with the line counter and
closing paren. The root is TMP("LR7OGX",$J,"OUTPUT",COUNTER):
(NOTE: global root was left off display to have it display appropriately)
---- MICROBIOLOGY ---- Accession: MICRO 99 6
Received: Oct 28, 1999 13:03 Collection sample: SPUTUM
Collection date: Oct 28, 1999 13:03 Provider: ANDERSON,CURTIS
Test(s) ordered: GRAM STAIN
CULTURE & SUSCEPTIBILITY
AFB SMEAR
==========================================================================
Provider : ANDERSON,CURTIS
Specimen: SERUM. CH 1026 1
10/26/1999 15:09
Test name Result units Ref. range
GLUCOSE 500 H* mg/dL 60 - 123
PROTEIN,TOTAL 110 H g/dL 6.2 - 7.7
==========================================================================
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ROOT |
Output |
Global root in which data is returned. This variable
will be set to ^TMP("LR7OGX",$J,"OUTPUT")
|
DFN |
Input |
Internal entry number of the PATIENT file
|
START |
Input |
Start date range
|
END |
Input |
Ending date range
|
|
INTERIMG(.ROOT,DFN,END,DIRECTION,FORMAT) |
Returns interim report for CPRS GUI display. Allows
more paratemeters for the direction (forward/reverse) of the date range and
the format of the report. Ouptut is in TMP("LR7OGX",$J,"OUTPUT") as described
in INTERIM call within this DBIA.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ROOT |
Output |
Root of output data (set to
^TMP("LR7OGX",$J,"OUTPUT"))
|
DFN |
Input |
IEN of the PATIENT file (#2)
|
|
END |
End date for search
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DIRECTION |
Input |
Direction for search (1 goes forward, -1 goes in
reverse)
|
FORMAT |
Input |
OPTIONAL (default=1)
1 - standard format (as INTERIM returns) 2 - returns micro labs 3 - returns
chemistry labs only
|
|
INTERIMS(.ROOT,DFN,END,START,.TESTS) |
Returns interim report for CPRS GUI display. Allows
for results from specific tests to be returned. Output is in
TMP("LR7OGX",$J,"OUTPUT") as described in INTERIM call within this DBIA.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ROOT |
Output |
Root of output data (set to
^TMP("LR7OGX",$J,"OUTPUT"))
|
DFN |
Input |
IEN of PATIENT file (#2)
|
START |
Input |
Start date for search
|
END |
Input |
End date for search
|
TESTS |
Input |
Array of tests for which results should be returned.
Format of input should be TESTS(number)=IEN of file 60 (LABORATORY TEST file)
|
|
MICRO(.ROOT,DFN,END,START) |
Returns micros results in interim report format for
CPRS GUI display. Output is in TMP("LR7OGX",$J,"OUTPUT") as described in
INTERIM call within this DBIA.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ROOT |
Output |
Root of output data (set to
^TMP("LR7OGX",$J,"OUTPUT"))
|
DFN |
Input |
IEN of PATIENT file (#2)
|
END |
Input |
end date for search
|
START |
Input |
Start date for search
|
|