$$EN(VAFENC,VAFDENC,VAFSTR,VAFNUM,VAFHLQ,VAFHLFS) |
Entry point to build PV1 segment for [Deleted]
Outpatient Encounter
NOTE: Data for the PV1 segment will be retrieved from either the Outpatient
Encounter file (#409.68) or Deleted Outpatient Encounter (#409.74) based on
the pointer parameter passed in.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
VAFENC |
Input |
Pointer to Outpatient Encounter file (#409.68)
|
VAFDENC |
Input |
Pointer to Deleted Outpatient Encounter file
(#409.74)
|
VAFSTR |
Input |
String of fields requested separated by commas
|
VAFNUM |
Input |
Value to use for Set ID (sequence #1). Defaults to
1.
|
VAFHLQ |
Input |
Optional HL7 null variable. (Default value is value
of HLQ)
|
VAFHLFS |
Input |
Optional HL7 field separator. (Default value is
value of HLFS)
|
Result of call |
Output |
String of data forming the PV1 segment
|
|
$$IN(DFN,VAFHDT,VAFSTR,IEN,PIVOT,SETID,.VAFDIAG) |
Entry point to build PV1 segment for inpatient
movement.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
Pointer to Patient file (#2)
|
VAFHDT |
Input |
Date/Time of movement
|
VAFSTR |
Input |
String of fields requested seperated by commas
|
IEN |
Input |
Pointer to Patient Movement file (#405). Optional -
used for discharge movements since VADPT doesn't return enough information if
only date/time (VAFHDT) is passed.
|
ALTVISID |
Input |
Value to use for Alternate Visit ID (sequence 50).
Optional.
|
SETID |
Input |
Value to use for Set ID (sequence #1). Defaults to
1.
|
VAFDIAG |
Output |
Inpatient diagnosis returned in this variable.
|
Result of call |
Output |
String of data forming the PV1 segment
|
|
$$OUT(DFN,EVT,EVDTS,VPTR,STRP,NUMP) |
Entry point to build PV1 segment for patient
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
DFN |
Input |
Pointer to Patient file (#2)
|
EVT |
Input |
Pivot number to build segment for. Value comes from
the Pivot Number field (#.02) of ADT/HL7 Pivot file (#391.71). If passed,
this value will also be used as the Alternate Visit ID (sequence #50).
|
EVDTS |
Input |
Event date/time in FileMan format. Only used if
input parameter EVT is not passed/valid.
|
VPTR |
Input |
Variable pointer (FileMan format) to Patient file
(#2), Patient Movement file (#405), or Outpatient Encounter file (#409.68).
Only used if input parameter EVT is not passed/valid.
|
STRP |
Input |
String of fields requested seperated by commas. If
value is "A" or null then all supported fields are returned.
|
NUMP |
Input |
Value to use for Set ID (sequence #1). Defaults to
1.
|
|