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 |  Interaction Calls |  Used in HL7 Interface |  FileMan Files Accessed Via FileMan Db Call  | All
Print Page as PDF
Routine: PSORWRAP

Package: Outpatient Pharmacy

Routine: PSORWRAP


Information

PSORWRAP ;AITC/BWF - Remote RX API wrapper ;12/12/16 3:21pm

Source Information

Source file <PSORWRAP.m>

Entry Points

Name Comments DBIA/ICR reference
PROCESS ;
BLDACK(DAT,DFN,TYPE,RX0,RX2,RXSTA,RPROV,SIG,RREF0,RPAR0,ROR1,RX3) ;
LABEL(RX,PSOLAP,PSOSITE,DUZ,PSOTRAMT,FNAME) ; Print the label.
; Input: RX -- Pointer to the prescription in file #52
; PSOLAP -- Label printer
; PSOSITE -- Pointer to the Pharmacy in file #59
; DUZ -- Pointer to the use in file #200
; PSOTRAMT -- Amount to be paid
IO
LOGDATA(HLDAT,TYPE,LOCDRUG,LBLGBL,PSOIEN,PSORFIEN,PSOPFIEN) ;
RRXLBL ;Remote RX Label print
FQDN(SITE,IEN4) ; get Fully Qualified Domain Name

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: LOGDATA+62
Function Call: WRITE
  • Prompt: !!?5,"Problems queuing label!"
  • Line Location: LOGDATA+85
Function Call: WRITE
  • Prompt: !!?5,"Label queued!"
  • Line Location: LOGDATA+86

Used in HL7 Interface

HL7 Protocol Name Call Tags
PSO REMOTE RX RDS-O13 ESUBS PROCESS

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^DIC(4 - [#4] FIND1^DIC
^SC - [#44] GET1^DIQ
^DIC(5 - [#5] GET1^DIQ
^PSDRUG - [#50] GET1^DIQ
^PSRX - [#52] GET1^DIQ
^PSRXR(52.09 - [#52.09] WP^DIE
^PS(53 - [#53] GET1^DIQ
^PS(55 - [#55] GET1^DIQ
^PS(59 - [#59] GET1^DIQ
^HLCS(870 - [#870] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  Used in HL7 Interface |  FileMan Files Accessed Via FileMan Db Call  | All