IVMUFNC2 ;ALB/SEK - INPATIENT/OUTPATIENT CALCULATIONS (CON'T) ; 24-NOV-93
Source file <IVMUFNC2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| EN(IVMQUERY) | ; Calculate number of outpatient days
 ; Input: IVMQUERY("OVIS") - the # of the QUERY this job has open for ; searching for patient's outpatient visits. If null, this QUERY has ; yet been opened. (pass by reference)  | 
|
| VALENC(IVME,IVME0) | ; Check for valid outpatient encounter
 ; Input: IVME = encounter ien ; IVME0 = 0-node of encounter (optional)  | 
|
| ENCL(IVMIBOE) | ; Return classification results for an encounter.
 ; Input: IVMIBOE -- Pointer to outpatient encounter in file #409.68 ; Output: ao^ir^sc^ec, where, for each piece, ; 1 - care was related to condition, and ; 0 (or null) - care not related to condition  | 
|
| END(DFN,IVMPMTD) | ; return end date for calculating inpatient/
 ; outpatient days. this date will be earliest of day before next means ; test and day before current date. ; Input: DFN -- pointer to patient in file #2 ; IVMPMTD -- previous means test date  |