GENERAL DESCRIPTION |
The Health Summary Package desires to set up an
integration agreement with the PCE Package to call the entry point
EXAM^PXRHS05 to retrieve Exam data.Input data will be done via parameter
passing and output data will be placed in the ^TMP global in the specified
format that is described in this agreement.
Entry point: EXAM(DFN,ENDDT,BEGDT,OCCLIM)
INPUT : DFN - Pointer to PATIENT file (#2)
ENDDT - Ending date/time in internal FileMan format
- Defaults to today's date at 11:59 pm
BEGDT - Beginning date/time in internal FileMan format
- Defaults to one year prior to today's date
OCCLIM - Maximum # of each type of exam returned OUTPUT :
Data from V EXAM (9000010.13) file
^TMP("PXE,$J,EXAM,InvDt,IFN,0) = EXAM [E;.01]
^ EVENT DATE/TIME or VISIT/ADMIT DATE&TIME [I;1201 or .03]
^ RESULTS CODE [I;.04] ^ RESULTS [E;.04]
^ ORDERING PROVIDER [E;1202] ^ CLINIC [3;1203]
^ ENCOUNTER PROVIDER [E;1204] ^
^TMP("PXE",$J,EXAM,InvDt,IFN,1) = HOSPITAL LOCATION [E;1205]
^ HOSP. LOC. ABBREVIATION [E;44;1]
^ LOC OF ENCOUNTER [E;9000010;.06] ^ OUTSIDE LOC [E;9000010;2101]
^TMP("PXE",$J,EXAM,InvDt,IFN,"S") = DATA SOURCE [E;80102]
[] = [I(nternal)/E(xternal); Optional file #; Record #]
Subscripts:
EXAM - EXAM name
InvDt - Inverse FileMan date of DATE OF event or visit
IFN - Internal Record #
|