DFN |
Input |
IEN of Patient from file 2 or file 161
|
VAIP(D) |
Input |
VAIP("D") needs to be set to "L"
|
VAX(DAT) |
Output |
Date automatically set to NOW
|
X |
Output |
|
DGPMCD |
Output |
Date and time of last movement (FM)
|
DGPMVI |
Output |
Array showing details of last inpatient movement.
DGPMVI(1)=IEN of last pt movement from file #405 DGPMVI(2)=(#.02) TRANSACTION
[2P:405.3] DGPMVI(3)=Date of last movement in format "FM^External date@Time"
DGPMVI(4)=(#.18) MAS MOVEMENT TYPE [18P:405.2] DGPMVI(5)=(#.06) WARD LOCATION
[6P:42] DGPMVI(6)=(#.07) ROOM-BED [7P:405.4] DGPMVI(13)=(#.14)
ADMISSION/CHECK-IN MOVEMENT [14P:405] DGPMVI(13,1)=Details about the
Admission/check-in movement DGPMVI(17)=(#.17) DISCHARGE/CHECK-OUT MOVEMENT
[17P:405]
|