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: DVBAB1

Package: Automated Medical Information Exchange

Routine: DVBAB1


Information

DVBAB1 ;ALB/SPH - CAPRI UTILITIES ; MAY 27, 2022@11:31am

Source Information

Source file <DVBAB1.m>

Entry Points

Name Comments DBIA/ICR reference
VERSION(ZMSG,DVBGUIV) ;
;
; --rpc: DVBAB VERSION
;
; Must have a letter at the end of the Version for Delphi compatibility.
; 1st piece is version description
; 2nd piece can be YESOLD or NOOLD
; YESOLD --> Allow old GUI to run with new KID
; NOOLD --> Do not allow old GUI to run with newer version
REQUESTS(Y,TYPE) ;
; TYPE is the internal value of field 17 in file 396.3
; This relates to which status of request should be returned
TEAMPTS(DVBORY,TEAM,TMPFLAG) ; RETURN LIST OF PATIENTS IN A TEAM
; If TMPFLAG passed and = TRUE, code expects a "^TMP(xxx"
; global root string passed in ORY, and builds the returned
; list in that global instead of to a memory array.
DIVISION(Y) ; Returns Name for an Institution
DT(Y,X1,X2) ; Returns date X1 minus X2 days
; change the '00:00' that could be passed so Fileman doesn't reject
DTTM(Y) ;
CHKCRED(Y) ;KLB
PTINQ(REF,DFN) ; Return formatted pt inquiry report
TEMPLATE(Y) ; Returns list of CAPRI exam templates
LABLIST(Y) ; Returns list of LAB TEST NAMES
INSTLIST(Y) ; Returns full list of Institutions
INCEXAM(ZMSG) ;Increased exam # in file and passes back the # to user
MSG(ERR,DUZ,XMSUB,XMTEXT,MGN,ID) ;Generate mail message;KLB
; --rpc: DVBAB SEND MSG
FINDEXAM(ZMSG,ZIEN) ;Returns list of exams in 396.4 that are linked to ZIEN in 396.3
SENDMSG ;SET UP TO SEND EMAIL/NOTIFICATION TO REQUESTOR OF 2507
CNCLMSG ;SEND CANCEL MESSAGE TO REQUESTOR OF THE 2507 EXAM
RDYMSG ;SEND EXAM COMPLETE MESSAGE TO REQUESTOR OF 2507

Used in RPC

RPC Name Call Tags
DVBAB CHECK CREDENTIALS CHKCRED
DVBAB FIND EXAMS FINDEXAM
DVBAB SEND MSG MSG
DVBAB REPORT LISTS LIST
DVBAB PTINQ PTINQ
DVBAB INCREASE EXAM COUNT INCEXAM
DVBAB HEALTH SUMMARY TEXT RPT
DVBAB INST LIST INSTLIST
DVBAB DATETIME DTTM
DVBAB LABLIST LABLIST
DVBAB VERSION VERSION
DVBAB DIVISION DIVISION
DVBAB TEAM PATIENTS TEAMPTS
DVBAB TEMPLATE LIST TEMPLATE

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^XMB(3.8 - [#3.8] Classic Fileman Calls
^DIC(4 - [#4] GETS^DIQ
^DIC(5 - [#5] GETS^DIQ
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call