PSBVDLU3 ;BIRMINGHAM/TEJ-BCMA VDL UTILITIES 3 ;5/1/13 1:13pm
Source file <PSBVDLU3.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| IVPTAB(PSBORTYP,PSBIVTYP,PSBINTSY,PSBCHMTY,PSBPUSH) | ||
| SHOVDL(DFN,BDATE,OTDATE,PSBTAB) | ;
 | 
|
| FNDACTV(RESULTS,PARAMS) | ;   Utility to check and order for the latest " ? (parameter #3) " order activities per patient (parameter #1)
 ; #parameter= # "^"piece ; #1 DFN - Patient's IEN e.g. 1234 (required) ; #2 Order Number_Order Type e.g. "1V" "" = all orders ; #3 Search for Activity e.g "" = *unknown* activity ; #4 Search "back"time(hours) e.g. 12 "" = search back 3 admins ; NOTE: ="FREQ" This Function will use order's frequency. ; 1. If the order is a PRN, On Call or One-Time ; the look back a default of 72 hours. ; 2. if the order is a Continuous order key off ; of the frequency as follows. ; a.) if the frequency is <24 hours use the ; default of 72 hours. ; b.) if the frequency is >= 24 hour, look back ; 3.5 times the frequency ; NOTE: ["X#" This Function will search back # of admins.  | 
|
| SCANFAIL(RESULTS,PSBPARAM) | ;  TEJ 05/12/2006  BCMA-Managing Scanning Failures (MSF)
 ; Document Unable to Scan Event ; Parameters: ; Input (via GUI):  | 
|
| FILESF | ; File event.
 | 
|
| CLEANMSF | ;
 ; Clean-up  | 
|
| SCANCNT(PSBTYP) | ;
 ; Routine to count total scans (NO MAIL) ; Input: PSBTYP - "WSCN"/"MSCN"/"MMME"/"MKEY"/"WKEY"  | 
| RPC Name | Call Tags | 
|---|---|
| PSB UTL XSTATUS SRCH | FNDACTV | 
| PSB MAN SCAN FAILURE | SCANFAIL | 
| FileNo | Call Tags | 
|---|---|
| ^DPT - [#2] | GET1^DIQ | 
| ^VA(200 - [#200] | GET1^DIQ | 
| ^PSB(53.77 - [#53.77] | Classic Fileman Calls | 
| ^PSB(53.79 - [#53.79] | GET1^DIQ |