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

Package: Outpatient Pharmacy

Routine: PSOHLDS


Information

PSOHLDS ;BIR/PWC-HL7 V.2.4 AUTOMATED DISPENSE INTERFACE ;03/01/96 09:45

Source Information

Source file <PSOHLDS.m>

Entry Points

Name Comments DBIA/ICR reference
INIT ;initialize variables and build outgoing message
LOGMSG ;build status of message in log file (#52.51)
LOGBLD ;audit log file #52.51
UFILE
EXIT
ERRMSG
ACK ;process MSA received from the dispense machine (client)
EXT ;
ACK1 ;
ACK2
ALERT ;send alert to key holders
UDFILE ;updates from vendor
FACK1 ;
FACK2 ;
GETDEV ;get devices associated with dispensing printer
CHKCAT ;checks the ADD category to determine if and where the prescription should be routed.
STRAGE ;set HL7 entries in ^TMP global to be sent to the storage device.
MORSTG ;if more than one storage device is defined, add the others to the ^TMP global
ADDCHK(DEV) ;check ADD in file #52.53 and return status and the zero node
; 1 - valid or 0 - invalid
ALLADD ;get all active ADDs in #52.53
; OPNAM(dns)=dns name
ACLOG ;activity log (HL7 message transmitted to the interface)
RTE() ;get RX route

Used in HL7 Interface

HL7 Protocol Name Call Tags
PSO EXT SERVER ACK
PSO DISP CLIENT ACK

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(52.51 - [#52.51] Classic Fileman Calls,  GET1^DIQ
^PS(59 - [#59] GET1^DIQ
Info |  Source |  Entry Points |  Used in HL7 Interface |  FileMan Files Accessed Via FileMan Db Call