Print Page as PDF
PSB MED LOG LOOKUP ICR (4657)

PSB MED LOG LOOKUP    ICR (4657)

Name Value
NUMBER 4657
IA # 4657
DATE CREATED 2005/05/02
CUSTODIAL PACKAGE BAR CODE MED ADMIN
USAGE Controlled Subscription
TYPE Remote Procedure
DBIC APPROVAL STATUS APPROVED
NAME PSB MED LOG LOOKUP
GENERAL DESCRIPTION
BCMA Medication Log Look Up Remote Procedures.

This routine is a conglomerate of  Medication Log lookup functionality per the
BCMA Graphical User Interface software.

Input:  PSBREC (array)
PSBREC (0)     determine  "lookup" function
"PTLKUP" (patient file (#2) lookup)
"ADMLKUP" (MedLog administration lookup)
"SELECTAD" (selected admin.)
(1)     values to use per lookup. (DFN per ADMLKUP)
value of selected item. (PSB IEN per SELECTAD)
(2)     search date per ADMLKUP

Output: RESULTS (array)
RESULTS(0)    number of lookup matches
(1)    error message or data per match/selection
(n)    data per subsequent match/selection.

"PTLKUP" results data format: RPC Call: PSB MED LOG LOOKUP RESULTS(0) = 1
RESULTS(1) = piece 1         Patient's DFN               ("-1" if
error/message) piece 2         Patient's Name piece 3         Sex piece 4
Date of Birth (FM format) piece 5         Social Security Number piece 6
"" piece 7         "" piece 8         "" piece 9         "" piece 10
Date Of Birth (displayable format) piece 11        Social Security Number
(displayable format)


"ADMLKUP" results data format: RESULTS(0)=Number of lines returned.

RESULTS(1)= piece 1         DFN of Patient piece 2         DATE of Activity
piece 3         Orderable Item_" "_Dosage Form piece 4         IV Unique ID
piece 5         Action Status piece 6         Schedule Type piece 7
Action Date/Time (FileMan) piece 8         Action By Initials piece 9
PRN Reason piece 10        PRN Effectiveness


"SELECTAD" results data format: RESULTS(0)=Number of lines returned.

RESULTS(1)= piece 1         PSBIEN of the administration selected for edit.
("-1" if error/m piece 2         DFN of Patient
piece 3         Patient Name piece 4         SSN piece 5         Medication
piece 6         BagID piece 7         AdminStat piece 8         "for possible
later use" piece 9         AdminD/T piece 10        InjctSt piece 11
"IV"/"PB"/"UD" piece 12        "for possible later use" piece 13        Order
Status piece 14        Schedul. Type piece 15        Order Number_U/V piece 16
Order has given patch or infusing IVbag - Flag

RESULTS(2)= piece 1         PRN Reason piece 2         PRN Effectiveness

RESULTS(3..n) [for each dd/add/sol] = piece 1         "DD"/"ADD"/"SOL" piece 2
drug IEN piece 3         drug Name piece 4         Units Ordered piece
5         Units Given piece 6         Units of Administration
STATUS Active
KEYWORDS
  • BCMA
  • PSB
SUBSCRIBING PACKAGE WIRELESS MEDICATION ADMIN