GENERAL DESCRIPTION |
The Health Summary Package desires to set up an
integration agreement with the PCE Package to call the entry point
MEAS^PXRHS09 to retrieve Measurement 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: MEAS(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 number of days for which data is returned
(If multiple visits on a given day, all data for
these visit will be returned)
Note: If event date is used, it may appear that too
many occurrences are retrieved but it is
based on visit date not event date. OUTPUT : Data
from V MEASUREMENT (9000010.01) file
^TMP("PXM",$J,TYPE,InvDt,IFN,0) = TYPE [E;.01]
^ MEASUREMENT TYPE DESCRIPTION [E;9999999;.02]
^ EVENT DATE/TIME or VISIT/ADMIT DATE&TIME [I;1201 or .03]
^ VALUE [E;.04] ^ ORDERING PROVIDER [E;1202]
^ CLINIC [3;1203] ^ ENCOUNTER PROVIDER [E;1204]
^TMP("PXM",$J,TYPE,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("PXM",$J,TYPE,InvDt,IFN,"S") = DATA SOURCE [E;80102]
[] = [I(nternal)/E(xternal); Optional file #; Record #]
Subscripts:
TYPE - Measurement Type
InvDt - Inverse FileMan date of DATE OF event or visit
IFN - Internal Record #
|