PXVWCCH ;ISP/LMT - ICE Cache Utilities ;Aug 23, 2021@11:28:52
Source file <PXVWCCH.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| STAT(DFN) | ;
 | 
|
| EXIST(DFN) | ;
 | 
|
| LOAD(DFN) | ;
 | 
|
| BLDNG(DFN) | ;Set flag that cache is in middle of building
 | 
|
| ISBLDNG(DFN) | ;
 | 
|
| CLRBLDNG(DFN) | ;
 | 
|
| SAVE(DFN,PXCREATEDT) | ;
 | 
|
| PURGE(DFN) | ;
 | 
|
| SUB(DFN) | ;
 | 
|
| UPDATE | ; Update cache for patients with upcoming appointments or admissions
 | 
|
| GETLIST(PXNOW) | ; get list of patients with upcoming appoitments or admissions
 | 
|
| GETAPPT(PXAPPTDT) | ; get upcoming appointments
 | 
|
| GETADM(PXADMDT) | ; get scheduled admissions
 | 
|
| GETINP | ; get current inpatients
 | 
|
| UPDPAT(PXRETURN,DFN) | ;Check, and if needed update, the cache for a given patient
 | 
|
| UPDPTTSK | ; Tasked job to update cache
 | 
|
| AGE(DFN) | ; Patient's age
 | 
|
| BDAY(DFN) | ; Patient's next birthday
 |