Print Page as PDF
DBIA1889-G ICR (1895)

DBIA1889-G    ICR (1895)

Name Value
NUMBER 1895
IA # 1895
DATE CREATED 2004/03/02
CUSTODIAL PACKAGE PCE PATIENT CARE ENCOUNTER
CUSTODIAL ISC Albany
USAGE Controlled Subscription
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PXAPI
NAME DBIA1889-G
ORIGINAL NUMBER 1889
GENERAL DESCRIPTION
$$VST2APPT^PXAPI(VISIT)

This function tells if Visit is related to an appointment. Or if it is a
standalone visit (i.e. is not related to an appointment).

Parameter:
VISIT   ien to a Visit file (#9000010) entry

Returned value:
1       if the visit is related to an appointment.
0       if the visit is NOT related to an appointment.
-1       if the visit is not a valued pointer.

=======================================================================

$$APPT2VST^PXAPI(PATIENT,DATETIME,HOSPLOC)

The function returns the visit that is related to an appointment.  Must be
able to resolve the Patient, Date/Time and Clinic to an appointment entry in
the Patient file.

Parameters:
PATIENT DFN of a patient in the Patient file (#2) and the
Patient/IHS file (#9000001)
DATETIME  The date and time of the appointment
HOSPLOC   The Clinic of the appointment, pointer to Hospital
Location file (#44)

Returned value:
>0      ien of visit that relates to the apppointment
0      if there is no appointment or the appointment does
not point to a visit.
STATUS Active
DURATION Next Version
ID PXAPI
COMPONENT/ENTRY POINT
  • APPT2VST
  • VST2APPT
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
LAB SERVICE Dallas
TEXT INTEGRATION UTILITIES Salt Lake City
ORDER ENTRY/RESULTS REPORTING
NATIONAL HEALTH INFO NETWORK
VA POINT OF SERVICE (KIOSKS)
GOOD ONLY FOR VERSION 1.0