Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSBMLLKU

Package: Barcode Medication Administration

Routine: PSBMLLKU


Information

PSBMLLKU ;BIRMINGHAM/TEJ - BCMA RPC LOOKUP UTLILITIES ;03/06/16 3:06pm

Source Information

Source file <PSBMLLKU.m>

Entry Points

Name Comments DBIA/ICR reference
RPC(RESULTS,PSBREC) ; Remote Procedure Call Entry Point.
ADMLKUP(RESULTS,PSBREC) ;
; Lookup ADMinistrations per DFN and search DATE
; input - PSBREC(1) DFN
; PSBREC(2) Search DATE
CHKKEY(PSBIENX) ;
PTLKUP(RESULTS,PSBREC) ; Patient lookup handled separately for security
; input - PSBREC (array) User entered patient lookup data
PTREC(DFN) ;
; Extrinsic to return a Pt Rec in standard list format
SELECTAD(RESULTS,PSBREC) ; Select Administration
SELSTTUS(RESULTS) ;
; Provide the SELectable STaTUS
KILLAADT ;
; Here because there is an errant index entry via version 1.0/2.0
; Cleansing!
PAD(VAL) ; Return VAL with leading zeroes padded to 6 characters

Used in RPC

RPC Name Call Tags
PSB MED LOG LOOKUP RPC

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] FIND^DIC,  GET1^DIQ
^NURSF(211.4 - [#211.4] GET1^DIQ
^DIC(42 - [#42] GET1^DIQ
^PSDRUG - [#50] GET1^DIQ
^PS(52.6 - [#52.6] GET1^DIQ
^PS(52.7 - [#52.7] GET1^DIQ
^PSB(53.79 - [#53.79] GET1^DIQ
^AUTTLOC - [#9999999.06] GET1^DIQ
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call