VSITSTAT ;ISL/PKR - Visit Tracking in/out patient Update Protocol for ADT ;04/14/2022
Source file <VSITSTAT.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| ADMISSION(ADMDATA,VAIP) | ;If there is an admission save the data.
 | 
|
| DISCHARGE(DISDATA,VAIP) | ;If there is a discharge save the data.
 | 
|
| EN | ;Main entry point, invoked by the DGPM MOVEMENT EVENTS protocol.
 | 
|
| ENQ | ;
 | 
|
| FINDADMVISIT(DFN,HLOC,ADMDT) | ;Given the DFN, hospital location, and 
 | 
|
| SCANUPD(DFN,BEGDT,ENDDT,INOUT) | ;Scan a date range of visits and update
 | 
|
| UPDADMVISIT(DFN,PRIOR,AFTER) | ;Update the VISIT/ADMIT DATE&TIME to the new 
 | 
|
| UPDSCAT(VISITIEN,INOUT) | ;Set the Service Category for in or outpatient.
 |