GENERAL DESCRIPTION |
The Health Summary Package desires to set up an
integration agreement with the PCE Package to call the entry point HF^PXRHS07
to retrieve Health Factor 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: HF(DFN,ENDDT,BEGDT,OCCLIM,ITEMS)
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
for each Health Factors item.
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
it is based on visit date not event date.
ITEMS - Optional array containing a selected list of HF
Categories. If not used will get all catergories of
health factors. OUTPUT :
Data from V HEALTH FACTORS (9000010.23) file
^TMP("PXF,$J,HFC,HF,InvDt,IFN,0) = Health Factor [E;.01]
^ EVENT DATE/TIME or VISIT/ADMIT DATE&TIME [I;1201 or .03]
^ SHORT NAME [E;9999999.64;.04] ^ LEVEL/SEVERITY [E;.04]
^ ORDERING PROVIDER [E;1202] ^ CLINIC [3;1203]
^ ENCOUNTER PROVIDER [E;1204]
^TMP("PXF",$J,HFC,HF,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("PXF",$J,HFC,HF,InvDt,IFN,"S") = DATA SOURCE [E;80102]
[] = [I(nternal)/E(xternal); Optional file #; Record #]
Subscripts:
HFC - Health Factor Category name
HF - Health Factor name
InvDt - Inverse FileMan date of DATE OF event or visit
IFN - Internal Record #
|