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

Package: Outpatient Pharmacy

Routine: PSOCPTRI


Information

PSOCPTRI ;BHAM ISC/CPM,RTR - SUPPORT FOR CHAMPUS RX BILLING ;14-AUG-96

Source Information

Source file <PSOCPTRI.m>

Entry Points

Name Comments DBIA/ICR reference
TRANS(ORIG,REF,PSOV) ; Extract Rx information for transmission to FI
; Input: ORIG -- Pointer to the rx in file #52
; REF -- Pointer to the refill in file #52.1
; (This is 0 if we are billing the original fill)
; PSOV -- Passed by reference. This array will be used
; to return the output (described below).
; Output: PSOE -- This is normally 1, or -1 if the NDC cannot
; be determined.
  • ICR #2029
    • Status: Active
    • Usage: Private
    TRANSQ
    LABEL(RX,PSOLAP,PSOSITE,DUZ,PSOTRAMT) ; 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
  • ICR #2029
    • Status: Active
    • Usage: Private
    IO
    CHK(ORIG,REF) ; Should this rx be billed to the CHAMPUS Fiscal Intermediary?
    ; Input: ORIG -- Pointer to the rx in file #52
    ; REF -- Pointer to the refill in file #52.1, or
    ; 0 for the original fill
    ; Output: PSOB -- 0 => The rx should not be billed
    ; 1 => The rx may be billed.
  • ICR #2029
    • Status: Active
    • Usage: Private
    CHKQ
    DEV ;Get devices
    DEVA
    EXM ;Edit Champus Billing Exemption field
    EXMQ
    RESDIR ;Reset DIR just in case
    GDEA(IEN) ; Get DEA number

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Label Printer device must be selected!",!
    • Line Location: DEVA+0
    Function Call: WRITE
    • Prompt: !
    • Line Location: EXM+2
    Function Call: WRITE
    • Prompt: !
    • Line Location: EXM+3

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PSRX - [#52] Classic Fileman Calls
    ^PS(53 - [#53] Classic Fileman Calls
    Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call