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

Package: Outpatient Pharmacy

Routine: PSOCMOP


Information

PSOCMOP ;BIR/HTW-Rx Order Entry Screen for CMOP ;6/28/07 7:35am

Source Information

Source file <PSOCMOP.m>

Entry Points

Name Comments DBIA/ICR reference
TOP ;
START ; Establish CMOP PPL
TEST
  • ICR #2476
    • Status: Active
    • Usage: Private
    LOOP
    RESET ;
    S ; Auto-Suspend CMOPS
    SUS ;
    LOCK
    ACT
    D1
    RXL
    SUS1 ;
    A
    UNMARK ;Entry point to unmark drug for CMOP dispense
    FILTRAN(RX,RFD) ; Test fill's CMOP tran status, return 1 if OK to send
    COMM(RXN,COMM) ;EP process problem message to g.cmop managers
    CMPRXTYP(SUSDA) ; given suspense record SUSDA returns RX CMOP TYPE C - CS, N -Non-CS
  • ICR #2476
    • Status: Active
    • Usage: Private
    NOW()
    PIECE(REC,DLM,VP) ; VP="Variable^Piece"
    ; Set Variable V = piece P of REC using delimiter DLM
    PUT(REC,DLM,VP) ; VP="Variable^Piece"
    ; pass by reference D PUT^PSOCMOP(.REC,DLM,VP)
    ; Set Variable V into piece P of REC using delimiter DLM
    KCMPX(SUS,VAL) ; Kill ^PS(52.5,"CMP",VAL index given SUS
    SCMPX(SUS,VAL) ; Set ^PS(52.5,"CMP",VAL index given SUS

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,RX_" REINSTATED -- "
    • Line Location: SUS+1
    Function Call: WRITE
    • Prompt: !!,"RX# ",$P(^PSRX(RXN,0),"^")_" SUSPENDED for CMOP Until "_LFD_"."
    • Line Location: LOCK+5

    FileMan Files Accessed Via FileMan Db Call

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