Print Page as PDF
DBIA1273 ICR (1273)

DBIA1273    ICR (1273)

Name Value
NUMBER 1273
IA # 1273
FILE NUMBER 9000010
GLOBAL ROOT AUPNVSIT(
DATE CREATED 1995/08/03
CUSTODIAL PACKAGE PCE PATIENT CARE ENCOUNTER
CUSTODIAL ISC Salt Lake City
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PXRHS14
NAME DBIA1273
GENERAL DESCRIPTION
The Health Summary Package desires to set up an
integration agreement with the PCE Package to access the described API to the
Visit (#900010) file.

VISIT^PXRHS14(DFN,FROM,RECNO,OCCLIM,CATCODE,PSTAT)

INPUT:   DFN      - Pointer to PATIENT file (#2).
FROM     - Index entry from which to begin the list.
Passed by reference.
RECNO    - Record number. Passed by reference.
OCCLIM   - Maximum number of visits to return.
CATCODE  - Pattern Match which controls visit data that is
returned (Can include multiple codes).
A = AMBULATORY
H = HOSPITALIZATION
I = IN HOSPITAL
C = CHART REVIEW
T = TELECOMMUNICATIONS
N = NOT FOUGERY
O = OBSERVATION
E = EVENT (HISTORICAL)
R = NURSING HOME
D = DAILY HOSPITALIZATION DATA
X = ANCILLARY PACKAGE DAILY DATA
PSTAT    - Patient Status.
1         = Inpatient
0 or NULL = Outpatient

OUTPUT:
Data fro0) file except for hosp. loc. abbr.
^TMP("PXV",$J,InvExDt,RecNo,0) = VISIT/ADMIT DATE&TIME [I;.01]
^ LOC. OF ENCOUNTER [E;.06] ^ SERVICE CATEGORY [E;.07]
^ CLINIC [E;.08] ^ WALK IN/APPT [E;.16]
^ EVALUATION AND MANAGEMENT CODE [E;.17]
^ HOSPITAL LOCATION [E;.22]

[] = [I(nternal)/E(xternal); Field #]
Subscripts:
InvExDt - Inverted Visit Date from "AA" x-ref
RecNo   - Record Number

NOTE:  Calling routine is required to delete ^TMP("PXV",$J). It can be deleted
between multiple calls to this entry point or after the calling routine makes
the last call depending on how the data needs to be accumulated.
GLOBAL REFERENCE
GLOBAL REFERENCE FIELD NUMBER
AUPNVSIT(0)
AUPNVSIT('AA',DFN,VISIT,REC #)
AUPNVSIT(REC #,0)
FIELD NUMBER ACCESS FIELD NAME
.01 Direct Global Read & w/Fileman VISIT/ADMIT DATE&TIME
.08 Direct Global Read & w/Fileman CLINIC
STATUS Active
DURATION Till Otherwise Agreed
ID PXRHS14
COMPONENT/ENTRY POINT VISIT(DFN,FROM,RECNO,OCCLIM,CATCODE,PSTAT)
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
HEALTH SUMMARY Salt Lake City
MAIL MESSAGE 15760036