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 HL7 Interface |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSJPAD7I

Package: Inpatient Medications

Routine: PSJPAD7I


Information

PSJPAD7I ;BIR/JCH-HL7 RECEIVER FOR OMH PADE POCKET ACTIVITY ;9/3/15 1:34 PM

Source Information

Source file <PSJPAD7I.m>

Entry Points

Name Comments DBIA/ICR reference
OMS(PSJMSH,PSJSEG) ;Process OMS^O05 messages from the PSJ PADE OMS_O05 SUB subscriber protocol
VALIDMSG(PSJOMS,XMT,PSJERR)
FILETRAN(PSJOMS) ; File into PADE INBOUND TRANSACTION file
; Input - PSJOMS() - All input into PADE INBOUND TRANSACTIONS (#58.6) fields
SETPAT(PSJOMS) ; Set patient data
DWO(PSJOMS) ; Send Dispensed Without Order (DWO) Alert
NOPTMSG(PSJOMS)
GETDIV(PSJOMS) ; Get Division from DISPENSING CABINET file (#58.63)
PATRANS(PSJOMS) ; Return flag indicating whether or not transaction type REQUIRES PID and PV1 segments
DRGXREF(DA,PSJOMS) ; Return Drug file (#50) IEN, if present in PSJOMS("DRGITM"). If no Drug IEN, return 0.
; Called from 'AC' cross reference in PADE INBOUND TRANSACTION (#58.6) file
GETPDMGR(XMY)
PTRNSTYP(TTYPE,POCKET) ; Return 1 if TTYPE is a patient transaction type, return zero if TTYPE is NOT patient transaction type

Used in HL7 Interface

HL7 Protocol Name Call Tags
PSJ PADE OMS-O05 SUB OMS
PSJ PADE OMS-O05 SUB 2.3 OMS

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(58.601 - [#58.601] FIND1^DIC
^PS(58.63 - [#58.63] FIND1^DIC,  GETS^DIQ
Info |  Source |  Entry Points |  Used in HL7 Interface |  FileMan Files Accessed Via FileMan Db Call